public abstract class EXTEND extends RelationalOperator
Constructor and Description |
---|
EXTEND() |
Modifier and Type | Method and Description |
---|---|
static RelationBuffer |
computeExtend(RelationBuffer relationBuffer,
java.util.Map<NameIdentifier,java.lang.String> extendExpressions) |
static Relation |
computeExtend(Relation relation,
java.util.Map<NameIdentifier,java.lang.String> extendExpressions) |
int |
getMaximumArgumentCount()
Gets the maximum argument count for this operator.
|
int |
getMinimumArgumentCount()
Gets the minimum argument count for this operator.
|
java.lang.String |
getName()
Gets the operator name
|
boolean |
isMonoRelationOperator()
Checks if the operator takes only one Relation as input
|
toString
public static Relation computeExtend(Relation relation, java.util.Map<NameIdentifier,java.lang.String> extendExpressions)
relation
- the relation to be extendedextendExpressions
- the extend expressions to be evaluated for each tuplepublic static RelationBuffer computeExtend(RelationBuffer relationBuffer, java.util.Map<NameIdentifier,java.lang.String> extendExpressions)
relationBuffer
- the relationbuffer holding the tuples to be extendedextendExpressions
- the extend expressions to be evaluated for each tuplepublic final int getMaximumArgumentCount()
RelationalOperator
getMaximumArgumentCount
in class RelationalOperator
public final int getMinimumArgumentCount()
RelationalOperator
getMinimumArgumentCount
in class RelationalOperator
public final java.lang.String getName()
RelationalOperator
getName
in class RelationalOperator
public final boolean isMonoRelationOperator()
RelationalOperator
isMonoRelationOperator
in class RelationalOperator