Class TableColumn

    • Method Detail

      • metadata

        public static TableColumn.MetadataColumn metadata​(String name,
                                                          DataType type)
        Deprecated.
        Creates a metadata column from metadata of the given column name.

        The column is not virtual by default.

      • metadata

        public static TableColumn.MetadataColumn metadata​(String name,
                                                          DataType type,
                                                          boolean isVirtual)
        Deprecated.
        Creates a metadata column from metadata of the given column name.

        Allows to specify whether the column is virtual or not.

      • metadata

        public static TableColumn.MetadataColumn metadata​(String name,
                                                          DataType type,
                                                          @Nullable
                                                          String metadataAlias,
                                                          boolean isVirtual)
        Deprecated.
        Creates a metadata column from metadata of the given column name or from metadata of the given alias (if not null).

        Allows to specify whether the column is virtual or not.

      • isPhysical

        public abstract boolean isPhysical()
        Deprecated.
        Returns whether the given column is a physical column of a table; neither computed nor metadata.
      • isPersisted

        public abstract boolean isPersisted()
        Deprecated.
        Returns whether the given column is persisted in a sink operation.
      • getType

        public DataType getType()
        Deprecated.
        Returns the data type of this column.
      • getName

        public String getName()
        Deprecated.
        Returns the name of this column.
      • asSummaryString

        public String asSummaryString()
        Deprecated.
        Returns a string that summarizes this column for printing to a console.
      • explainExtras

        public abstract Optional<String> explainExtras()
        Deprecated.
        Returns an explanation of specific column extras next to name and type.
      • equals

        public boolean equals​(Object o)
        Deprecated.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object