Package com.databricks.jdbc.common
Enum DatabricksJdbcConstants.FakeServiceType
- java.lang.Object
-
- java.lang.Enum<DatabricksJdbcConstants.FakeServiceType>
-
- com.databricks.jdbc.common.DatabricksJdbcConstants.FakeServiceType
-
- All Implemented Interfaces:
Serializable,Comparable<DatabricksJdbcConstants.FakeServiceType>
- Enclosing class:
- DatabricksJdbcConstants
public static enum DatabricksJdbcConstants.FakeServiceType extends Enum<DatabricksJdbcConstants.FakeServiceType>
Enum for the services that can be replaced with a fake service in integration tests.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLOUD_FETCHCLOUD_FETCH_SQL_GATEWAYCLOUD_FETCH_THRIFT_SERVERCLOUD_FETCH_UC_VOLUMEJWT_TOKEN_ENDPOINTSQL_EXECSQL_GATEWAYTHRIFT_SERVER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DatabricksJdbcConstants.FakeServiceTypevalueOf(String name)Returns the enum constant of this type with the specified name.static DatabricksJdbcConstants.FakeServiceType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SQL_EXEC
public static final DatabricksJdbcConstants.FakeServiceType SQL_EXEC
-
CLOUD_FETCH
public static final DatabricksJdbcConstants.FakeServiceType CLOUD_FETCH
-
SQL_GATEWAY
public static final DatabricksJdbcConstants.FakeServiceType SQL_GATEWAY
-
THRIFT_SERVER
public static final DatabricksJdbcConstants.FakeServiceType THRIFT_SERVER
-
CLOUD_FETCH_SQL_GATEWAY
public static final DatabricksJdbcConstants.FakeServiceType CLOUD_FETCH_SQL_GATEWAY
-
CLOUD_FETCH_THRIFT_SERVER
public static final DatabricksJdbcConstants.FakeServiceType CLOUD_FETCH_THRIFT_SERVER
-
CLOUD_FETCH_UC_VOLUME
public static final DatabricksJdbcConstants.FakeServiceType CLOUD_FETCH_UC_VOLUME
-
JWT_TOKEN_ENDPOINT
public static final DatabricksJdbcConstants.FakeServiceType JWT_TOKEN_ENDPOINT
-
-
Method Detail
-
values
public static DatabricksJdbcConstants.FakeServiceType[] 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 (DatabricksJdbcConstants.FakeServiceType c : DatabricksJdbcConstants.FakeServiceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DatabricksJdbcConstants.FakeServiceType 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
-
-