# Constant Field Values

## Contents

- com.databricks.*

## com.databricks.*

com.databricks.jdbc.api.impl.DatabricksDatabaseMetaData
`public static final int` `DATABASE_MAJOR_VERSION` `3`
`public static final int` `DATABASE_MINOR_VERSION` `1`
`public static final int` `DATABASE_PATCH_VERSION` `1`
`public static final String` `DRIVER_NAME` `"DatabricksJDBC"`
`public static final String` `NUMERIC_FUNCTIONS` `"ABS,ACOS,ASIN,ATAN,ATAN2,CEILING,COS,COT,DEGREES,EXP,FLOOR,LOG,LOG10,MOD,PI,POWER,RADIANS,RAND,ROUND,SIGN,SIN,SQRT,TAN,TRUNCATE"`
`public static final String` `PRODUCT_NAME` `"SparkSQL"`
`public static final String` `STRING_FUNCTIONS` `"ASCII,CHAR,CHAR_LENGTH,CHARACTER_LENGTH,CONCAT,INSERT,LCASE,LEFT,LENGTH,LOCATE,LOCATE2,LTRIM,OCTET_LENGTH,POSITION,REPEAT,REPLACE,RIGHT,RTRIM,SOUNDEX,SPACE,SUBSTRING,UCASE"`
`public static final String` `SYSTEM_FUNCTIONS` `"DATABASE,IFNULL,USER"`
`public static final String` `TIME_DATE_FUNCTIONS` `"CURDATE,CURRENT_DATE,CURRENT_TIME,CURRENT_TIMESTAMP,CURTIME,DAYNAME,DAYOFMONTH,DAYOFWEEK,DAYOFYEAR,HOUR,MINUTE,MONTH,MONTHNAME,NOW,QUARTER,SECOND,TIMESTAMPADD,TIMESTAMPDIFF,WEEK,YEAR"`

com.databricks.jdbc.api.impl.DatabricksResultSet
`protected static final String` `AFFECTED_ROWS_COUNT` `"num_affected_rows"`

com.databricks.jdbc.auth.AuthConstants
`public static final String` `GRANT_TYPE_KEY` `"grant_type"`
`public static final String` `GRANT_TYPE_REFRESH_TOKEN_KEY` `"refresh_token"`

com.databricks.jdbc.common.DatabricksJdbcConstants
`public static final String` `AAD_CLIENT_ID` `"96eecda7-19ea-49cc-abb5-240097d554f5"`
`public static final String` `ACCESS_TOKEN_AUTH_TYPE` `"pat"`
`public static final String` `ALLOWED_STAGING_INGESTION_PATHS` `"StagingAllowedLocalPaths"`
`public static final String` `ALLOWED_VOLUME_INGESTION_PATHS` `"allowlistedVolumeOperationLocalFilePaths"`
`public static final String` `ASTERISK` `"*"`
`public static final String` `AWS_CLIENT_ID` `"databricks-sql-jdbc"`
`public static final String` `CATALOG` `"catalog"`
`public static final String` `CLIENT_USER_AGENT_PREFIX` `"Java"`
`public static final String` `COMMA` `","`
`public static final int` `DEFAULT_PORT` `443`
`public static final String` `DEFAULT_SCHEMA` `"default"`
`public static final String` `DEFAULT_USER_AGENT` `"DatabricksJDBCDriverOSS"`
`public static final String` `DEFAULT_USERNAME` `"token"`
`public static final String` `EMPTY_STRING` `""`
`public static final String` `FAKE_SERVICE_URI_PROP_SUFFIX` `".fakeServiceURI"`
`public static final String` `FULL_STOP` `"."`
`public static final String` `HTTP` `"http"`
`public static final String` `HTTP_SCHEMA` `"http://"`
`public static final String` `HTTPS` `"https"`
`public static final String` `HTTPS_SCHEMA` `"https://"`
`public static final String` `IDENTIFIER_QUOTE_STRING` `"`"`
`public static final String` `IS_FAKE_SERVICE_TEST_PROP` `"isFakeServiceTest"`
`public static final String` `JDBC_SCHEMA` `"jdbc:databricks://"`
`public static final String` `LOGIN_TIMEOUT` `"loginTimeout"`
`public static final String` `M2M_AUTH_TYPE` `"oauth-m2m"`
`public static final String` `OFFLINE_ACCESS_SCOPE` `"offline_access"`
`public static final String` `PAIR_DELIMITER` `"="`
`public static final String` `PIPE` `"|"`
`public static final String` `PKIX` `"PKIX"`
`public static final String` `PORT` `"port"`
`public static final String` `PORT_DELIMITER` `":"`
`public static final String` `PROCEDURE` `"procedure"`
`public static final String` `SCHEMA` `"schema"`
`public static final String` `SCHEMA_DELIMITER` `"://"`
`public static final String` `SQL_SCOPE` `"sql"`
`public static final String` `TABLE` `"table"`
`public static final String` `TLS` `"TLS"`
`public static final String` `U2M_AUTH_REDIRECT_URL` `"http://localhost:8020"`
`public static final String` `U2M_AUTH_TYPE` `"external-browser"`
`public static final String` `URL_DELIMITER` `";"`
`public static final String` `USER_AGENT_DELIMITER` `"-"`
`public static final String` `USER_AGENT_SEA_CLIENT` `"SQLExecHttpClient-HC"`
`public static final String` `USER_AGENT_THRIFT_CLIENT` `"THttpClient-HC"`
`public static final String` `USER_NAME` `"User"`
`public static final String` `USERNAME_ERROR` `"Username authentication is no longer supported.\n Please use OAuth or access token instead.\n See https://docs.databricks.com/en/integrations/jdbc/oss.html#authenticate-the-driver"`
`public static final String` `VOLUME_OPERATION_STATUS_COLUMN_NAME` `"operation_status"`
`public static final String` `VOLUME_OPERATION_STATUS_SUCCEEDED` `"SUCCEEDED"`

com.databricks.jdbc.common.EnvironmentVariables
`public static final int` `DEFAULT_BYTE_LIMIT` `404857600`
`public static final boolean` `DEFAULT_ESCAPE_PROCESSING` `false`
`public static final int` `DEFAULT_ROW_LIMIT` `2000000`
`public static final int` `DEFAULT_SLEEP_DELAY` `100`
`public static final int` `DEFAULT_STATEMENT_TIMEOUT_SECONDS` `300`

com.databricks.jdbc.common.ErrorCodes
`public static final int` `BATCH_OPERATION_UNSUPPORTED` `1010`
`public static final int` `CHUNK_DOWNLOAD_ERROR` `1001`
`public static final int` `COMMUNICATION_FAILURE` `1005`
`public static final int` `CURSOR_NAME_NOT_FOUND` `1007`
`public static final int` `EXECUTE_METHOD_UNSUPPORTED` `1011`
`public static final int` `EXECUTE_STATEMENT_CANCELLED` `2001`
`public static final int` `EXECUTE_STATEMENT_CLOSED` `2001`
`public static final int` `EXECUTE_STATEMENT_FAILED` `1003`
`public static final int` `MAX_FIELD_SIZE_EXCEEDED` `1006`
`public static final int` `MORE_RESULTS_UNSUPPORTED` `1008`
`public static final int` `POOLABLE_METHOD_UNSUPPORTED` `1012`
`public static final int` `RESULT_SET_ERROR` `1004`
`public static final int` `STATEMENT_CLOSED` `1015`
`public static final int` `STATEMENT_EXECUTION_TIMEOUT` `1014`
`public static final int` `STATEMENT_UNWRAP_UNSUPPORTED` `1013`
`public static final int` `UNSUPPORTED_FETCH_FORWARD` `1009`
`public static final int` `VOLUME_OPERATION_PARSING_ERROR` `1015`

com.databricks.jdbc.common.util.DatabricksTypeUtil
`public static final String` `ARRAY` `"ARRAY"`
`public static final String` `BIGINT` `"BIGINT"`
`public static final String` `BINARY` `"BINARY"`
`public static final String` `BOOLEAN` `"BOOLEAN"`
`public static final String` `BYTE` `"BYTE"`
`public static final String` `DATE` `"DATE"`
`public static final String` `DECIMAL` `"DECIMAL"`
`public static final String` `DOUBLE` `"DOUBLE"`
`public static final String` `FLOAT` `"FLOAT"`
`public static final String` `INT` `"INT"`
`public static final String` `MAP` `"MAP"`
`public static final String` `NULL` `"NULL"`
`public static final String` `SMALLINT` `"SHORT"`
`public static final String` `STRING` `"STRING"`
`public static final String` `STRUCT` `"STRUCT"`
`public static final String` `TIMESTAMP` `"TIMESTAMP"`
`public static final String` `TIMESTAMP_NTZ` `"TIMESTAMP_NTZ"`
`public static final String` `TINYINT` `"TINYINT"`
`public static final String` `VOID` `"VOID"`

com.databricks.jdbc.dbclient.impl.common.CommandConstants
`public static final String` `GET_CATALOGS_STATEMENT_ID` `"getcatalogs-metadata"`
`public static final String` `GET_FUNCTIONS_STATEMENT_ID` `"getfunctions-metadata"`
`public static final String` `GET_TABLE_TYPE_STATEMENT_ID` `"gettabletype-metadata"`
`public static final String` `GET_TABLES_STATEMENT_ID` `"gettables-metadata"`
`public static final String` `GET_TYPE_INFO_STATEMENT_ID` `"typeinfo-metadata"`
`public static final String` `IN_ABSOLUTE_SCHEMA_SQL` `" IN SCHEMA %s"`
`public static final String` `IN_ABSOLUTE_TABLE_SQL` `" IN TABLE %s"`
`public static final String` `IN_CATALOG_SQL` `" IN CATALOG %s"`
`public static final String` `LIKE_SQL` `" LIKE \'%s\'"`
`public static final String` `METADATA_STATEMENT_ID` `"metadata-statement"`
`public static final String` `SCHEMA_LIKE_SQL` `" SCHEMA LIKE \'%s\'"`
`public static final String` `SHOW_CATALOGS_SQL` `"SHOW CATALOGS"`
`public static final String` `SHOW_COLUMNS_SQL` `"SHOW COLUMNS IN CATALOG %s"`
`public static final String` `SHOW_FUNCTIONS_SQL` `"SHOW FUNCTIONS IN CATALOG %s"`
`public static final String` `SHOW_PRIMARY_KEYS_SQL` `"SHOW KEYS IN CATALOG %s IN SCHEMA %s IN TABLE %s"`
`public static final String` `SHOW_SCHEMA_IN_CATALOG_SQL` `"SHOW SCHEMAS IN %s"`
`public static final String` `SHOW_TABLE_TYPES_SQL` `"SHOW TABLE_TYPES"`
`public static final String` `SHOW_TABLES_SQL` `"SHOW TABLES IN CATALOG %s"`
`public static final String` `TABLE_LIKE_SQL` `" TABLE LIKE \'%s\'"`

com.databricks.jdbc.dbclient.impl.http.DatabricksHttpRetryHandler
`public static final int` `DEFAULT_RETRY_COUNT` `5`

com.databricks.jdbc.dbclient.impl.sqlexec.PathConstants
`public static final String` `CANCEL_STATEMENT_PATH_WITH_ID` `"/api/2.0/sql/statements/%s/cancel"`
`public static final String` `RESULT_CHUNK_PATH` `"/api/2.0/sql/statements/%s/result/chunks/%s"`
`public static final String` `SESSION_PATH` `"/api/2.0/sql/sessions/"`
`public static final String` `SESSION_PATH_WITH_ID` `"/api/2.0/sql/sessions/%s"`
`public static final String` `STATEMENT_PATH` `"/api/2.0/sql/statements/"`
`public static final String` `STATEMENT_PATH_WITH_ID` `"/api/2.0/sql/statements/%s"`

com.databricks.jdbc.log.JdbcLoggerFactory
`public static final String` `LOGGER_IMPL_PROPERTY` `"com.databricks.jdbc.loggerImpl"`

com.databricks.jdbc.log.JulLogger
`public static final String` `DATABRICKS_LOG_FILE` `"databricks_jdbc.log"`
`public static final String` `JAVA_UTIL_LOGGING_CONFIG_FILE` `"java.util.logging.config.file"`
`public static final String` `PARENT_CLASS_PREFIX` `"com.databricks.jdbc"`
`public static final String` `STDOUT` `"STDOUT"`

com.databricks.jdbc.model.client.thrift.generated.TCLIServiceConstants
`public static final String` `CHARACTER_MAXIMUM_LENGTH` `"characterMaximumLength"`
`public static final String` `PRECISION` `"precision"`
`public static final String` `SCALE` `"scale"`

com.databricks.jdbc.telemetry.MetricsConstants
`public static final String` `CHARSET_ENCODING` `"charset_encoding"`
`public static final String` `CONNECTION_CONFIG` `"connection_config"`
`public static final String` `DRIVER_VERSION` `"driver_version"`
`public static final String` `ERROR_CODE` `"error_code"`
`public static final String` `ERROR_LOGGING_URL` `"https://aa87314c1e33d4c1f91a919f8cf9c4ba-387609431.us-west-2.elb.amazonaws.com:443/api/2.0/oss-sql-driver-telemetry/logs"`
`public static final String` `JVM_IMPL_VERSION` `"jvm_impl_version"`
`public static final String` `JVM_NAME` `"jvm_name"`
`public static final String` `JVM_SPEC_VERSION` `"jvm_spec_version"`
`public static final String` `JVM_VENDOR` `"jvm_vendor"`
`public static final String` `LOCALE_NAME` `"locale_name"`
`public static final String` `METRICS_MAP_STRING` `"metrics_map"`
`public static final String` `METRICS_TYPE` `"metrics_type"`
`public static final String` `METRICS_URL` `"https://aa87314c1e33d4c1f91a919f8cf9c4ba-387609431.us-west-2.elb.amazonaws.com:443/api/2.0/oss-sql-driver-telemetry/metrics"`
`public static final String` `OS_ARCH` `"os_arch"`
`public static final String` `OS_NAME` `"os_name"`
`public static final String` `OS_VERSION` `"os_version"`
`public static final String` `SQL_QUERY_ID` `"sql_query_id"`
`public static final String` `TELEMETRY_BASE_URL` `"https://aa87314c1e33d4c1f91a919f8cf9c4ba-387609431.us-west-2.elb.amazonaws.com:443"`
`public static final String` `TIMESTAMP` `"timestamp"`
`public static final String` `USAGE_METRICS_URL` `"https://aa87314c1e33d4c1f91a919f8cf9c4ba-387609431.us-west-2.elb.amazonaws.com:443/api/2.0/oss-sql-driver-telemetry/usageMetrics"`
`public static final String` `WORKSPACE_ID` `"workspace_id"`