Class FunctionColumn

java.lang.Object
org.apache.gravitino.function.FunctionColumn

@Evolving public class FunctionColumn extends Object
Represents a return column of a table-valued function.
  • Method Details

    • of

      public static FunctionColumn of(String name, Type dataType, String comment)
      Create a FunctionColumn instance.
      Parameters:
      name - The column name.
      dataType - The column type.
      comment - The optional comment of the column.
      Returns:
      A FunctionColumn instance.
    • name

      public String name()
      Returns:
      The column name.
    • dataType

      public Type dataType()
      Returns:
      The column type.
    • comment

      @Nullable public String comment()
      Returns:
      The optional column comment, null if not provided.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object