|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.pig.newplan.Operator
org.apache.pig.newplan.logical.relational.LogicalRelationalOperator
org.apache.pig.newplan.logical.relational.LOCogroup
public class LOCogroup
| Nested Class Summary | |
|---|---|
static class |
LOCogroup.GROUPTYPE
Enum for the type of group |
| Field Summary | |
|---|---|
static Integer |
OPTION_GROUPTYPE
static constant to refer to the option of selecting a group type |
| Fields inherited from class org.apache.pig.newplan.logical.relational.LogicalRelationalOperator |
|---|
alias, lineNum, mCustomPartitioner, mPinnedOptions, requestedParallelism, schema |
| Fields inherited from class org.apache.pig.newplan.Operator |
|---|
annotations, hashPrime, location, name, plan |
| Constructor Summary | |
|---|---|
LOCogroup(LogicalPlan plan)
Constructor for use in defining rule patterns |
|
LOCogroup(OperatorPlan plan,
MultiMap<Integer,LogicalExpressionPlan> expressionPlans,
boolean[] isInner)
|
|
LOCogroup(OperatorPlan plan,
MultiMap<Integer,LogicalExpressionPlan> expressionPlans,
LOCogroup.GROUPTYPE groupType,
boolean[] isInner)
|
|
| Method Summary | |
|---|---|
void |
accept(PlanVisitor v)
Accept a visitor at this node in the graph. |
MultiMap<Integer,LogicalExpressionPlan> |
getExpressionPlans()
|
Map<Integer,Long> |
getGeneratedInputUids()
Returns an Unmodifiable Map of Input Number to Uid |
LOCogroup.GROUPTYPE |
getGroupType()
|
boolean[] |
getInner()
|
List<Operator> |
getInputs(LogicalPlan plan)
|
LogicalSchema |
getSchema()
Get the schema for the output of this relational operator. |
boolean |
isEqual(Operator other)
This is like a shallow equals comparison. |
void |
resetGroupType()
|
void |
resetUid()
Erase all cached uid, regenerate uid when we regenerating schema. |
void |
setExpressionPlans(MultiMap<Integer,LogicalExpressionPlan> plans)
|
void |
setGroupType(LOCogroup.GROUPTYPE gt)
|
void |
setInnerFlags(boolean[] flags)
|
| Methods inherited from class org.apache.pig.newplan.logical.relational.LogicalRelationalOperator |
|---|
checkEquality, getAlias, getCustomPartitioner, getLineNumber, getRequestedParallelisam, isPinnedOption, neverUseForRealSetSchema, pinOption, resetSchema, setAlias, setCustomPartitioner, setRequestedParallelism, setSchema, toString |
| Methods inherited from class org.apache.pig.newplan.Operator |
|---|
annotate, getAnnotation, getLocation, getName, getPlan, removeAnnotation, setLocation, setPlan |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Integer OPTION_GROUPTYPE
| Constructor Detail |
|---|
public LOCogroup(LogicalPlan plan)
plan -
public LOCogroup(OperatorPlan plan,
MultiMap<Integer,LogicalExpressionPlan> expressionPlans,
boolean[] isInner)
public LOCogroup(OperatorPlan plan,
MultiMap<Integer,LogicalExpressionPlan> expressionPlans,
LOCogroup.GROUPTYPE groupType,
boolean[] isInner)
| Method Detail |
|---|
public LogicalSchema getSchema()
throws FrontendException
LogicalRelationalOperator
getSchema in class LogicalRelationalOperatorFrontendException
public void accept(PlanVisitor v)
throws FrontendException
Operator
accept in class Operatorv - Visitor to accept.
FrontendException
public boolean isEqual(Operator other)
throws FrontendException
Operator
isEqual in class OperatorFrontendExceptionpublic LOCogroup.GROUPTYPE getGroupType()
public void resetGroupType()
public Map<Integer,Long> getGeneratedInputUids()
public MultiMap<Integer,LogicalExpressionPlan> getExpressionPlans()
public void setExpressionPlans(MultiMap<Integer,LogicalExpressionPlan> plans)
public void setGroupType(LOCogroup.GROUPTYPE gt)
public void setInnerFlags(boolean[] flags)
public boolean[] getInner()
public void resetUid()
LogicalRelationalOperator
resetUid in class LogicalRelationalOperatorpublic List<Operator> getInputs(LogicalPlan plan)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||