public class SqlMonotonicBinaryOperator extends SqlBinaryOperator
m op c
and
c op m
where m is any monotonic expression and c is a constant.kind, MDX_PRECEDENCE, NL
Constructor and Description |
---|
SqlMonotonicBinaryOperator(java.lang.String name,
SqlKind kind,
int prec,
boolean isLeftAssoc,
SqlReturnTypeInference returnTypeInference,
SqlOperandTypeInference operandTypeInference,
SqlOperandTypeChecker operandTypeChecker) |
Modifier and Type | Method and Description |
---|---|
SqlMonotonicity |
getMonotonicity(SqlOperatorBinding call)
Returns whether a call to this operator is monotonic.
|
adjustType, deriveType, getSignatureTemplate, getSyntax, validRexOperands
acceptCall, acceptCall, allowsFraming, argumentMustBeScalar, checkOperandCount, checkOperandTypes, constructArgNameList, constructArgTypeList, constructOperandList, createCall, createCall, createCall, createCall, equals, getAllowedSignatures, getAllowedSignatures, getKind, getLeftPrec, getMonotonicity, getName, getNameAsId, getOperandCountRange, getOperandTypeChecker, getOperandTypeInference, getReturnTypeInference, getRightPrec, hashCode, inferReturnType, inferReturnType, isAggregator, isDeterministic, isDynamicFunction, isGroup, isGroupAuxiliary, isName, leftPrec, preValidateCall, requiresDecimalExpansion, requiresOrder, requiresOver, rewriteCall, rightPrec, toString, unparse, unparseListClause, unparseListClause, validateCall, validateOperands
public SqlMonotonicBinaryOperator(java.lang.String name, SqlKind kind, int prec, boolean isLeftAssoc, SqlReturnTypeInference returnTypeInference, SqlOperandTypeInference operandTypeInference, SqlOperandTypeChecker operandTypeChecker)
public SqlMonotonicity getMonotonicity(SqlOperatorBinding call)
SqlOperator
Default implementation returns SqlMonotonicity.NOT_MONOTONIC
.
getMonotonicity
in class SqlBinaryOperator
call
- Call to this operator with particular arguments and information
about the monotonicity of the argumentsCopyright © 2012–2019 The Apache Software Foundation. All rights reserved.