Class SqlFunctionScalar


  • public class SqlFunctionScalar
    extends SqlNode
    A simple scalar function with a name and zero or more arguments.

    Scalar functions that are more complex, like CASE or CAST, are defined in separate classes.

    • Constructor Detail

      • SqlFunctionScalar

        public SqlFunctionScalar​(ScalarFunction function,
                                 java.util.List<SqlNode> arguments,
                                 boolean isInfix,
                                 boolean isPrefix)
    • Method Detail

      • getArguments

        public java.util.List<SqlNode> getArguments()
      • getFunctionName

        public java.lang.String getFunctionName()
      • getNumArgs

        public int getNumArgs()
      • isInfix

        public boolean isInfix()
      • isPrefix

        public boolean isPrefix()
      • toSimpleSql

        public java.lang.String toSimpleSql()