org.apache.pig.impl.logicalLayer
Class LOCogroup

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

public class LOCogroup
extends LogicalOperator

See Also:
Serialized Form

Field Summary
protected  ArrayList<EvalSpec> specs
           
 
Fields inherited from class org.apache.pig.impl.logicalLayer.LogicalOperator
alias, AMENDABLE, FIXED, id, inputs, MONOTONE, opTable, requestedParallelism, schema, scope, UPDATABLE
 
Constructor Summary
LOCogroup(Map<OperatorKey,LogicalOperator> opTable, String scope, long id, List<OperatorKey> inputs, ArrayList<EvalSpec> specs)
           
 
Method Summary
 String arguments()
           
 List<String> getFuncs()
           
static Datum[] getGroupAndTuple(Datum d)
           
 int getOutputType()
           
 ArrayList<EvalSpec> getSpecs()
           
 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, 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

specs

protected ArrayList<EvalSpec> specs
Constructor Detail

LOCogroup

public LOCogroup(Map<OperatorKey,LogicalOperator> opTable,
                 String scope,
                 long id,
                 List<OperatorKey> inputs,
                 ArrayList<EvalSpec> specs)
Method Detail

name

public String name()
Overrides:
name in class LogicalOperator

arguments

public String arguments()
Overrides:
arguments in class LogicalOperator

getGroupAndTuple

public static Datum[] getGroupAndTuple(Datum d)

outputSchema

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

getOutputType

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

getFuncs

public List<String> getFuncs()
Overrides:
getFuncs in class LogicalOperator

getSpecs

public ArrayList<EvalSpec> getSpecs()

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