# 常量字段值

## 目录

- com.taosdata.*

## com.taosdata.*

com.taosdata.jdbc.TSDBConstants
`public static final int` `BIGINT_PRECISION` `20`
`public static final int` `BOOLEAN_PRECISION` `1`
`public static final boolean` `DEFAULT_BATCH_ERROR_IGNORE` `false`
`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` `11`
`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` `maxFieldSize` `16384`
`public static final int` `SMALLINT_PRECISION` `6`
`public static final int` `TIMESTAMP_MS_PRECISION` `23`
`public static final int` `TIMESTAMP_US_PRECISION` `26`
`public static final int` `TINYINT_PRECISION` `4`
`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_BOOL` `1`
`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_INT` `4`
`public static final int` `TSDB_DATA_TYPE_JSON` `15`
`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_VARCHAR` `8`

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_BATCH_ERROR_IGNORE` `"batchErrorIgnore"`
`public static final String` `PROPERTY_KEY_BATCH_LOAD` `"batchfetch"`
`public static final String` `PROPERTY_KEY_CHARSET` `"charset"`
`public static final String` `PROPERTY_KEY_CONFIG_DIR` `"cfgdir"`
`public static final String` `PROPERTY_KEY_DBNAME` `"dbname"`
`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_PORT` `"port"`
`public static final String` `PROPERTY_KEY_PRODUCT_NAME` `"productName"`
`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"`

com.taosdata.jdbc.TSDBErrorNumbers
`public static final int` `ERROR_BATCH_IS_EMPTY` `8966`
`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_DATABASE_NOT_SPECIFIED_OR_AVAILABLE` `8970`
`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_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_RESTFul_Client_IOException` `8984`
`public static final int` `ERROR_RESTFul_Client_Protocol_Exception` `8983`
`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_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`

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.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_DB` `"td.connect.db"`
`public static final String` `CONNECT_IP` `"td.connect.ip"`
`public static final String` `CONNECT_PASS` `"td.connect.pass"`
`public static final String` `CONNECT_PORT` `"td.connect.port"`
`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 String` `MSG_WITH_TABLE_NAME` `"msg.with.table.name"`
`public static final int` `TMQ_CONF_ERROR` `-103`
`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` `TMQ_UNKNOWN_ERROR` `-999`
`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` `"5000"`
`public static final String` `DEFAULT_HTTP_KEEP_ALIVE` `"true"`
`public static final String` `DEFAULT_MAX_PER_ROUTE` `"20"`

com.taosdata.jdbc.ws.Transport
`public static final int` `DEFAULT_MAX_REQUEST` `100`
`public static final int` `DEFAULT_MESSAGE_WAIT_TIMEOUT` `3000`