Enum Class CatalogSchemaFactory

java.lang.Object
java.lang.Enum<CatalogSchemaFactory>
cn.sliew.flinkful.sql.catalog.sakura.factory.CatalogSchemaFactory
All Implemented Interfaces:
Serializable, Comparable<CatalogSchemaFactory>, Constable

public enum CatalogSchemaFactory extends Enum<CatalogSchemaFactory>
  • Method Details

    • values

      public static CatalogSchemaFactory[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CatalogSchemaFactory valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • toSchema

      public static SchemaDTO toSchema(org.apache.flink.table.catalog.ResolvedSchema schema)
    • toSchema

      public static SchemaDTO toSchema(org.apache.flink.table.api.Schema schema)
    • toCatalog

      public static org.apache.flink.table.api.Schema toCatalog(SchemaDTO schemaDTO)
    • toColumn

      public static ColumnDTO toColumn(org.apache.flink.table.catalog.Column column)
    • toColumn

      public static ColumnDTO toColumn(org.apache.flink.table.api.Schema.UnresolvedColumn column)
    • addColumn

      public static void addColumn(org.apache.flink.table.api.Schema.Builder schemaBuilder, ColumnDTO column)
    • toWatermark

      public static WatermarkDTO toWatermark(org.apache.flink.table.catalog.WatermarkSpec watermark)
    • toWatermark

      public static WatermarkDTO toWatermark(org.apache.flink.table.api.Schema.UnresolvedWatermarkSpec watermark)
    • addWatermark

      public static void addWatermark(org.apache.flink.table.api.Schema.Builder schemaBuilder, WatermarkDTO watermark)
    • toConstraint

      public static UniqueConstraintDTO toConstraint(org.apache.flink.table.catalog.UniqueConstraint constraint)
    • toConstraint

      public static UniqueConstraintDTO toConstraint(org.apache.flink.table.api.Schema.UnresolvedPrimaryKey constraint)
    • addConstraint

      public static void addConstraint(org.apache.flink.table.api.Schema.Builder schemaBuilder, UniqueConstraintDTO constraint)