# 常量字段值

## 目录

- 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 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_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`

com.taosdata.jdbc.TSDBDriver
`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_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_TIMESTAMP_FORMAT` `"timestampFormat"`
`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_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_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_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_IN_TDENGINE` `8981`
`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`