org.apache.pig.impl.logicalLayer
Class LOCogroup
java.lang.Object
org.apache.pig.impl.logicalLayer.LogicalOperator
org.apache.pig.impl.logicalLayer.LOCogroup
- All Implemented Interfaces:
- Serializable, ExecScopedLogicalOperator
public class LOCogroup
- extends LogicalOperator
- See Also:
- Serialized Form
Fields inherited from class org.apache.pig.impl.logicalLayer.LogicalOperator |
alias, AMENDABLE, FIXED, id, inputs, MONOTONE, opTable, requestedParallelism, schema, scope, UPDATABLE |
Methods inherited from class org.apache.pig.impl.logicalLayer.LogicalOperator |
getAlias, getId, getInputs, getOperatorKey, getOpTable, getRequestedParallelism, getScope, setAlias, setRequestedParallelism, setSchema, toString |
specs
protected ArrayList<EvalSpec> specs
LOCogroup
public LOCogroup(Map<OperatorKey,LogicalOperator> opTable,
String scope,
long id,
List<OperatorKey> inputs,
ArrayList<EvalSpec> specs)
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