com.baidubce.services.tablestoragehbaseclient.adaptor
Class Constants

java.lang.Object
  extended by com.baidubce.services.tablestoragehbaseclient.adaptor.Constants

public class Constants
extends Object

TableStorageConstants used by the Baidu TableStorage HBase client.


Field Summary
static int CREATE_TABLE_WAIT_TIME
          Wait time after create table.
static String DEFAULT_FAMILY
          Default family in TableStorage.
static int DEFAULT_SERVER_PORT
          Default server port in TablestorageRegionLocator.
static int DEFAULT_SERVER_START_CODE
          Default server start code in TablestorageRegionLocator.
static int DEFAULT_WIRTE_BUFFER_SIZE
          Default write buffer size for TableStorageBufferedMutator.
static int DELETE_TYPE
          Row DELETE type in batch.
static int GET_TYPE
          Row GET type in batch.
static String INVALID_TABLE_VERSION_CODE
          The error code from TableStorage when table not exist.
static int MAX_COLUMN_FAMILY_NUM
          Maximum column family in TableStorage.
static int NON_TYPE
          No Row type in batch.
static int PUT_TYPE
          Row PUT type in batch.
static String TABLE_NOT_EXIST_CODE
          The error code from TableStorage when table not exist.
static String WRONG_COLUMN_FAMILY_SIZE_MSG
          Error message for wrong column family.
 
Constructor Summary
Constants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_FAMILY

public static final String DEFAULT_FAMILY
Default family in TableStorage.

See Also:
Constant Field Values

TABLE_NOT_EXIST_CODE

public static final String TABLE_NOT_EXIST_CODE
The error code from TableStorage when table not exist.

See Also:
Constant Field Values

INVALID_TABLE_VERSION_CODE

public static final String INVALID_TABLE_VERSION_CODE
The error code from TableStorage when table not exist.

See Also:
Constant Field Values

CREATE_TABLE_WAIT_TIME

public static final int CREATE_TABLE_WAIT_TIME
Wait time after create table. Default 1 min.

See Also:
Constant Field Values

NON_TYPE

public static final int NON_TYPE
No Row type in batch.

See Also:
Constant Field Values

PUT_TYPE

public static final int PUT_TYPE
Row PUT type in batch.

See Also:
Constant Field Values

DELETE_TYPE

public static final int DELETE_TYPE
Row DELETE type in batch.

See Also:
Constant Field Values

GET_TYPE

public static final int GET_TYPE
Row GET type in batch.

See Also:
Constant Field Values

MAX_COLUMN_FAMILY_NUM

public static final int MAX_COLUMN_FAMILY_NUM
Maximum column family in TableStorage.

See Also:
Constant Field Values

DEFAULT_WIRTE_BUFFER_SIZE

public static final int DEFAULT_WIRTE_BUFFER_SIZE
Default write buffer size for TableStorageBufferedMutator.

See Also:
Constant Field Values

DEFAULT_SERVER_PORT

public static final int DEFAULT_SERVER_PORT
Default server port in TablestorageRegionLocator.

See Also:
Constant Field Values

DEFAULT_SERVER_START_CODE

public static final int DEFAULT_SERVER_START_CODE
Default server start code in TablestorageRegionLocator.

See Also:
Constant Field Values

WRONG_COLUMN_FAMILY_SIZE_MSG

public static final String WRONG_COLUMN_FAMILY_SIZE_MSG
Error message for wrong column family.

See Also:
Constant Field Values
Constructor Detail

Constants

public Constants()


Copyright © 2020. All rights reserved.