Enum InformationSchemaTable
- java.lang.Object
-
- java.lang.Enum<InformationSchemaTable>
-
- io.prestosql.connector.informationschema.InformationSchemaTable
-
- All Implemented Interfaces:
Serializable
,Comparable<InformationSchemaTable>
public enum InformationSchemaTable extends Enum<InformationSchemaTable>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPLICABLE_ROLES
COLUMNS
ENABLED_ROLES
ROLE_AUTHORIZATION_DESCRIPTORS
ROLES
SCHEMATA
TABLE_PRIVILEGES
TABLES
VIEWS
-
Field Summary
Fields Modifier and Type Field Description static String
INFORMATION_SCHEMA
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InformationSchemaTable
fromStringValue(String value)
SchemaTableName
getSchemaTableName()
ConnectorTableMetadata
getTableMetadata()
static Optional<InformationSchemaTable>
of(SchemaTableName schemaTableName)
String
toStringValue()
static InformationSchemaTable
valueOf(String name)
Returns the enum constant of this type with the specified name.static InformationSchemaTable[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COLUMNS
public static final InformationSchemaTable COLUMNS
-
TABLES
public static final InformationSchemaTable TABLES
-
VIEWS
public static final InformationSchemaTable VIEWS
-
SCHEMATA
public static final InformationSchemaTable SCHEMATA
-
TABLE_PRIVILEGES
public static final InformationSchemaTable TABLE_PRIVILEGES
-
ROLES
public static final InformationSchemaTable ROLES
-
APPLICABLE_ROLES
public static final InformationSchemaTable APPLICABLE_ROLES
-
ENABLED_ROLES
public static final InformationSchemaTable ENABLED_ROLES
-
ROLE_AUTHORIZATION_DESCRIPTORS
public static final InformationSchemaTable ROLE_AUTHORIZATION_DESCRIPTORS
-
-
Field Detail
-
INFORMATION_SCHEMA
public static final String INFORMATION_SCHEMA
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static InformationSchemaTable[] 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 (InformationSchemaTable c : InformationSchemaTable.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InformationSchemaTable 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
-
of
public static Optional<InformationSchemaTable> of(SchemaTableName schemaTableName)
-
getTableMetadata
public ConnectorTableMetadata getTableMetadata()
-
getSchemaTableName
public SchemaTableName getSchemaTableName()
-
fromStringValue
public InformationSchemaTable fromStringValue(String value)
-
toStringValue
public String toStringValue()
-
-