public class CombinerPackager extends Packager
Packager.PackageTypebags, distinct, illustrator, isKeyCompound, isKeyTuple, keyInfo, mBagFactory, mTupleFactory, parent, readOnce| Constructor and Description | 
|---|
CombinerPackager(Packager pkg,
                boolean[] bags)
A new POPostCombinePackage will be constructed as a near clone of the
 provided POPackage. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Result | 
getNext()  | 
Tuple | 
getValueTuple(PigNullableWritable keyWritable,
             NullableTuple ntup,
             int index)  | 
void | 
setKeyInfo(Map<Integer,Pair<Boolean,Map<Integer,Integer>>> keyInfo)  | 
attachInput, checkBagType, clone, detachInput, getBag, getIllustrator, getInner, getKey, getKey, getKeyAsTuple, getKeyInfo, getKeyTuple, getKeyType, getNumInputs, getNumInputs, getPackageType, getUseSecondaryKey, illustratorMarkup, illustratorMarkup2, isDistinct, name, numberOfEquivalenceClasses, setDistinct, setIllustrator, setInner, setKeyCompound, setKeyTuple, setKeyType, setNumInputs, setPackageType, setParent, setUseSecondaryKey, starMarkuppublic CombinerPackager(Packager pkg, boolean[] bags)
pkg - POPackage to clone.bags - for each field, indicates whether it should be a bag (true)
 or a simple field (false).public void setKeyInfo(Map<Integer,Pair<Boolean,Map<Integer,Integer>>> keyInfo)
setKeyInfo in class PackagerkeyInfo - the keyInfo to setpublic Result getNext() throws ExecException
getNext in class PackagerExecExceptionpublic Tuple getValueTuple(PigNullableWritable keyWritable, NullableTuple ntup, int index) throws ExecException
getValueTuple in class PackagerExecExceptionCopyright © 2007-2012 The Apache Software Foundation