public class POCombinerPackage extends POPackage
POPackage.PackageTypePhysicalOperator.OriginalLocationdistinct, isKeyCompound, isKeyTuple, keyAsTuple, keyInfoalias, illustrator, input, inputAttached, inputs, lineageTracer, outputs, parentPlan, pigLogger, requestedParallelism, res, resultType| Constructor and Description |
|---|
POCombinerPackage(POPackage pkg,
boolean[] bags)
A new POPostCombinePackage will be constructed as a near clone of the
provided POPackage.
|
| Modifier and Type | Method and Description |
|---|---|
Result |
getNextTuple()
From the inputs, constructs the output tuple
for this co-group in the required format which
is (key, {bag of tuples from input 1}, {bag of tuples from input 2}, ...)
|
String |
name() |
void |
setKeyInfo(Map<Integer,Pair<Boolean,Map<Integer,Integer>>> keyInfo) |
void |
visit(PhyPlanVisitor v)
Visit this node with the provided visitor.
|
attachInput, clone, detachInput, getInner, getKeyInfo, getKeyType, getNumInps, getPackageType, getValueTuple, illustratorMarkup, isDistinct, setDistinct, setInner, setKeyCompound, setKeyTuple, setKeyType, setNumInps, setPackageType, setUseSecondaryKey, supportsMultipleInputs, supportsMultipleOutputsaddOriginalLocation, 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 POCombinerPackage(POPackage 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 visit(PhyPlanVisitor v) throws VisitorException
Operatorvisit in class POPackagev - Visitor to visit with.VisitorException - if the visitor has a problem.public void setKeyInfo(Map<Integer,Pair<Boolean,Map<Integer,Integer>>> keyInfo)
setKeyInfo in class POPackagekeyInfo - the keyInfo to setpublic Result getNextTuple() throws ExecException
POPackagegetNextTuple in class POPackageExecExceptionCopyright © 2007-2012 The Apache Software Foundation