org.apache.pig.impl.logicalLayer
Class LOSort

java.lang.Object
  extended by org.apache.pig.impl.logicalLayer.LogicalOperator
      extended by org.apache.pig.impl.logicalLayer.LOSort
All Implemented Interfaces:
Serializable, ExecScopedLogicalOperator

public class LOSort
extends LogicalOperator

See Also:
Serialized Form

Field Summary
protected  EvalSpec spec
           
 
Fields inherited from class org.apache.pig.impl.logicalLayer.LogicalOperator
alias, AMENDABLE, FIXED, id, inputs, MONOTONE, opTable, requestedParallelism, schema, scope, UPDATABLE
 
Constructor Summary
LOSort(Map<OperatorKey,LogicalOperator> opTable, String scope, long id, OperatorKey input, EvalSpec sortSpec)
           
 
Method Summary
 String arguments()
           
 int getOutputType()
           
 EvalSpec getSortSpec()
           
 EvalSpec getSpec()
           
 String name()
           
 TupleSchema outputSchema()
           
 void visit(LOVisitor v)
          Visit all of the logical operators in a tree, starting with this one.
 
Methods inherited from class org.apache.pig.impl.logicalLayer.LogicalOperator
getAlias, getFuncs, getId, getInputs, getOperatorKey, getOpTable, getRequestedParallelism, getScope, setAlias, setRequestedParallelism, setSchema, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

spec

protected EvalSpec spec
Constructor Detail

LOSort

public LOSort(Map<OperatorKey,LogicalOperator> opTable,
              String scope,
              long id,
              OperatorKey input,
              EvalSpec sortSpec)
Method Detail

getSpec

public EvalSpec getSpec()

name

public String name()
Overrides:
name in class LogicalOperator

arguments

public String arguments()
Overrides:
arguments in class LogicalOperator

getOutputType

public int getOutputType()
Specified by:
getOutputType in class LogicalOperator

outputSchema

public TupleSchema outputSchema()
Specified by:
outputSchema in class LogicalOperator

getSortSpec

public EvalSpec getSortSpec()

visit

public void visit(LOVisitor v)
Description copied from class: LogicalOperator
Visit all of the logical operators in a tree, starting with this one.

Specified by:
visit in class LogicalOperator
Parameters:
v - LOVisitor to visit this logical plan with.


Copyright © ${year} The Apache Software Foundation