Class InternalFunctionFactory.TimeObFunction

    • Field Detail

      • TIME_TYPE

        private static final TType TIME_TYPE
    • Constructor Detail

      • TimeObFunction

        public TimeObFunction​(Expression[] params)
    • Method Detail

      • timeNow

        private TObject timeNow()
      • evaluate

        public TObject evaluate​(GroupResolver group,
                                VariableResolver resolver,
                                QueryContext context)
        Description copied from interface: Function
        Evaluates the function and returns a TObject that represents the result of the function. The VariableResolver object should be used to look up variables in the parameter of the function. The 'FunctionTable' object should only be used when the function is a grouping function. For example, 'avg(value_of)'.