Class FlinkCurrentDateDynamicFunction


  • @Internal
    public class FlinkCurrentDateDynamicFunction
    extends org.apache.calcite.sql.fun.SqlCurrentDateFunction
    The Flink CURRENT_DATE function differs from the parent SqlCurrentDateFunction which is aware of whether it is used in batch mode, if true it will act totally same as the parent SqlCurrentDateFunction, but will be a non-deterministic function if not in batch mode.
    • Field Summary

      • Fields inherited from class org.apache.calcite.sql.SqlOperator

        kind, MDX_PRECEDENCE, NL
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(@Nullable Object obj)  
      int hashCode()  
      boolean isDeterministic()  
      boolean isDynamicFunction()  
      • Methods inherited from class org.apache.calcite.sql.fun.SqlCurrentDateFunction

        getMonotonicity, getSyntax
      • Methods inherited from class org.apache.calcite.sql.SqlFunction

        deriveType, getFunctionType, getNameAsId, getParamNames, getParamTypes, getSqlIdentifier, isQuantifierAllowed, unparse, validateCall, validateQuantifier
      • Methods inherited from class org.apache.calcite.sql.SqlOperator

        acceptCall, acceptCall, adjustType, allowsFraming, argumentMustBeScalar, checkOperandCount, checkOperandTypes, constructArgNameList, constructArgTypeList, constructOperandList, createCall, createCall, createCall, createCall, createCall, createCall, createCall, getAllowedSignatures, getAllowedSignatures, getKind, getLeftPrec, getMonotonicity, getName, getOperandCountRange, getOperandTypeChecker, getOperandTypeInference, getReturnTypeInference, getRightPrec, getSignatureTemplate, getStrongPolicyInference, inferReturnType, inferReturnType, isAggregator, isGroup, isGroupAuxiliary, isName, isSymmetrical, leftPrec, not, preValidateCall, requiresDecimalExpansion, requiresOrder, requiresOver, reverse, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateOperands, validRexOperands
    • Constructor Detail

      • FlinkCurrentDateDynamicFunction

        public FlinkCurrentDateDynamicFunction​(boolean isBatchMode)
    • Method Detail

      • isDynamicFunction

        public boolean isDynamicFunction()
        Overrides:
        isDynamicFunction in class org.apache.calcite.sql.fun.SqlCurrentDateFunction
      • isDeterministic

        public boolean isDeterministic()
        Overrides:
        isDeterministic in class org.apache.calcite.sql.SqlOperator
      • equals

        public boolean equals​(@Nullable Object obj)
        Overrides:
        equals in class org.apache.calcite.sql.SqlOperator
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class org.apache.calcite.sql.SqlOperator