@OperatorGeneratorCharacteristics(maximumArgumentCount=2, minimumArgumentCount=2, name="PACK", signature={EXPRESSION,STRING}) @MonoRelationOperator public abstract class PACK extends RelationalOperator
Constructor and Description |
---|
PACK() |
Modifier and Type | Method and Description |
---|---|
static Relation |
computePack(Relation relation,
NameIdentifier[] packAttributes) |
OperatorImplementation_V0105 |
getOperatorImplementation(OperatorGeneratorArgument[] args)
Gets an implementation instance of the operator.
|
getInvocationName, getMaximumArgumentCount, getMinimumArgumentCount, getName, getOperatorGeneratorSignature, isMonoRelationOperator, toString
public static Relation computePack(Relation relation, NameIdentifier[] packAttributes) throws EvaluationException
relation
- the relation subjected to a PACK operationpackAttributes
- the attributes using which to PACK the given relationEvaluationException
- If the evaluation fails for any reason. See the contained getCause() exception for more detail.public final OperatorImplementation_V0105 getOperatorImplementation(OperatorGeneratorArgument[] args)
OperatorGenerator
args
- The arguments from which the instance is to be created. There must be exactly as many arguments as there are elements in the list returned from OperatorGenerator.getOperatorGeneratorSignature()
. The correspondence between OperatorGeneratorArgumentType
values and OperatorGeneratorArgument
types is given in the table below :