@OperatorGeneratorCharacteristics(maximumArgumentCount=2, minimumArgumentCount=2, name="PROJECT", signature={EXPRESSION,STRING}) @MonoRelationOperator public abstract class PROJECT extends RelationalOperator
Constructor and Description |
---|
PROJECT() |
Modifier and Type | Method and Description |
---|---|
static Relation |
computeProjection(Relation relation,
NameIdentifier... attributes) |
OperatorImplementation_V0105 |
getOperatorImplementation(OperatorGeneratorArgument[] args)
Gets an implementation instance of the operator.
|
getInvocationName, getMaximumArgumentCount, getMinimumArgumentCount, getName, getOperatorGeneratorSignature, isMonoRelationOperator, toString
public static Relation computeProjection(Relation relation, NameIdentifier... attributes) throws EvaluationException
relation
- the relation subjected to a projectionattributes
- the attributes to be retained in the resultEvaluationException
- If the evaluation failed for any reason. See the contained getCause() exception for more detailpublic 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 :