public class POMapLookUp extends ExpressionOperator
PhysicalOperator.OriginalLocationalias, illustrator, input, inputAttached, inputs, lineageTracer, mBagFactory, mTupleFactory, outputs, parentPlan, pigLogger, reporter, requestedParallelism, res, RESULT_EMPTY, RESULT_EOP, resultType| Constructor and Description |
|---|
POMapLookUp(OperatorKey k) |
POMapLookUp(OperatorKey k,
int rp) |
POMapLookUp(OperatorKey k,
int rp,
String key) |
| Modifier and Type | Method and Description |
|---|---|
POMapLookUp |
clone()
Make a deep copy of this operator.
|
List<ExpressionOperator> |
getChildExpressions()
Get the sub-expressions of this expression.
|
String |
getLookUpKey() |
Result |
getNextBoolean() |
Result |
getNextDataBag() |
Result |
getNextDataByteArray() |
Result |
getNextDateTime() |
Result |
getNextDouble() |
Result |
getNextFloat() |
Result |
getNextInteger() |
Result |
getNextLong() |
Result |
getNextMap() |
Result |
getNextString() |
Result |
getNextTuple() |
Tuple |
illustratorMarkup(Object in,
Object out,
int eqClassIndex)
input tuple mark up to be illustrate-able
|
String |
name() |
Result |
processInput()
A generic method for parsing input that either returns the attached input
if it exists or fetches it from its predecessor.
|
void |
setLookUpKey(String key) |
boolean |
supportsMultipleInputs()
Indicates whether this operator supports multiple inputs.
|
void |
visit(PhyPlanVisitor v)
Visit this node with the provided visitor.
|
accumChild, containUDF, setIllustrator, supportsMultipleOutputs, toStringaddOriginalLocation, addOriginalLocation, attachInput, cloneHelper, clonePlans, copyAliasFrom, detachInput, getAlias, getAliasString, getIllustrator, getInputs, getLogger, getNext, getNextBigDecimal, getNextBigInteger, getOriginalLocations, getParentPlan, getPigLogger, getReporter, getRequestedParallelism, getResultType, isAccumStarted, isAccumulative, isBlocking, isEndOfAllInput, isInputAttached, reset, setAccumEnd, setAccumStart, setAccumulative, setInputs, setParentPlan, setPigLogger, setReporter, setRequestedParallelism, setResultType, staticDataCleanupcompareTo, equals, getOperatorKey, getProjectionMap, hashCode, regenerateProjectionMap, rewire, unsetProjectionMappublic POMapLookUp(OperatorKey k)
public POMapLookUp(OperatorKey k, int rp)
public POMapLookUp(OperatorKey k, int rp, String key)
public void setLookUpKey(String key)
public String getLookUpKey()
public void visit(PhyPlanVisitor v) throws VisitorException
Operatorvisit in class ExpressionOperatorv - 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 Result processInput() throws ExecException
PhysicalOperatorprocessInput in class PhysicalOperatorExecExceptionpublic Result getNextBoolean() throws ExecException
getNextBoolean in class PhysicalOperatorExecExceptionpublic Result getNextDataBag() throws ExecException
getNextDataBag in class ExpressionOperatorExecExceptionpublic Result getNextDataByteArray() throws ExecException
getNextDataByteArray in class PhysicalOperatorExecExceptionpublic Result getNextDouble() throws ExecException
getNextDouble in class PhysicalOperatorExecExceptionpublic Result getNextFloat() throws ExecException
getNextFloat in class PhysicalOperatorExecExceptionpublic Result getNextInteger() throws ExecException
getNextInteger in class PhysicalOperatorExecExceptionpublic Result getNextLong() throws ExecException
getNextLong in class PhysicalOperatorExecExceptionpublic Result getNextDateTime() throws ExecException
getNextDateTime in class PhysicalOperatorExecExceptionpublic Result getNextMap() throws ExecException
getNextMap in class PhysicalOperatorExecExceptionpublic Result getNextString() throws ExecException
getNextString in class PhysicalOperatorExecExceptionpublic Result getNextTuple() throws ExecException
getNextTuple in class PhysicalOperatorExecExceptionpublic POMapLookUp clone() throws CloneNotSupportedException
ExpressionOperatorpublic List<ExpressionOperator> getChildExpressions()
ExpressionOperatorgetChildExpressions in class ExpressionOperatorpublic Tuple illustratorMarkup(Object in, Object out, int eqClassIndex)
Illustrablein - input tupleout - output tuple before wrapped in ExampleTupleeqClassIndex - index into equivalence classes in illustratorCopyright © 2007-2017 The Apache Software Foundation