# Constant Field Values

## Contents

- com.taosdata.*

## com.taosdata.*

com.taosdata.jdbc.AbstractDatabaseMetaData
`public static final String` `NUMERIC_FUNCTIONS` `"ABS,ACOS,ASIN,ATAN,CEIL,COS,FLOOR,LOG,POW,ROUND,SIN,SQRT,TAN"`
`public static final String` `STRING_FUNCTIONS` `"CHAR_LENGTH,CONCAT,CONCAT_WS,LENGTH,LOWER,LTRIM,RTRIM,SUBSTR,UPPER"`
`public static final String` `SYSTEM_FUNCTIONS` `"DATABASE,CLIENT_VERSION,SERVER_VERSION,SERVER_STATUS,CURRENT_USER"`
`public static final String` `TIME_DATE_FUNCTIONS` `"NOW,TIMEDIFF,TIMETRUNCATE,TIMEZONE,TODAY"`

com.taosdata.jdbc.AbstractResultSet
`protected final int` `START_BACKEND_FETCH_BLOCK_NUM` `3`

com.taosdata.jdbc.TSDBConstants
`public static final int` `BIGINT_PRECISION` `19`
`public static final int` `BOOLEAN_PRECISION` `1`
`public static final int` `DECIMAL128_PRECISION` `38`
`public static final int` `DECIMAL64_PRECISION` `18`
`public static final boolean` `DEFAULT_BATCH_ERROR_IGNORE` `false`
`public static final int` `DEFAULT_MESSAGE_WAIT_TIMEOUT` `60000`
`public static final String` `DEFAULT_PRECISION` `"ms"`
`public static final int` `DOUBLE_PRECISION` `22`
`public static final int` `DOUBLE_SCALE` `31`
`public static final int` `FLOAT_PRECISION` `12`
`public static final int` `FLOAT_SCALE` `31`
`public static final int` `INT_PRECISION` `10`
`public static final int` `JNI_CONNECTION_NULL` `-2`
`public static final int` `JNI_FETCH_END` `-6`
`public static final long` `JNI_NULL_POINTER` `0L`
`public static final int` `JNI_NUM_OF_FIELDS_0` `-4`
`public static final int` `JNI_OUT_OF_MEMORY` `-7`
`public static final int` `JNI_RESULT_SET_NULL` `-3`
`public static final int` `JNI_SQL_NULL` `-5`
`public static final int` `JNI_SUCCESS` `0`
`public static final int` `JNI_TDENGINE_ERROR` `-1`
`public static final int` `MAX_FIELD_SIZE` `16384`
`public static final short` `MAX_UNSIGNED_BYTE` `255`
`public static final long` `MAX_UNSIGNED_INT` `4294967295L`
`public static final String` `MAX_UNSIGNED_LONG` `"18446744073709551615"`
`public static final int` `MAX_UNSIGNED_SHORT` `65535`
`public static final String` `MIN_BLOB_SUPPORT_VERSION` `"3.3.7.0.alpha"`
`public static final String` `MIN_SUPPORT_VERSION` `"3.3.6.0"`
`public static final int` `SMALLINT_PRECISION` `5`
`public static final int` `TIMESTAMP_DATA_OUT_OF_RANGE` `1547`
`public static final int` `TIMESTAMP_MS_PRECISION` `23`
`public static final int` `TIMESTAMP_US_PRECISION` `26`
`public static final int` `TINYINT_PRECISION` `3`
`public static final int` `TMQ_CONF_KEY_NULL` `-101`
`public static final int` `TMQ_CONF_NULL` `-100`
`public static final int` `TMQ_CONF_VALUE_NULL` `-102`
`public static final int` `TMQ_CONSUMER_CREATE_ERROR` `-121`
`public static final int` `TMQ_CONSUMER_NULL` `-120`
`public static final int` `TMQ_SUCCESS` `0`
`public static final int` `TMQ_TOPIC_NAME_NULL` `-111`
`public static final int` `TMQ_TOPIC_NULL` `-110`
`public static final int` `TSDB_DATA_TYPE_BIGINT` `5`
`public static final int` `TSDB_DATA_TYPE_BINARY` `8`
`public static final int` `TSDB_DATA_TYPE_BLOB` `18`
`public static final int` `TSDB_DATA_TYPE_BOOL` `1`
`public static final int` `TSDB_DATA_TYPE_DECIMAL128` `17`
`public static final int` `TSDB_DATA_TYPE_DECIMAL64` `21`
`public static final int` `TSDB_DATA_TYPE_DOUBLE` `7`
`public static final int` `TSDB_DATA_TYPE_FLOAT` `6`
`public static final int` `TSDB_DATA_TYPE_GEOMETRY` `20`
`public static final int` `TSDB_DATA_TYPE_INT` `4`
`public static final int` `TSDB_DATA_TYPE_JSON` `15`
`public static final int` `TSDB_DATA_TYPE_MEDIUMBLOB` `19`
`public static final int` `TSDB_DATA_TYPE_NCHAR` `10`
`public static final int` `TSDB_DATA_TYPE_NULL` `0`
`public static final int` `TSDB_DATA_TYPE_SMALLINT` `3`
`public static final int` `TSDB_DATA_TYPE_TIMESTAMP` `9`
`public static final int` `TSDB_DATA_TYPE_TINYINT` `2`
`public static final int` `TSDB_DATA_TYPE_UBIGINT` `14`
`public static final int` `TSDB_DATA_TYPE_UINT` `13`
`public static final int` `TSDB_DATA_TYPE_USMALLINT` `12`
`public static final int` `TSDB_DATA_TYPE_UTINYINT` `11`
`public static final int` `TSDB_DATA_TYPE_VARBINARY` `16`
`public static final int` `TSDB_DATA_TYPE_VARCHAR` `8`
`public static final String` `UNKNOWN_VERSION` `"unknown"`
`public static final int` `UNSIGNED_BIGINT_PRECISION` `20`
`public static final int` `UNSIGNED_INT_PRECISION` `10`
`public static final int` `UNSIGNED_SMALLINT_PRECISION` `5`
`public static final int` `UNSIGNED_TINYINT_PRECISION` `3`

com.taosdata.jdbc.TSDBDriver
`public static final String` `HTTP_CONNECT_TIMEOUT` `"httpConnectTimeout"`
`public static final String` `HTTP_KEEP_ALIVE` `"httpKeepAlive"`
`public static final String` `HTTP_POOL_SIZE` `"httpPoolSize"`
`public static final String` `HTTP_SOCKET_TIMEOUT` `"httpSocketTimeout"`
`public static final String` `PROPERTY_KEY_APP_IP` `"app_ip"`
`public static final String` `PROPERTY_KEY_APP_NAME` `"app_name"`
`public static final String` `PROPERTY_KEY_ASYNC_WRITE` `"asyncWrite"`
`public static final String` `PROPERTY_KEY_BACKEND_WRITE_THREAD_NUM` `"backendWriteThreadNum"`
`public static final String` `PROPERTY_KEY_BATCH_ERROR_IGNORE` `"batchErrorIgnore"`
`public static final String` `PROPERTY_KEY_BATCH_LOAD` `"batchfetch"`
`public static final String` `PROPERTY_KEY_BATCH_SIZE_BY_ROW` `"batchSizeByRow"`
`public static final String` `PROPERTY_KEY_BEARER_TOKEN` `"bearerToken"`
`public static final String` `PROPERTY_KEY_CACHE_SIZE_BY_ROW` `"cacheSizeByRow"`
`public static final String` `PROPERTY_KEY_CHARSET` `"charset"`
`public static final String` `PROPERTY_KEY_CONFIG_DIR` `"cfgdir"`
`public static final String` `PROPERTY_KEY_CONNECT_MODE` `"conmode"`
`public static final String` `PROPERTY_KEY_COPY_DATA` `"copyData"`
`public static final String` `PROPERTY_KEY_DBNAME` `"dbname"`
`public static final String` `PROPERTY_KEY_DISABLE_SSL_CERT_VALIDATION` `"disableSSLCertValidation"`
`public static final String` `PROPERTY_KEY_ENABLE_AUTO_RECONNECT` `"enableAutoReconnect"`
`public static final String` `PROPERTY_KEY_ENABLE_COMPRESSION` `"enableCompression"`
`public static final String` `PROPERTY_KEY_ENDPOINTS` `"endpoints"`
`public static final String` `PROPERTY_KEY_HEALTH_CHECK_CMD_TIMEOUT` `"healthCheckCmdTimeout"`
`public static final String` `PROPERTY_KEY_HEALTH_CHECK_CON_TIMEOUT` `"healthCheckConTimeout"`
`public static final String` `PROPERTY_KEY_HEALTH_CHECK_INIT_INTERVAL` `"healthCheckInitInterval"`
`public static final String` `PROPERTY_KEY_HEALTH_CHECK_MAX_INTERVAL` `"healthCheckMaxInterval"`
`public static final String` `PROPERTY_KEY_HEALTH_CHECK_RECOVERY_COUNT` `"healthCheckRecoveryCount"`
`public static final String` `PROPERTY_KEY_HEALTH_CHECK_RECOVERY_INTERVAL` `"healthCheckRecoveryInterval"`
`public static final String` `PROPERTY_KEY_HOST` `"host"`
`public static final String` `PROPERTY_KEY_LOCALE` `"locale"`
`public static final String` `PROPERTY_KEY_MAX_CONCURRENT_REQUEST` `"maxConcurrentRequest"`
`public static final String` `PROPERTY_KEY_MESSAGE_WAIT_TIMEOUT` `"messageWaitTimeout"`
`public static final String` `PROPERTY_KEY_PASSWORD` `"password"`
`public static final String` `PROPERTY_KEY_PBS_MODE` `"pbsMode"`
`public static final String` `PROPERTY_KEY_PORT` `"port"`
`public static final String` `PROPERTY_KEY_PRODUCT_NAME` `"productName"`
`public static final String` `PROPERTY_KEY_REBALANCE_CON_BASE_COUNT` `"rebalanceConBaseCount"`
`public static final String` `PROPERTY_KEY_REBALANCE_THRESHOLD` `"rebalanceThreshold"`
`public static final String` `PROPERTY_KEY_RECONNECT_INTERVAL_MS` `"reconnectIntervalMs"`
`public static final String` `PROPERTY_KEY_RECONNECT_RETRY_COUNT` `"reconnectRetryCount"`
`public static final String` `PROPERTY_KEY_RETRY_TIMES` `"retryTimes"`
`public static final String` `PROPERTY_KEY_SLAVE_CLUSTER_HOST` `"slaveClusterHost"`
`public static final String` `PROPERTY_KEY_SLAVE_CLUSTER_PORT` `"slaveClusterPort"`
`public static final String` `PROPERTY_KEY_STRICT_CHECK` `"strictCheck"`
`public static final String` `PROPERTY_KEY_TIME_ZONE` `"timezone"`
`public static final String` `PROPERTY_KEY_TOKEN` `"token"`
`public static final String` `PROPERTY_KEY_USE_SSL` `"useSSL"`
`public static final String` `PROPERTY_KEY_USER` `"user"`
`public static final String` `PROPERTY_KEY_VARCHAR_AS_STRING` `"varcharAsString"`
`public static final String` `PROPERTY_KEY_WS_KEEP_ALIVE_SECONDS` `"wsKeepAlive"`
`public static final String` `URL_PREFIX` `"jdbc:TAOS://"`

com.taosdata.jdbc.TSDBErrorNumbers
`public static final int` `ERROR_BATCH_IS_EMPTY` `8966`
`public static final int` `ERROR_BLOB_UNSUPPORTED_IN_SERVER` `8995`
`public static final int` `ERROR_CANNOT_REGISTER_JNI_DRIVER` `8976`
`public static final int` `ERROR_CANNOT_REGISTER_RESTFUL_DRIVER` `8977`
`public static final int` `ERROR_CONNECTION_CLOSED` `8961`
`public static final int` `ERROR_CONNECTION_TIMEOUT` `8989`
`public static final int` `ERROR_DATABASE_NOT_SPECIFIED_OR_AVAILABLE` `8970`
`public static final int` `ERROR_FW_WRITE_ERROR` `9104`
`public static final int` `ERROR_HTTP_ENTITY_IS_NULL` `8988`
`public static final int` `ERROR_INVALID_FOR_EXECUTE` `8972`
`public static final int` `ERROR_INVALID_FOR_EXECUTE_QUERY` `8969`
`public static final int` `ERROR_INVALID_FOR_EXECUTE_UPDATE` `8971`
`public static final int` `ERROR_INVALID_JSON_FORMAT` `8987`
`public static final int` `ERROR_INVALID_SQL` `8979`
`public static final int` `ERROR_INVALID_VARIABLE` `8963`
`public static final int` `ERROR_INVALID_WITH_EXECUTEQUERY` `8967`
`public static final int` `ERROR_INVALID_WITH_EXECUTEUPDATE` `8968`
`public static final int` `ERROR_JNI_CONNECTION_NULL` `9044`
`public static final int` `ERROR_JNI_FETCH_END` `9048`
`public static final int` `ERROR_JNI_NUM_OF_FIELDS_0` `9046`
`public static final int` `ERROR_JNI_OUT_OF_MEMORY` `9049`
`public static final int` `ERROR_JNI_RESULT_SET_NULL` `9045`
`public static final int` `ERROR_JNI_SQL_NULL` `9047`
`public static final int` `ERROR_JNI_TDENGINE_ERROR` `9043`
`public static final int` `ERROR_LINE_BIND_MODE_UNSUPPORTED_IN_SERVER` `8996`
`public static final int` `ERROR_NUMERIC_VALUE_OUT_OF_RANGE` `8980`
`public static final int` `ERROR_PARAMETER_INDEX_OUT_RANGE` `8973`
`public static final int` `ERROR_PASSWORD_IS_REQUIRED` `8986`
`public static final int` `ERROR_QUERY_TIMEOUT` `8990`
`public static final int` `ERROR_RESOURCE_FREEED` `8994`
`public static final int` `ERROR_RESTFUL_CLIENT_IOEXCEPTION` `8984`
`public static final int` `ERROR_RESTFUL_CLIENT_PROTOCOL_EXCEPTION` `8983`
`public static final int` `ERROR_RESTFUL_CLIENT_QUERY_EXCEPTION` `8991`
`public static final int` `ERROR_RESULTSET_CLOSED` `8965`
`public static final int` `ERROR_SQLCLIENT_EXCEPTION_ON_CONNECTION_CLOSED` `8974`
`public static final int` `ERROR_STATEMENT_CLOSED` `8964`
`public static final int` `ERROR_SUBSCRIBE_FAILED` `9041`
`public static final int` `ERROR_TMQ_CONF_ERROR` `9076`
`public static final int` `ERROR_TMQ_CONF_KEY_NULL` `9074`
`public static final int` `ERROR_TMQ_CONF_NULL` `9073`
`public static final int` `ERROR_TMQ_CONF_VALUE_NULL` `9075`
`public static final int` `ERROR_TMQ_CONSUMER_CREATE_ERROR` `9080`
`public static final int` `ERROR_TMQ_CONSUMER_NULL` `9079`
`public static final int` `ERROR_TMQ_SEEK_OFFSET` `9081`
`public static final int` `ERROR_TMQ_TOPIC_NAME_NULL` `9078`
`public static final int` `ERROR_TMQ_TOPIC_NULL` `9077`
`public static final int` `ERROR_TMQ_VGROUP_NOT_FOUND` `9082`
`public static final int` `ERROR_TYPE_CONVERT_EXCEPTION` `8992`
`public static final int` `ERROR_UNKNOWN` `9040`
`public static final int` `ERROR_UNKNOWN_SQL_TYPE_IN_TDENGINE` `8975`
`public static final int` `ERROR_UNKNOWN_TAOS_TYPE` `8981`
`public static final int` `ERROR_UNKNOWN_TIMESTAMP_PRECISION` `8982`
`public static final int` `ERROR_UNSUPPORTED_ENCODING` `9042`
`public static final int` `ERROR_UNSUPPORTED_METHOD` `8962`
`public static final int` `ERROR_URL_NOT_SET` `8978`
`public static final int` `ERROR_USER_IS_REQUIRED` `8985`
`public static final int` `ERROR_VERSION_INCOPMATIABLE` `8993`
`public static final int` `ERROR_WS_MSG_NEED_RESEND` `9105`

com.taosdata.jdbc.common.ConnectionParam
`public static final int` `CONNECT_MODE_BI` `1`

com.taosdata.jdbc.enums.TimestampPrecision
`public static final int` `MS` `0`
`public static final int` `NS` `2`
`public static final int` `UNKNOWN` `9999`
`public static final int` `US` `1`

com.taosdata.jdbc.rs.RestfulDriver
`public static final String` `URL_PREFIX` `"jdbc:TAOS-RS://"`

com.taosdata.jdbc.tmq.TMQConstants
`public static final String` `AUTO_COMMIT_INTERVAL` `"auto.commit.interval.ms"`
`public static final String` `AUTO_OFFSET_RESET` `"auto.offset.reset"`
`public static final String` `BOOTSTRAP_SERVERS` `"bootstrap.servers"`
`public static final String` `CLIENT_ID` `"client.id"`
`public static final String` `CONNECT_IP` `"td.connect.ip"`
`public static final String` `CONNECT_MAX_REQUEST` `"httpPoolSize"`
`public static final String` `CONNECT_MESSAGE_TIMEOUT` `"messageWaitTimeout"`
`public static final String` `CONNECT_PASS` `"td.connect.pass"`
`public static final String` `CONNECT_PORT` `"td.connect.port"`
`public static final String` `CONNECT_TIMEOUT` `"httpConnectTimeout"`
`public static final String` `CONNECT_TOKEN` `"token"`
`public static final String` `CONNECT_TYPE` `"td.connect.type"`
`public static final String` `CONNECT_URL` `"url"`
`public static final String` `CONNECT_USE_SSL` `"useSSL"`
`public static final String` `CONNECT_USER` `"td.connect.user"`
`public static final String` `ENABLE_AUTO_COMMIT` `"enable.auto.commit"`
`public static final String` `GROUP_ID` `"group.id"`
`public static final int` `INVALID_OFFSET` `-2147467247`
`public static final String` `MSG_ENABLE_BATCH_META` `"enable_batch_meta"`
`public static final String` `MSG_WITH_TABLE_NAME` `"msg.with.table.name"`
`public static final String` `VALUE_DESERIALIZER` `"value.deserializer"`
`public static final String` `VALUE_DESERIALIZER_ENCODING` `"value.deserializer.encoding"`

com.taosdata.jdbc.utils.HttpClientPoolUtil
`public static final String` `DEFAULT_CONNECT_TIMEOUT` `"60000"`
`public static final String` `DEFAULT_HTTP_KEEP_ALIVE` `"true"`
`public static final String` `DEFAULT_MAX_PER_ROUTE` `"20"`
`public static final String` `DEFAULT_SOCKET_TIMEOUT` `"60000"`

com.taosdata.jdbc.ws.Transport
`public static final String` `ERROR_MSG_CONNECTION_CLOSED` `"Websocket Not Connected Exception for connection closed"`
`public static final int` `TSDB_CODE_RPC_NETWORK_UNAVAIL` `11`
`public static final int` `TSDB_CODE_RPC_SOMENODE_NOT_CONNECTED` `32`

com.taosdata.jdbc.ws.WebSocketDriver
`public static final String` `URL_PREFIX` `"jdbc:TAOS-WS://"`