public class LOStream extends LogicalRelationalOperator
Modifier and Type | Class and Description |
---|---|
static class |
LOStream.CastState |
alias, lineNum, mCustomPartitioner, mPinnedOptions, requestedParallelism, schema
Constructor and Description |
---|
LOStream(LogicalPlan plan,
ExecutableManager exeManager,
StreamingCommand cmd,
LogicalSchema schema) |
Modifier and Type | Method and Description |
---|---|
void |
accept(PlanVisitor v)
Accept a visitor at this node in the graph.
|
LOStream.CastState |
getCastState() |
ExecutableManager |
getExecutableManager() |
LogicalSchema |
getSchema()
Get the schema for the output of this relational operator.
|
LogicalSchema |
getScriptSchema() |
StreamingCommand |
getStreamingCommand()
Get the StreamingCommand object associated
with this operator
|
boolean |
isCastAdjusted() |
boolean |
isEqual(Operator other)
This is like a shallow equals comparison.
|
void |
resetUid()
Erase all cached uid, regenerate uid when we regenerating schema.
|
void |
setCastState(LOStream.CastState state) |
checkEquality, fixDuplicateUids, getAlias, getCustomPartitioner, getLineNumber, getRequestedParallelism, isPinnedOption, neverUseForRealSetSchema, pinOption, resetSchema, setAlias, setCustomPartitioner, setRequestedParallelism, setSchema, toString
annotate, getAnnotation, getLocation, getName, getPlan, removeAnnotation, setLocation, setPlan
public LOStream(LogicalPlan plan, ExecutableManager exeManager, StreamingCommand cmd, LogicalSchema schema)
public StreamingCommand getStreamingCommand()
public ExecutableManager getExecutableManager()
public LogicalSchema getSchema() throws FrontendException
LogicalRelationalOperator
getSchema
in class LogicalRelationalOperator
FrontendException
public void accept(PlanVisitor v) throws FrontendException
Operator
accept
in class Operator
v
- Visitor to accept.FrontendException
public boolean isEqual(Operator other) throws FrontendException
Operator
isEqual
in class Operator
FrontendException
public void setCastState(LOStream.CastState state)
public LOStream.CastState getCastState()
public boolean isCastAdjusted()
public void resetUid()
LogicalRelationalOperator
resetUid
in class LogicalRelationalOperator
public LogicalSchema getScriptSchema()
Copyright © 2007-2012 The Apache Software Foundation