Enum MetaDataOperation
- All Implemented Interfaces:
Serializable,Comparable<MetaDataOperation>,java.lang.constant.Constable
Identifies an operation from
DatabaseMetaData which returns a ResultSet. This
enum is used to allow clients to request the server to re-instantiate a ResultSet for
these operations which do not have a SQL string associated with them as a normal query does.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic MetaDataOperationfromProto(org.apache.calcite.avatica.proto.Common.MetaDataOperation protoOp) org.apache.calcite.avatica.proto.Common.MetaDataOperationtoProto()static MetaDataOperationReturns the enum constant of this type with the specified name.static MetaDataOperation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
GET_ATTRIBUTES
-
GET_BEST_ROW_IDENTIFIER
-
GET_CATALOGS
-
GET_CLIENT_INFO_PROPERTIES
-
GET_COLUMN_PRIVILEGES
-
GET_COLUMNS
-
GET_CROSS_REFERENCE
-
GET_EXPORTED_KEYS
-
GET_FUNCTION_COLUMNS
-
GET_FUNCTIONS
-
GET_IMPORTED_KEYS
-
GET_INDEX_INFO
-
GET_PRIMARY_KEYS
-
GET_PROCEDURE_COLUMNS
-
GET_PROCEDURES
-
GET_PSEUDO_COLUMNS
-
GET_SCHEMAS
-
GET_SCHEMAS_WITH_ARGS
-
GET_SUPER_TABLES
-
GET_SUPER_TYPES
-
GET_TABLE_PRIVILEGES
-
GET_TABLES
-
GET_TABLE_TYPES
-
GET_TYPE_INFO
-
GET_UDTS
-
GET_VERSION_COLUMNS
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
toProto
public org.apache.calcite.avatica.proto.Common.MetaDataOperation toProto() -
fromProto
public static MetaDataOperation fromProto(org.apache.calcite.avatica.proto.Common.MetaDataOperation protoOp)
-