public class POPackageLite extends POPackage
POPackage.PackageTypePhysicalOperator.OriginalLocationdistinct, isKeyCompound, isKeyTuple, keyAsTuple, keyInfo, mBagFactory, mTupleFactoryalias, 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,
List<PhysicalOperator> inp) |
POPackageLite(OperatorKey k,
List<PhysicalOperator> inp) |
| Modifier and Type | Method and Description |
|---|---|
POPackageLite |
clone()
Make a deep copy of this operator.
|
boolean[] |
getInner() |
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.
|
Iterator<NullableTuple> |
getTupIter() |
Tuple |
getValueTuple(NullableTuple ntup,
int index,
Object key)
Makes use of the superclass method, but this requires
an additional parameter key passed by ReadOnceBag.
|
Tuple |
illustratorMarkup(Object in,
Object out,
int eqClassIndex)
input tuple mark up to be illustrate-able
|
boolean |
isDistinct() |
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, visitaddOriginalLocation, 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, setResultTypecompareTo, equals, getOperatorKey, getProjectionMap, hashCode, regenerateProjectionMap, rewire, toString, unsetProjectionMappublic POPackageLite(OperatorKey k)
public POPackageLite(OperatorKey k, int rp)
public POPackageLite(OperatorKey k, List<PhysicalOperator> inp)
public POPackageLite(OperatorKey k, int rp, List<PhysicalOperator> inp)
public void setNumInps(int numInps)
setNumInps in class POPackagepublic POPackageLite clone() throws CloneNotSupportedException
public boolean isDistinct()
isDistinct in class POPackagepublic void setDistinct(boolean distinct)
setDistinct in class POPackagedistinct - the distinct to setpublic boolean getKeyTuple()
public Tuple getKeyAsTuple()
public Iterator<NullableTuple> getTupIter()
public Object getKey()
public Result getNextTuple() throws ExecException
getNextTuple in class POPackageExecExceptionpublic Tuple getValueTuple(NullableTuple ntup, int index, Object key) throws ExecException
ExecExceptionpublic Tuple illustratorMarkup(Object in, Object out, int eqClassIndex)
IllustrableillustratorMarkup in interface IllustrableillustratorMarkup in class POPackagein - input tupleout - output tuple before wrapped in ExampleTupleeqClassIndex - index into equivalence classes in illustratorCopyright © 2007-2012 The Apache Software Foundation