public class POPackageLite extends POPackage
POPackage.PackageType
PhysicalOperator.OriginalLocation
distinct, isKeyCompound, isKeyTuple, keyAsTuple, keyInfo, mBagFactory, mTupleFactory
alias, illustrator, input, inputAttached, inputs, lineageTracer, outputs, parentPlan, pigLogger, requestedParallelism, res, resultType
Constructor and Description |
---|
POPackageLite(OperatorKey k) |
POPackageLite(OperatorKey k,
int rp) |
POPackageLite(OperatorKey k,
int rp,
java.util.List<PhysicalOperator> inp) |
POPackageLite(OperatorKey k,
java.util.List<PhysicalOperator> inp) |
Modifier and Type | Method and Description |
---|---|
POPackageLite |
clone()
Make a deep copy of this operator.
|
boolean[] |
getInner() |
java.lang.Object |
getKey() |
Tuple |
getKeyAsTuple() |
boolean |
getKeyTuple() |
Result |
getNextTuple()
Similar to POPackage.getNext except that
only one input is expected with index 0
and ReadOnceBag is used instead of
DefaultDataBag.
|
java.util.Iterator<NullableTuple> |
getTupIter() |
Tuple |
getValueTuple(NullableTuple ntup,
int index,
java.lang.Object key)
Makes use of the superclass method, but this requires
an additional parameter key passed by ReadOnceBag.
|
Tuple |
illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex)
input tuple mark up to be illustrate-able
|
boolean |
isDistinct() |
java.lang.String |
name() |
void |
setDistinct(boolean distinct) |
void |
setInner(boolean[] inner) |
void |
setNumInps(int numInps) |
attachInput, detachInput, getKeyInfo, getKeyType, getNumInps, getPackageType, getValueTuple, setKeyCompound, setKeyInfo, setKeyTuple, setKeyType, setPackageType, setUseSecondaryKey, supportsMultipleInputs, supportsMultipleOutputs, visit
addOriginalLocation, addOriginalLocation, attachInput, cloneHelper, getAlias, getAliasString, getIllustrator, getInputs, getLogger, getNext, getNextBigDecimal, getNextBigInteger, getNextBoolean, getNextDataBag, getNextDataByteArray, getNextDateTime, getNextDouble, getNextFloat, getNextInteger, getNextLong, getNextMap, getNextString, getOriginalLocations, getPigLogger, getReporter, getRequestedParallelism, getResultType, isAccumStarted, isAccumulative, isBlocking, isInputAttached, processInput, reset, setAccumEnd, setAccumStart, setAccumulative, setIllustrator, setInputs, setParentPlan, setPigLogger, setReporter, setRequestedParallelism, setResultType
compareTo, equals, getOperatorKey, getProjectionMap, hashCode, regenerateProjectionMap, rewire, toString, unsetProjectionMap
public POPackageLite(OperatorKey k)
public POPackageLite(OperatorKey k, int rp)
public POPackageLite(OperatorKey k, java.util.List<PhysicalOperator> inp)
public POPackageLite(OperatorKey k, int rp, java.util.List<PhysicalOperator> inp)
public void setNumInps(int numInps)
setNumInps
in class POPackage
public POPackageLite clone() throws java.lang.CloneNotSupportedException
public boolean isDistinct()
isDistinct
in class POPackage
public void setDistinct(boolean distinct)
setDistinct
in class POPackage
distinct
- the distinct to setpublic boolean getKeyTuple()
public Tuple getKeyAsTuple()
public java.util.Iterator<NullableTuple> getTupIter()
public java.lang.Object getKey()
public Result getNextTuple() throws ExecException
getNextTuple
in class POPackage
ExecException
public Tuple getValueTuple(NullableTuple ntup, int index, java.lang.Object key) throws ExecException
ExecException
public Tuple illustratorMarkup(java.lang.Object in, java.lang.Object out, int eqClassIndex)
Illustrable
illustratorMarkup
in interface Illustrable
illustratorMarkup
in class POPackage
in
- input tupleout
- output tuple before wrapped in ExampleTupleeqClassIndex
- index into equivalence classes in illustratorCopyright © 2007-2012 The Apache Software Foundation