public class POStream extends PhysicalOperator
PhysicalOperator.OriginalLocation| Modifier and Type | Field and Description |
|---|---|
protected boolean |
allInputFromPredecessorConsumed |
protected boolean |
allOutputFromBinaryProcessed |
protected BlockingQueue<Result> |
binaryInputQueue |
protected BlockingQueue<Result> |
binaryOutputQueue |
alias, illustrator, input, inputAttached, inputs, lineageTracer, mBagFactory, mTupleFactory, outputs, parentPlan, pigLogger, reporter, requestedParallelism, res, RESULT_EMPTY, RESULT_EOP, resultType| Constructor and Description |
|---|
POStream(OperatorKey k,
ExecutableManager executableManager,
StreamingCommand command,
Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
PhysicalOperator |
clone()
Make a copy of this operator.
|
void |
finish() |
BlockingQueue<Result> |
getBinaryInputQueue() |
BlockingQueue<Result> |
getBinaryOutputQueue() |
StreamingCommand |
getCommand()
Get the
StreamingCommand for this StreamSpec. |
boolean |
getInitialized() |
Result |
getNextHelper(Tuple t) |
Result |
getNextTuple() |
Properties |
getShipCacheProperties() |
Tuple |
illustratorMarkup(Object in,
Object out,
int eqClassIndex)
input tuple mark up to be illustrate-able
|
boolean |
isFetchable() |
String |
name() |
void |
setFetchable(boolean isFetchable) |
void |
setInitialized(boolean initialized) |
boolean |
supportsMultipleInputs()
Indicates whether this operator supports multiple inputs.
|
boolean |
supportsMultipleOutputs()
Indicates whether this operator supports multiple outputs.
|
String |
toString() |
void |
visit(PhyPlanVisitor v)
Visit this node with the provided visitor.
|
addOriginalLocation, addOriginalLocation, attachInput, cloneHelper, clonePlans, copyAliasFrom, detachInput, getAlias, getAliasString, getIllustrator, getInputs, getLogger, getNext, getNextBigDecimal, getNextBigInteger, getNextBoolean, getNextDataBag, getNextDataByteArray, getNextDateTime, getNextDouble, getNextFloat, getNextInteger, getNextLong, getNextMap, getNextString, getOriginalLocations, getParentPlan, getPigLogger, getReporter, getRequestedParallelism, getResultType, isAccumStarted, isAccumulative, isBlocking, isEndOfAllInput, isInputAttached, processInput, reset, setAccumEnd, setAccumStart, setAccumulative, setIllustrator, setInputs, setParentPlan, setPigLogger, setReporter, setRequestedParallelism, setResultType, staticDataCleanupcompareTo, equals, getOperatorKey, getProjectionMap, hashCode, regenerateProjectionMap, rewire, unsetProjectionMapprotected BlockingQueue<Result> binaryOutputQueue
protected BlockingQueue<Result> binaryInputQueue
protected transient boolean allInputFromPredecessorConsumed
protected transient boolean allOutputFromBinaryProcessed
public POStream(OperatorKey k, ExecutableManager executableManager, StreamingCommand command, Properties properties)
public Properties getShipCacheProperties()
public StreamingCommand getCommand()
StreamingCommand for this StreamSpec.StreamingCommand for this StreamSpecpublic Result getNextTuple() throws ExecException
getNextTuple in class PhysicalOperatorExecExceptionpublic boolean getInitialized()
public void setInitialized(boolean initialized)
public Result getNextHelper(Tuple t) throws ExecException
ExecExceptionpublic String toString()
toString in class Operator<PhyPlanVisitor>public void visit(PhyPlanVisitor v) throws VisitorException
Operatorvisit in class PhysicalOperatorv - Visitor to visit with.VisitorException - if the visitor has a problem.public String name()
name in class Operator<PhyPlanVisitor>public boolean supportsMultipleInputs()
OperatorsupportsMultipleInputs in class Operator<PhyPlanVisitor>public boolean supportsMultipleOutputs()
OperatorsupportsMultipleOutputs in class Operator<PhyPlanVisitor>public void finish()
throws IOException
IOExceptionpublic BlockingQueue<Result> getBinaryInputQueue()
public BlockingQueue<Result> getBinaryOutputQueue()
public Tuple illustratorMarkup(Object in, Object out, int eqClassIndex)
Illustrablein - input tupleout - output tuple before wrapped in ExampleTupleeqClassIndex - index into equivalence classes in illustratorpublic boolean isFetchable()
public void setFetchable(boolean isFetchable)
isFetchable - - whether fetching is applied on POStreampublic PhysicalOperator clone() throws CloneNotSupportedException
PhysicalOperatorCopyright © 2007-2017 The Apache Software Foundation