public class LOGenerate extends LogicalRelationalOperator
alias, lineNum, mCustomPartitioner, mPinnedOptions, requestedParallelism, schema
Constructor and Description |
---|
LOGenerate(OperatorPlan plan) |
LOGenerate(OperatorPlan plan,
java.util.List<LogicalExpressionPlan> ps,
boolean[] flatten) |
Modifier and Type | Method and Description |
---|---|
void |
accept(PlanVisitor v)
Accept a visitor at this node in the graph.
|
java.util.List<LogicalSchema> |
getExpSchemas() |
boolean[] |
getFlattenFlags() |
java.util.List<LogicalExpressionPlan> |
getOutputPlans() |
java.util.List<LogicalSchema> |
getOutputPlanSchemas()
Get the output schema corresponding to each input expression plan
|
LogicalSchema |
getSchema()
Get the schema for the output of this relational operator.
|
java.util.List<LogicalSchema> |
getUidOnlySchemas() |
java.util.List<LogicalSchema> |
getUserDefinedSchema() |
boolean |
isEqual(Operator other)
This is like a shallow equals comparison.
|
void |
resetSchema()
Reset the schema to null so that the next time getSchema is called
the schema will be regenerated from scratch.
|
void |
resetUid()
Erase all cached uid, regenerate uid when we regenerating schema.
|
void |
setFlattenFlags(boolean[] flatten) |
void |
setOutputPlans(java.util.List<LogicalExpressionPlan> plans) |
void |
setOutputPlanSchemas(java.util.List<LogicalSchema> outputPlanSchemas) |
void |
setUidOnlySchemas(java.util.List<LogicalSchema> uidOnlySchemas) |
void |
setUserDefinedSchema(java.util.List<LogicalSchema> userDefinedSchema) |
java.lang.String |
toString() |
checkEquality, fixDuplicateUids, getAlias, getCustomPartitioner, getLineNumber, getRequestedParallelism, isPinnedOption, neverUseForRealSetSchema, pinOption, setAlias, setCustomPartitioner, setRequestedParallelism, setSchema
annotate, getAnnotation, getLocation, getName, getPlan, removeAnnotation, setLocation, setPlan
public LOGenerate(OperatorPlan plan, java.util.List<LogicalExpressionPlan> ps, boolean[] flatten)
public LOGenerate(OperatorPlan plan)
public void setOutputPlans(java.util.List<LogicalExpressionPlan> plans)
public LogicalSchema getSchema() throws FrontendException
LogicalRelationalOperator
getSchema
in class LogicalRelationalOperator
FrontendException
public java.util.List<LogicalExpressionPlan> getOutputPlans()
public boolean[] getFlattenFlags()
public void setFlattenFlags(boolean[] flatten)
public boolean isEqual(Operator other) throws FrontendException
Operator
isEqual
in class Operator
FrontendException
public void accept(PlanVisitor v) throws FrontendException
Operator
accept
in class Operator
v
- Visitor to accept.FrontendException
public java.lang.String toString()
toString
in class LogicalRelationalOperator
public java.util.List<LogicalSchema> getUserDefinedSchema()
public void setUserDefinedSchema(java.util.List<LogicalSchema> userDefinedSchema)
public java.util.List<LogicalSchema> getOutputPlanSchemas()
public void setOutputPlanSchemas(java.util.List<LogicalSchema> outputPlanSchemas)
public java.util.List<LogicalSchema> getUidOnlySchemas()
public void setUidOnlySchemas(java.util.List<LogicalSchema> uidOnlySchemas)
public void resetUid()
LogicalRelationalOperator
resetUid
in class LogicalRelationalOperator
public void resetSchema()
LogicalRelationalOperator
resetSchema
in class LogicalRelationalOperator
public java.util.List<LogicalSchema> getExpSchemas()
Copyright © 2007-2017 The Apache Software Foundation