public class POStream extends PhysicalOperator
PhysicalOperator.OriginalLocation| Modifier and Type | Field and Description |
|---|---|
protected boolean |
allInputFromPredecessorConsumed |
protected boolean |
allOutputFromBinaryProcessed |
protected java.util.concurrent.BlockingQueue<Result> |
binaryInputQueue |
protected java.util.concurrent.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,
java.util.Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
PhysicalOperator |
clone()
Make a copy of this operator.
|
void |
finish() |
java.util.concurrent.BlockingQueue<Result> |
getBinaryInputQueue() |
java.util.concurrent.BlockingQueue<Result> |
getBinaryOutputQueue() |
StreamingCommand |
getCommand()
Get the
StreamingCommand for this StreamSpec. |
boolean |
getInitialized() |
Result |
getNextHelper(Tuple t) |
Result |
getNextTuple() |
java.util.Properties |
getShipCacheProperties() |
Tuple |
illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex)
input tuple mark up to be illustrate-able
|
boolean |
isFetchable() |
java.lang.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.
|
java.lang.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 java.util.concurrent.BlockingQueue<Result> binaryOutputQueue
protected java.util.concurrent.BlockingQueue<Result> binaryInputQueue
protected transient boolean allInputFromPredecessorConsumed
protected transient boolean allOutputFromBinaryProcessed
public POStream(OperatorKey k, ExecutableManager executableManager, StreamingCommand command, java.util.Properties properties)
public java.util.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 java.lang.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 java.lang.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 java.io.IOException
java.io.IOExceptionpublic java.util.concurrent.BlockingQueue<Result> getBinaryInputQueue()
public java.util.concurrent.BlockingQueue<Result> getBinaryOutputQueue()
public Tuple illustratorMarkup(java.lang.Object in, java.lang.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 java.lang.CloneNotSupportedException
PhysicalOperatorclone in class PhysicalOperatorjava.lang.CloneNotSupportedExceptionDo not use the clone method directly. Operators are cloned when logical plans
are cloned using {@link LogicalPlanCloner}Copyright © 2007-2025 The Apache Software Foundation