Package org.apache.arrow.adbc.core
Enum AdbcConnection.GetObjectsDepth
java.lang.Object
java.lang.Enum<AdbcConnection.GetObjectsDepth>
org.apache.arrow.adbc.core.AdbcConnection.GetObjectsDepth
- All Implemented Interfaces:
Serializable
,Comparable<AdbcConnection.GetObjectsDepth>
- Enclosing interface:
- AdbcConnection
The level of nesting to retrieve for
AdbcConnection.getObjects(GetObjectsDepth, String, String, String, String[], String)
.-
Enum Constant Summary
Enum ConstantDescriptionDisplay ALL objects (catalog, database schemas, tables, and columns).Display only catalogs.Display catalogs and database schemas.Display catalogs, database schemas, and tables. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static AdbcConnection.GetObjectsDepth[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ALL
Display ALL objects (catalog, database schemas, tables, and columns). -
CATALOGS
Display only catalogs. -
DB_SCHEMAS
Display catalogs and database schemas. -
TABLES
Display catalogs, database schemas, and tables.
-
-
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
-