Class Procedure.Argument

java.lang.Object
io.trino.spi.procedure.Procedure.Argument
Enclosing class:
Procedure

public static class Procedure.Argument extends Object
  • Constructor Details

    • Argument

      public Argument(String name, Type type)
    • Argument

      public Argument(String name, Type type, boolean required, @Nullable Object defaultValue)
    • Argument

      @Deprecated public Argument(String name, boolean allowNonUppercaseName, Type type, boolean required, @Nullable Object defaultValue)
      Deprecated.
      Available for transition period only. After the transition period non-uppercase names will always be allowed.
  • Method Details

    • getName

      public String getName()
    • getType

      public Type getType()
    • isRequired

      public boolean isRequired()
    • isOptional

      public boolean isOptional()
    • getDefaultValue

      public Object getDefaultValue()
      Argument default value in type's stack representation.
    • toString

      public String toString()
      Overrides:
      toString in class Object