Interface FunctionCall

All Known Implementing Classes:
FunctionCall.Logical, FunctionCall.Nodes, FunctionCall.Value

public sealed interface FunctionCall permits FunctionCall.Value, FunctionCall.Logical, FunctionCall.Nodes
A function expression (RFC 9535, Section 2.4). The record type gives the declared result type of the function, so that the expression can only occur where that type is well-typed.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
    A call of a function with the result type LogicalType.
    static final record 
    A call of a function with the result type NodesType.
    static final record 
    A call of a function with the result type ValueType.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the arguments.
    Returns the function name.
    default FunctionType
    Returns the declared result type of the function.
  • Method Details

    • name

      String name()
      Returns the function name.
      Returns:
      the function name
    • arguments

      List<FunctionArgument> arguments()
      Returns the arguments.
      Returns:
      the arguments, in order
    • resultType

      default FunctionType resultType()
      Returns the declared result type of the function.
      Returns:
      the declared result type