org.eigenbase.sql.fun
Class SqlCurrentDateFunction
java.lang.Object
org.eigenbase.sql.SqlOperator
org.eigenbase.sql.SqlFunction
org.eigenbase.sql.fun.SqlCurrentDateFunction
public class SqlCurrentDateFunction
- extends SqlFunction
The CURRENT_DATE
function.
- Version:
- $Id: //open/dev/farrago/src/org/eigenbase/sql/fun/SqlCurrentDateFunction.java#10 $
- Author:
- Wael Chatila
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, isName, leftPrec, preValidateCall, requiresDecimalExpansion, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateOperands |
SqlCurrentDateFunction
public SqlCurrentDateFunction()
getSyntax
public SqlSyntax getSyntax()
- Description copied from class:
SqlOperator
- Returns the syntactic type of this operator.
- Overrides:
getSyntax
in class SqlFunction
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
isDynamicFunction
public boolean isDynamicFunction()
- Overrides:
isDynamicFunction
in class SqlOperator
- Returns:
- true iff it is unsafe to cache query plans referencing this
operator; false is assumed by default