org.eigenbase.sql.fun
Class SqlMonotonicUnaryFunction
java.lang.Object
org.eigenbase.sql.SqlOperator
org.eigenbase.sql.SqlFunction
org.eigenbase.sql.fun.SqlMonotonicUnaryFunction
public class SqlMonotonicUnaryFunction
- extends SqlFunction
Base class for unary operators such as FLOOR/CEIL which are monotonic for
monotonic inputs.
- Version:
- $Id: //open/dev/farrago/src/org/eigenbase/sql/fun/SqlMonotonicUnaryFunction.java#8 $
- Author:
- John V. Sichi
Methods inherited from class org.eigenbase.sql.SqlOperator |
acceptCall, acceptCall, adjustType, argumentMustBeScalar, checkOperandCount, checkOperandTypes, createCall, createCall, createCall, createCall, equals, getAllowedSignatures, getAllowedSignatures, getKind, getLeftPrec, getName, getOperandCountRange, getOperandTypeChecker, getOperandTypeInference, getReturnTypeInference, getRightPrec, getSignatureTemplate, hashCode, inferReturnType, inferReturnType, isAggregator, isDeterministic, isDynamicFunction, isName, leftPrec, preValidateCall, requiresDecimalExpansion, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateOperands |
SqlMonotonicUnaryFunction
protected SqlMonotonicUnaryFunction(String name,
SqlKind kind,
SqlReturnTypeInference returnTypeInference,
SqlOperandTypeInference operandTypeInference,
SqlOperandTypeChecker operandTypeChecker,
SqlFunctionCategory funcType)
getMonotonicity
public SqlMonotonicity getMonotonicity(SqlCall call,
SqlValidatorScope scope)
- Description copied from class:
SqlOperator
- Returns whether this operator is monotonic.
Default implementation returns SqlMonotonicity.NotMonotonic
.
- Overrides:
getMonotonicity
in class SqlOperator
- Parameters:
call
- Call to this operatorscope
- Scope in which the call occurs