public class POCombinerPackage extends POPackage
POPackage.PackageType
PhysicalOperator.OriginalLocation
distinct, isKeyCompound, isKeyTuple, keyAsTuple, keyInfo
alias, 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}, ...)
|
java.lang.String |
name() |
void |
setKeyInfo(java.util.Map<java.lang.Integer,Pair<java.lang.Boolean,java.util.Map<java.lang.Integer,java.lang.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, supportsMultipleOutputs
addOriginalLocation, 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, setResultType
compareTo, equals, getOperatorKey, getProjectionMap, hashCode, regenerateProjectionMap, rewire, toString, unsetProjectionMap
public 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
Operator
visit
in class POPackage
v
- Visitor to visit with.VisitorException
- if the visitor has a problem.public void setKeyInfo(java.util.Map<java.lang.Integer,Pair<java.lang.Boolean,java.util.Map<java.lang.Integer,java.lang.Integer>>> keyInfo)
setKeyInfo
in class POPackage
keyInfo
- the keyInfo to setpublic Result getNextTuple() throws ExecException
POPackage
getNextTuple
in class POPackage
ExecException
Copyright © 2007-2012 The Apache Software Foundation