Package cn.sliew.sakura.catalog.factory
Enum CatalogTableFactory
- java.lang.Object
-
- java.lang.Enum<CatalogTableFactory>
-
- cn.sliew.sakura.catalog.factory.CatalogTableFactory
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CatalogTableFactory>
public enum CatalogTableFactory extends java.lang.Enum<CatalogTableFactory>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CatalogTableDTOfromResolvedTable(java.lang.String tableName, org.apache.flink.table.catalog.CatalogBaseTable catalogBaseTable)static CatalogTableDTOfromUnresolvedTable(java.lang.String tableName, org.apache.flink.table.catalog.CatalogBaseTable catalogBaseTable)static SakuraCatalogTabletoTable(CatalogTableDTO catalogTableDTO)static CatalogTableFactoryvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CatalogTableFactory[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Method Detail
-
values
public static CatalogTableFactory[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CatalogTableFactory c : CatalogTableFactory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CatalogTableFactory valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
fromResolvedTable
public static CatalogTableDTO fromResolvedTable(java.lang.String tableName, org.apache.flink.table.catalog.CatalogBaseTable catalogBaseTable)
-
fromUnresolvedTable
public static CatalogTableDTO fromUnresolvedTable(java.lang.String tableName, org.apache.flink.table.catalog.CatalogBaseTable catalogBaseTable)
-
toTable
public static SakuraCatalogTable toTable(CatalogTableDTO catalogTableDTO)
-
-