类 TableStorageConstants
- java.lang.Object
-
- com.baidubce.services.tablestorage.TableStorageConstants
-
public class TableStorageConstants extends Object
TableStorageConstants used by the Baidu TableStorage Java client.
-
-
字段概要
字段 修饰符和类型 字段 说明 static StringCONTENT_TYPE_JSONContent type json in HTTP headerstatic intCREATE_TABLE_VERSIONTableVersion's value.static StringDEFAULT_ENCODINGDefault encoding used for text datastatic intDEFAULT_LIVE_TIMETimeToLive's value.static intDEFAULT_MAX_VERSIONSDefault MaxVersions.static StringDEFAULT_START_ROWKEYDefault startRowkey in ScanRequest.static StringDEFAULT_STOP_ROWKEYDefault stopRowkey in ScanRequest.static intDEFAULT_TABLE_MAX_VERSIONSDefault MaxVersions.static StringEMPTY_JSON_STREmpty Json String.static StringEMPTY_STORAGE_TYPEstorageType's value is empty.static intFORERVER_LIVE_TIMETimeToLive's value.static String[]INSTANCE_NAME_NOT_CONTAIN_WORDSThe InstanceName should not contain these wordsstatic String[]INSTANCE_NAME_NOT_START_WITH_WORDSThe InstanceName should not start with these wordsstatic StringJSON_CELLSThe cells key in json responsestatic StringJSON_COLUMNThe column key in json responsestatic StringJSON_COMPRESS_TYPEThe compress type key in json responsestatic StringJSON_CREATE_TIMEThe create time key in json responsestatic StringJSON_END_KEYThe stop key ranges key in json responsestatic StringJSON_INSTANCEThe instance key in json responsestatic StringJSON_KEY_RANGESThe keyRanges key in json responsestatic StringJSON_MAX_VERSIONSThe max version key in json responsestatic StringJSON_NEXT_START_KEYThe next_start_key key in json responsestatic StringJSON_RESULTThe result key in json responsestatic StringJSON_ROWKEYThe rowkey key in json responsestatic StringJSON_START_KEYThe start key ranges key in json responsestatic StringJSON_STORAGE_TYPEThe storage type key in json responsestatic StringJSON_TABLE_NAMEThe table name key in json responsestatic StringJSON_TABLE_STATEThe table state key in json responsestatic StringJSON_TABLE_VERSIONThe table version key in json responsestatic StringJSON_TABLESThe tables key in json responsestatic StringJSON_TIMESTAMPThe timestamp key in json responsestatic StringJSON_TTLThe ttl key in json responsestatic StringJSON_VALUEThe value key in json responsestatic intMAX_CELL_VALUE_SIZEMax cell value sizestatic intMAX_READ_CELL_NUMMax cell num in GetRow, BatchGetRow and Scanstatic intMAX_READ_ROW_NUMMax row num in BatchGetRowstatic intMAX_REQUEST_BODY_SIZEMax body size in requeststatic intMAX_ROW_SIZEMax row size.static StringMAX_ROWKEYMax rowkey in TableStoragestatic intMAX_ROWKEY_SIZEMax rowkey sizestatic intMAX_WRITE_CELL_NUMMax cell num in PutRow, DeleteRow, BatchPutRow and BatchDeleteRowstatic intMAX_WRITE_ROW_NUMMax row num in BatchPutRow and BatchDeleteRowstatic intMIN_TABLE_MAX_VERSIONSMinimum value of MaxVersions.static intMIN_VALID_LIVE_TIMEMinimum value of TimeToLive which is set to 23 hoursstatic StringNAME_PATTERN_STRThe InstanceName, TableName and ColumnName should satisfy the regular expressionprotected static StringONLY_STATEOnly get table state in ShowTable operationstatic StringSTORAGE_TYPE_COMMON_PERFORMANCEstorageType's value is CommonPerformance.static StringSTORAGE_TYPE_HIGH_PERFORMANCEstorageType's value is HighPerformance.static StringURI_INSTANCEThe instance resource identification in urlstatic StringURI_ROWThe row resource identification in urlstatic StringURI_ROWSThe rows resource identification in urlprotected static StringURI_SLICESThe slices resource identification in urlstatic StringURI_TABLEThe table resource identification in urlstatic StringURI_TABLESThe tables resource identification in urlstatic StringURL_PREFIXURL prefix of bts servicestatic StringX_BCE_BTS_METHOD_DELETEDelete Method in HTTP headerstatic StringX_BCE_BTS_METHOD_GETGet Method in HTTP headerstatic StringX_BCE_BTS_METHOD_KEYThe bts service identification in HTTP header.static StringX_BCE_BTS_METHOD_PUTPut Method in HTTP header
-
构造器概要
构造器 构造器 说明 TableStorageConstants()
-
-
-
字段详细资料
-
DEFAULT_ENCODING
public static String DEFAULT_ENCODING
Default encoding used for text data
-
CONTENT_TYPE_JSON
public static final String CONTENT_TYPE_JSON
Content type json in HTTP header- 另请参阅:
- 常量字段值
-
MAX_ROWKEY
public static final String MAX_ROWKEY
Max rowkey in TableStorage
-
CREATE_TABLE_VERSION
public static final int CREATE_TABLE_VERSION
TableVersion's value. Used in createTable operation.- 另请参阅:
- 常量字段值
-
EMPTY_STORAGE_TYPE
public static final String EMPTY_STORAGE_TYPE
storageType's value is empty. Used in createTable operation.- 另请参阅:
- 常量字段值
-
STORAGE_TYPE_HIGH_PERFORMANCE
public static final String STORAGE_TYPE_HIGH_PERFORMANCE
storageType's value is HighPerformance. Used in createTable operation.- 另请参阅:
- 常量字段值
-
STORAGE_TYPE_COMMON_PERFORMANCE
public static final String STORAGE_TYPE_COMMON_PERFORMANCE
storageType's value is CommonPerformance. Used in createTable operation.- 另请参阅:
- 常量字段值
-
MIN_VALID_LIVE_TIME
public static final int MIN_VALID_LIVE_TIME
Minimum value of TimeToLive which is set to 23 hours- 另请参阅:
- 常量字段值
-
FORERVER_LIVE_TIME
public static final int FORERVER_LIVE_TIME
TimeToLive's value. Indicates that the data is always valid until it is deleted.- 另请参阅:
- 常量字段值
-
DEFAULT_LIVE_TIME
public static final int DEFAULT_LIVE_TIME
TimeToLive's value. In CreateTable operations, it is equal to FORERVER_LIVE_TIME. In UpdateTable operations, it means don't update TimeToLive's value.- 另请参阅:
- 常量字段值
-
DEFAULT_TABLE_MAX_VERSIONS
public static final int DEFAULT_TABLE_MAX_VERSIONS
Default MaxVersions. Used in TableOption.- 另请参阅:
- 常量字段值
-
MIN_TABLE_MAX_VERSIONS
public static final int MIN_TABLE_MAX_VERSIONS
Minimum value of MaxVersions. Used in TableOption.- 另请参阅:
- 常量字段值
-
DEFAULT_MAX_VERSIONS
public static final int DEFAULT_MAX_VERSIONS
Default MaxVersions. Used in get, batchGet and scan operations.- 另请参阅:
- 常量字段值
-
DEFAULT_START_ROWKEY
public static final String DEFAULT_START_ROWKEY
Default startRowkey in ScanRequest.- 另请参阅:
- 常量字段值
-
DEFAULT_STOP_ROWKEY
public static final String DEFAULT_STOP_ROWKEY
Default stopRowkey in ScanRequest.
-
X_BCE_BTS_METHOD_KEY
public static final String X_BCE_BTS_METHOD_KEY
The bts service identification in HTTP header.- 另请参阅:
- 常量字段值
-
X_BCE_BTS_METHOD_GET
public static final String X_BCE_BTS_METHOD_GET
Get Method in HTTP header- 另请参阅:
- 常量字段值
-
X_BCE_BTS_METHOD_PUT
public static final String X_BCE_BTS_METHOD_PUT
Put Method in HTTP header- 另请参阅:
- 常量字段值
-
X_BCE_BTS_METHOD_DELETE
public static final String X_BCE_BTS_METHOD_DELETE
Delete Method in HTTP header- 另请参阅:
- 常量字段值
-
URI_INSTANCE
public static final String URI_INSTANCE
The instance resource identification in url- 另请参阅:
- 常量字段值
-
URI_TABLES
public static final String URI_TABLES
The tables resource identification in url- 另请参阅:
- 常量字段值
-
URI_SLICES
protected static final String URI_SLICES
The slices resource identification in url- 另请参阅:
- 常量字段值
-
ONLY_STATE
protected static final String ONLY_STATE
Only get table state in ShowTable operation- 另请参阅:
- 常量字段值
-
NAME_PATTERN_STR
public static final String NAME_PATTERN_STR
The InstanceName, TableName and ColumnName should satisfy the regular expression- 另请参阅:
- 常量字段值
-
INSTANCE_NAME_NOT_CONTAIN_WORDS
public static final String[] INSTANCE_NAME_NOT_CONTAIN_WORDS
The InstanceName should not contain these words
-
INSTANCE_NAME_NOT_START_WITH_WORDS
public static final String[] INSTANCE_NAME_NOT_START_WITH_WORDS
The InstanceName should not start with these words
-
MAX_WRITE_ROW_NUM
public static final int MAX_WRITE_ROW_NUM
Max row num in BatchPutRow and BatchDeleteRow- 另请参阅:
- 常量字段值
-
MAX_READ_ROW_NUM
public static final int MAX_READ_ROW_NUM
Max row num in BatchGetRow- 另请参阅:
- 常量字段值
-
MAX_ROWKEY_SIZE
public static final int MAX_ROWKEY_SIZE
Max rowkey size- 另请参阅:
- 常量字段值
-
MAX_ROW_SIZE
public static final int MAX_ROW_SIZE
Max row size. Row size is equal to the sum of cell sizes- 另请参阅:
- 常量字段值
-
MAX_WRITE_CELL_NUM
public static final int MAX_WRITE_CELL_NUM
Max cell num in PutRow, DeleteRow, BatchPutRow and BatchDeleteRow- 另请参阅:
- 常量字段值
-
MAX_READ_CELL_NUM
public static final int MAX_READ_CELL_NUM
Max cell num in GetRow, BatchGetRow and Scan- 另请参阅:
- 常量字段值
-
MAX_CELL_VALUE_SIZE
public static final int MAX_CELL_VALUE_SIZE
Max cell value size- 另请参阅:
- 常量字段值
-
MAX_REQUEST_BODY_SIZE
public static final int MAX_REQUEST_BODY_SIZE
Max body size in request- 另请参阅:
- 常量字段值
-
JSON_INSTANCE
public static final String JSON_INSTANCE
The instance key in json response- 另请参阅:
- 常量字段值
-
JSON_TABLE_NAME
public static final String JSON_TABLE_NAME
The table name key in json response- 另请参阅:
- 常量字段值
-
JSON_TABLE_STATE
public static final String JSON_TABLE_STATE
The table state key in json response- 另请参阅:
- 常量字段值
-
JSON_TABLE_VERSION
public static final String JSON_TABLE_VERSION
The table version key in json response- 另请参阅:
- 常量字段值
-
JSON_COMPRESS_TYPE
public static final String JSON_COMPRESS_TYPE
The compress type key in json response- 另请参阅:
- 常量字段值
-
JSON_MAX_VERSIONS
public static final String JSON_MAX_VERSIONS
The max version key in json response- 另请参阅:
- 常量字段值
-
JSON_CREATE_TIME
public static final String JSON_CREATE_TIME
The create time key in json response- 另请参阅:
- 常量字段值
-
JSON_NEXT_START_KEY
public static final String JSON_NEXT_START_KEY
The next_start_key key in json response- 另请参阅:
- 常量字段值
-
JSON_TIMESTAMP
public static final String JSON_TIMESTAMP
The timestamp key in json response- 另请参阅:
- 常量字段值
-
JSON_KEY_RANGES
public static final String JSON_KEY_RANGES
The keyRanges key in json response- 另请参阅:
- 常量字段值
-
JSON_START_KEY
public static final String JSON_START_KEY
The start key ranges key in json response- 另请参阅:
- 常量字段值
-
JSON_END_KEY
public static final String JSON_END_KEY
The stop key ranges key in json response- 另请参阅:
- 常量字段值
-
-