Package org.apache.flink.sql.parser.dql
Enum SqlShowTables.SqlTableKind
- java.lang.Object
-
- java.lang.Enum<SqlShowTables.SqlTableKind>
-
- org.apache.flink.sql.parser.dql.SqlShowTables.SqlTableKind
-
- All Implemented Interfaces:
Serializable,Comparable<SqlShowTables.SqlTableKind>
- Enclosing class:
- SqlShowTables
public static enum SqlShowTables.SqlTableKind extends Enum<SqlShowTables.SqlTableKind>
The kind of table. Keep in sync withorg.apache.flink.table.catalog.CatalogBaseTable.TableKind.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MATERIALIZED_TABLETABLEVIEW
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.calcite.sql.SqlSpecialOperatorgetOperator()static SqlShowTables.SqlTableKindvalueOf(String name)Returns the enum constant of this type with the specified name.static SqlShowTables.SqlTableKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MATERIALIZED_TABLE
public static final SqlShowTables.SqlTableKind MATERIALIZED_TABLE
-
TABLE
public static final SqlShowTables.SqlTableKind TABLE
-
VIEW
public static final SqlShowTables.SqlTableKind VIEW
-
-
Method Detail
-
values
public static SqlShowTables.SqlTableKind[] 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 (SqlShowTables.SqlTableKind c : SqlShowTables.SqlTableKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SqlShowTables.SqlTableKind valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getOperator
public org.apache.calcite.sql.SqlSpecialOperator getOperator()
-
-