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,
                                 List<SqlNode> arguments)
        Instantiates a new Sql function scalar.
        Parameters:
        function - the function
        arguments - the arguments
    • Method Detail

      • getArguments

        public List<SqlNode> getArguments()
        Gets arguments.
        Returns:
        the arguments
      • getFunction

        public ScalarFunction getFunction()
        Gets function.
        Returns:
        the function
      • getFunctionName

        public String getFunctionName()
        Gets function name.
        Returns:
        the function name