public class LitePackager extends Packager
Packager.PackageTypebags, distinct, illustrator, isKeyCompound, isKeyTuple, keyInfo, mBagFactory, mTupleFactory, parent, readOnce| Constructor and Description |
|---|
LitePackager() |
| Modifier and Type | Method and Description |
|---|---|
LitePackager |
clone()
Make a deep copy of this operator.
|
boolean[] |
getInner() |
Result |
getNext()
Similar to POPackage.getNext except that
only one input is expected with index 0
and ReadOnceBag is used instead of
DefaultDataBag.
|
Tuple |
getValueTuple(PigNullableWritable keyWritable,
NullableTuple ntup,
int index)
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() |
void |
setDistinct(boolean distinct) |
void |
setInner(boolean[] inner) |
attachInput, checkBagType, detachInput, getBag, getIllustrator, getKey, getKey, getKeyAsTuple, getKeyInfo, getKeyTuple, getKeyType, getNumInputs, getNumInputs, getPackageType, getUseSecondaryKey, illustratorMarkup2, name, numberOfEquivalenceClasses, setIllustrator, setKeyCompound, setKeyInfo, setKeyTuple, setKeyType, setNumInputs, setPackageType, setParent, setUseSecondaryKey, starMarkuppublic LitePackager clone() throws CloneNotSupportedException
clone in class PackagerCloneNotSupportedExceptionpublic boolean isDistinct()
isDistinct in class Packagerpublic void setDistinct(boolean distinct)
setDistinct in class Packagerdistinct - the distinct to setpublic Result getNext() throws ExecException
getNext in class PackagerExecExceptionpublic Tuple getValueTuple(PigNullableWritable keyWritable, NullableTuple ntup, int index) throws ExecException
getValueTuple in class PackagerExecExceptionpublic Tuple illustratorMarkup(Object in, Object out, int eqClassIndex)
IllustrableillustratorMarkup in interface IllustrableillustratorMarkup in class Packagerin - input tupleout - output tuple before wrapped in ExampleTupleeqClassIndex - index into equivalence classes in illustratorCopyright © 2007-2012 The Apache Software Foundation