public class LitePackager extends Packager
Packager.PackageTypebags, distinct, illustrator, isKeyCompound, isKeyTuple, key, keyInfo, keyType, mBagFactory, mTupleFactory, parent, readOnce| Constructor and Description |
|---|
LitePackager() |
| Modifier and Type | Method and Description |
|---|---|
void |
attachInput(java.lang.Object key,
DataBag[] bags,
boolean[] readOnce) |
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(java.lang.Object in,
java.lang.Object out,
int eqClassIndex)
input tuple mark up to be illustrate-able
|
boolean |
isDistinct() |
void |
setDistinct(boolean distinct) |
void |
setInner(boolean[] inner) |
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 void attachInput(java.lang.Object key,
DataBag[] bags,
boolean[] readOnce)
throws ExecException
attachInput in class PackagerExecExceptionpublic LitePackager clone() throws java.lang.CloneNotSupportedException
public 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(java.lang.Object in, java.lang.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-2025 The Apache Software Foundation