com.baidubce.services.tablestorage
Class TableStorageConstants

java.lang.Object
  extended by com.baidubce.services.tablestorage.TableStorageConstants

public class TableStorageConstants
extends Object

TableStorageConstants used by the Baidu TableStorage Java client.


Field Summary
static String CONTENT_TYPE_JSON
          Content type json in HTTP header
static int CREATE_TABLE_VERSION
          TableVersion's value.
static String DEFAULT_ENCODING
          Default encoding used for text data
static int DEFAULT_LIVE_TIME
          TimeToLive's value.
static int DEFAULT_MAX_VERSIONS
          Default MaxVersions.
static String DEFAULT_START_ROWKEY
          Default startRowkey in ScanRequest.
static String DEFAULT_STOP_ROWKEY
          Default stopRowkey in ScanRequest.
static int DEFAULT_TABLE_MAX_VERSIONS
          Default MaxVersions.
static String EMPTY_JSON_STR
          Empty Json String.
static String EMPTY_STORAGE_TYPE
          storageType's value is empty.
static int FORERVER_LIVE_TIME
          TimeToLive's value.
static String[] INSTANCE_NAME_NOT_CONTAIN_WORDS
          The InstanceName should not contain these words
static String[] INSTANCE_NAME_NOT_START_WITH_WORDS
          The InstanceName should not start with these words
static String JSON_CELLS
          The cells key in json response
static String JSON_COLUMN
          The column key in json response
static String JSON_COMPRESS_TYPE
          The compress type key in json response
static String JSON_CREATE_TIME
          The create time key in json response
static String JSON_END_KEY
          The stop key ranges key in json response
static String JSON_INSTANCE
          The instance key in json response
static String JSON_KEY_RANGES
          The keyRanges key in json response
static String JSON_MAX_VERSIONS
          The max version key in json response
static String JSON_NEXT_START_KEY
          The next_start_key key in json response
static String JSON_RESULT
          The result key in json response
static String JSON_ROWKEY
          The rowkey key in json response
static String JSON_START_KEY
          The start key ranges key in json response
static String JSON_STORAGE_TYPE
          The storage type key in json response
static String JSON_TABLE_NAME
          The table name key in json response
static String JSON_TABLE_STATE
          The table state key in json response
static String JSON_TABLE_VERSION
          The table version key in json response
static String JSON_TABLES
          The tables key in json response
static String JSON_TIMESTAMP
          The timestamp key in json response
static String JSON_TTL
          The ttl key in json response
static String JSON_VALUE
          The value key in json response
static int MAX_CELL_VALUE_SIZE
          Max cell value size
static int MAX_READ_CELL_NUM
          Max cell num in GetRow, BatchGetRow and Scan
static int MAX_READ_ROW_NUM
          Max row num in BatchGetRow
static int MAX_REQUEST_BODY_SIZE
          Max body size in request
static int MAX_ROW_SIZE
          Max row size.
static String MAX_ROWKEY
          Max rowkey in TableStorage
static int MAX_ROWKEY_SIZE
          Max rowkey size
static int MAX_WRITE_CELL_NUM
          Max cell num in PutRow, DeleteRow, BatchPutRow and BatchDeleteRow
static int MAX_WRITE_ROW_NUM
          Max row num in BatchPutRow and BatchDeleteRow
static int MIN_TABLE_MAX_VERSIONS
          Minimum value of MaxVersions.
static int MIN_VALID_LIVE_TIME
          Minimum value of TimeToLive which is set to 23 hours
static String NAME_PATTERN_STR
          The InstanceName, TableName and ColumnName should satisfy the regular expression
protected static String ONLY_STATE
          Only get table state in ShowTable operation
static String STORAGE_TYPE_COMMON_PERFORMANCE
          storageType's value is CommonPerformance.
static String STORAGE_TYPE_HIGH_PERFORMANCE
          storageType's value is HighPerformance.
static String URI_INSTANCE
          The instance resource identification in url
static String URI_ROW
          The row resource identification in url
static String URI_ROWS
          The rows resource identification in url
protected static String URI_SLICES
          The slices resource identification in url
static String URI_TABLE
          The table resource identification in url
static String URI_TABLES
          The tables resource identification in url
static String URL_PREFIX
          URL prefix of bts service
static String X_BCE_BTS_METHOD_DELETE
          Delete Method in HTTP header
static String X_BCE_BTS_METHOD_GET
          Get Method in HTTP header
static String X_BCE_BTS_METHOD_KEY
          The bts service identification in HTTP header.
static String X_BCE_BTS_METHOD_PUT
          Put Method in HTTP header
 
Constructor Summary
TableStorageConstants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

EMPTY_STORAGE_TYPE

public static final String EMPTY_STORAGE_TYPE
storageType's value is empty. Used in createTable operation.

See Also:
Constant Field Values

STORAGE_TYPE_HIGH_PERFORMANCE

public static final String STORAGE_TYPE_HIGH_PERFORMANCE
storageType's value is HighPerformance. Used in createTable operation.

See Also:
Constant Field Values

STORAGE_TYPE_COMMON_PERFORMANCE

public static final String STORAGE_TYPE_COMMON_PERFORMANCE
storageType's value is CommonPerformance. Used in createTable operation.

See Also:
Constant Field Values

MIN_VALID_LIVE_TIME

public static final int MIN_VALID_LIVE_TIME
Minimum value of TimeToLive which is set to 23 hours

See Also:
Constant Field Values

FORERVER_LIVE_TIME

public static final int FORERVER_LIVE_TIME
TimeToLive's value. Indicates that the data is always valid until it is deleted.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

DEFAULT_TABLE_MAX_VERSIONS

public static final int DEFAULT_TABLE_MAX_VERSIONS
Default MaxVersions. Used in TableOption.

See Also:
Constant Field Values

MIN_TABLE_MAX_VERSIONS

public static final int MIN_TABLE_MAX_VERSIONS
Minimum value of MaxVersions. Used in TableOption.

See Also:
Constant Field Values

DEFAULT_MAX_VERSIONS

public static final int DEFAULT_MAX_VERSIONS
Default MaxVersions. Used in get, batchGet and scan operations.

See Also:
Constant Field Values

EMPTY_JSON_STR

public static final String EMPTY_JSON_STR
Empty Json String.

See Also:
Constant Field Values

DEFAULT_START_ROWKEY

public static final String DEFAULT_START_ROWKEY
Default startRowkey in ScanRequest.

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

X_BCE_BTS_METHOD_GET

public static final String X_BCE_BTS_METHOD_GET
Get Method in HTTP header

See Also:
Constant Field Values

X_BCE_BTS_METHOD_PUT

public static final String X_BCE_BTS_METHOD_PUT
Put Method in HTTP header

See Also:
Constant Field Values

X_BCE_BTS_METHOD_DELETE

public static final String X_BCE_BTS_METHOD_DELETE
Delete Method in HTTP header

See Also:
Constant Field Values

URL_PREFIX

public static final String URL_PREFIX
URL prefix of bts service

See Also:
Constant Field Values

URI_INSTANCE

public static final String URI_INSTANCE
The instance resource identification in url

See Also:
Constant Field Values

URI_TABLES

public static final String URI_TABLES
The tables resource identification in url

See Also:
Constant Field Values

URI_TABLE

public static final String URI_TABLE
The table resource identification in url

See Also:
Constant Field Values

URI_ROW

public static final String URI_ROW
The row resource identification in url

See Also:
Constant Field Values

URI_ROWS

public static final String URI_ROWS
The rows resource identification in url

See Also:
Constant Field Values

URI_SLICES

protected static final String URI_SLICES
The slices resource identification in url

See Also:
Constant Field Values

ONLY_STATE

protected static final String ONLY_STATE
Only get table state in ShowTable operation

See Also:
Constant Field Values

NAME_PATTERN_STR

public static final String NAME_PATTERN_STR
The InstanceName, TableName and ColumnName should satisfy the regular expression

See Also:
Constant Field Values

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

See Also:
Constant Field Values

MAX_READ_ROW_NUM

public static final int MAX_READ_ROW_NUM
Max row num in BatchGetRow

See Also:
Constant Field Values

MAX_ROWKEY_SIZE

public static final int MAX_ROWKEY_SIZE
Max rowkey size

See Also:
Constant Field Values

MAX_ROW_SIZE

public static final int MAX_ROW_SIZE
Max row size. Row size is equal to the sum of cell sizes

See Also:
Constant Field Values

MAX_WRITE_CELL_NUM

public static final int MAX_WRITE_CELL_NUM
Max cell num in PutRow, DeleteRow, BatchPutRow and BatchDeleteRow

See Also:
Constant Field Values

MAX_READ_CELL_NUM

public static final int MAX_READ_CELL_NUM
Max cell num in GetRow, BatchGetRow and Scan

See Also:
Constant Field Values

MAX_CELL_VALUE_SIZE

public static final int MAX_CELL_VALUE_SIZE
Max cell value size

See Also:
Constant Field Values

MAX_REQUEST_BODY_SIZE

public static final int MAX_REQUEST_BODY_SIZE
Max body size in request

See Also:
Constant Field Values

JSON_INSTANCE

public static final String JSON_INSTANCE
The instance key in json response

See Also:
Constant Field Values

JSON_TABLES

public static final String JSON_TABLES
The tables key in json response

See Also:
Constant Field Values

JSON_TABLE_NAME

public static final String JSON_TABLE_NAME
The table name key in json response

See Also:
Constant Field Values

JSON_TABLE_STATE

public static final String JSON_TABLE_STATE
The table state key in json response

See Also:
Constant Field Values

JSON_TABLE_VERSION

public static final String JSON_TABLE_VERSION
The table version key in json response

See Also:
Constant Field Values

JSON_COMPRESS_TYPE

public static final String JSON_COMPRESS_TYPE
The compress type key in json response

See Also:
Constant Field Values

JSON_TTL

public static final String JSON_TTL
The ttl key in json response

See Also:
Constant Field Values

JSON_MAX_VERSIONS

public static final String JSON_MAX_VERSIONS
The max version key in json response

See Also:
Constant Field Values

JSON_CREATE_TIME

public static final String JSON_CREATE_TIME
The create time key in json response

See Also:
Constant Field Values

JSON_NEXT_START_KEY

public static final String JSON_NEXT_START_KEY
The next_start_key key in json response

See Also:
Constant Field Values

JSON_RESULT

public static final String JSON_RESULT
The result key in json response

See Also:
Constant Field Values

JSON_ROWKEY

public static final String JSON_ROWKEY
The rowkey key in json response

See Also:
Constant Field Values

JSON_CELLS

public static final String JSON_CELLS
The cells key in json response

See Also:
Constant Field Values

JSON_COLUMN

public static final String JSON_COLUMN
The column key in json response

See Also:
Constant Field Values

JSON_VALUE

public static final String JSON_VALUE
The value key in json response

See Also:
Constant Field Values

JSON_TIMESTAMP

public static final String JSON_TIMESTAMP
The timestamp key in json response

See Also:
Constant Field Values

JSON_KEY_RANGES

public static final String JSON_KEY_RANGES
The keyRanges key in json response

See Also:
Constant Field Values

JSON_START_KEY

public static final String JSON_START_KEY
The start key ranges key in json response

See Also:
Constant Field Values

JSON_END_KEY

public static final String JSON_END_KEY
The stop key ranges key in json response

See Also:
Constant Field Values

JSON_STORAGE_TYPE

public static final String JSON_STORAGE_TYPE
The storage type key in json response

See Also:
Constant Field Values
Constructor Detail

TableStorageConstants

public TableStorageConstants()


Copyright © 2020. All rights reserved.