public abstract class DIVIDEBYPER extends RelationalOperator
| Constructor and Description |
|---|
DIVIDEBYPER() |
| Modifier and Type | Method and Description |
|---|---|
static Relation |
computeDividebyper(Relation dividend,
Relation divisor,
Relation per)
Computes the division of 'dividend' by 'divisor' per 'per'
|
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
|
static DIVIDEBYPERInvocationResultDetails |
validateExpressionDetails(Heading dividendHeading,
Heading divisorHeading,
Heading perHeading) |
toStringpublic static Relation computeDividebyper(Relation dividend, Relation divisor, Relation per) throws ValidationException, EvaluationException
dividend - The dividenddivisor - the divisorper - The per relationValidationException - if the given relation arguments do not satisfy the compatibility rules for DIVIDEBYPEREvaluationException - If the evaluation failed for any reasonpublic static DIVIDEBYPERInvocationResultDetails validateExpressionDetails(Heading dividendHeading, Heading divisorHeading, Heading perHeading) throws DivideByPerIncompatibleDividendPerHeadings, DivideByPerIncompatibleDivisorPerHeadings
dividendHeading - The heading of the dividenddivisorHeading - The heading of the divisorperHeading - The heading of the 'per' relationDivideByPerIncompatibleDividendPerHeadings - If any of the common attributes between dividend and per do not share a common supertypeDivideByPerIncompatibleDivisorPerHeadings - If any of the common attributes between divisor and per do not share a common supertypepublic final int getMaximumArgumentCount()
RelationalOperatorgetMaximumArgumentCount in class RelationalOperatorpublic final int getMinimumArgumentCount()
RelationalOperatorgetMinimumArgumentCount in class RelationalOperatorpublic final java.lang.String getName()
RelationalOperatorgetName in class RelationalOperatorpublic final boolean isMonoRelationOperator()
RelationalOperatorisMonoRelationOperator in class RelationalOperator