org.apache.hadoop.hbase
Interface HConstants

All Known Implementing Classes:
HClient, HGlobals, HLog, HMaster, HRegion, HRegionServer, HStoreFile

public interface HConstants

HConstants holds a bunch of HBase-related constants


Field Summary
static Text COL_REGIONINFO
          ROOT/META column family member - contains HRegionInfo
static Text COL_SERVER
          ROOT/META column family member - contains HServerAddress.toString()
static Text COL_STARTCODE
          ROOT/META column family member - contains server start code (a long)
static Text COLUMN_FAMILY
          The ROOT and META column family
static Text[] COLUMN_FAMILY_ARRAY
           
static ImmutableBytesWritable COMPLETE_CACHEFLUSH
          Value written to HLog on a complete cache flush
static String DEFAULT_HBASE_DIR
          Default HBase instance root directory
static String DEFAULT_HOST
           
static String DEFAULT_MASTER_ADDRESS
          Default master address
static long DEFAULT_MAX_FILE_SIZE
          Default maximum file size
static String DEFAULT_REGION_SERVER_CLASS
          Default region server interface class name.
static String DEFAULT_REGIONSERVER_ADDRESS
          Default region server address
static ImmutableBytesWritable DELETE_BYTES
          Value stored for a deleted item
static String HBASE_DIR
          Parameter name for HBase instance root directory
static String HREGION_LOGDIR_NAME
          Used to construct the name of the log directory for a region server
static String HREGION_OLDLOGFILE_NAME
          Name of old log file for reconstruction
static String HREGIONDIR_PREFIX
          Used to construct the name of the directory in which a HRegion resides
static String MASTER_ADDRESS
          Parameter name for master address
static Text META_TABLE_NAME
          The META table's name.
static String REGION_SERVER_CLASS
          Parameter name for what region server interface to use.
static String REGIONSERVER_ADDRESS
          Parameter name for hbase.regionserver address.
static Text ROOT_TABLE_NAME
          The root table's name.
static String THREAD_WAKE_FREQUENCY
          Parameter name for how often threads should wake up
static String UTF8_ENCODING
          When we encode strings, we always specify UTF8 encoding
 

Field Detail

MASTER_ADDRESS

static final String MASTER_ADDRESS
Parameter name for master address

See Also:
Constant Field Values

DEFAULT_HOST

static final String DEFAULT_HOST
See Also:
Constant Field Values

DEFAULT_MASTER_ADDRESS

static final String DEFAULT_MASTER_ADDRESS
Default master address

See Also:
Constant Field Values

REGIONSERVER_ADDRESS

static final String REGIONSERVER_ADDRESS
Parameter name for hbase.regionserver address.

See Also:
Constant Field Values

DEFAULT_REGIONSERVER_ADDRESS

static final String DEFAULT_REGIONSERVER_ADDRESS
Default region server address

See Also:
Constant Field Values

REGION_SERVER_CLASS

static final String REGION_SERVER_CLASS
Parameter name for what region server interface to use.

See Also:
Constant Field Values

DEFAULT_REGION_SERVER_CLASS

static final String DEFAULT_REGION_SERVER_CLASS
Default region server interface class name.


THREAD_WAKE_FREQUENCY

static final String THREAD_WAKE_FREQUENCY
Parameter name for how often threads should wake up

See Also:
Constant Field Values

HBASE_DIR

static final String HBASE_DIR
Parameter name for HBase instance root directory

See Also:
Constant Field Values

DEFAULT_HBASE_DIR

static final String DEFAULT_HBASE_DIR
Default HBase instance root directory

See Also:
Constant Field Values

HREGIONDIR_PREFIX

static final String HREGIONDIR_PREFIX
Used to construct the name of the directory in which a HRegion resides

See Also:
Constant Field Values

HREGION_LOGDIR_NAME

static final String HREGION_LOGDIR_NAME
Used to construct the name of the log directory for a region server

See Also:
Constant Field Values

HREGION_OLDLOGFILE_NAME

static final String HREGION_OLDLOGFILE_NAME
Name of old log file for reconstruction

See Also:
Constant Field Values

DEFAULT_MAX_FILE_SIZE

static final long DEFAULT_MAX_FILE_SIZE
Default maximum file size

See Also:
Constant Field Values

ROOT_TABLE_NAME

static final Text ROOT_TABLE_NAME
The root table's name.


META_TABLE_NAME

static final Text META_TABLE_NAME
The META table's name.


COLUMN_FAMILY

static final Text COLUMN_FAMILY
The ROOT and META column family


COLUMN_FAMILY_ARRAY

static final Text[] COLUMN_FAMILY_ARRAY

COL_REGIONINFO

static final Text COL_REGIONINFO
ROOT/META column family member - contains HRegionInfo


COL_SERVER

static final Text COL_SERVER
ROOT/META column family member - contains HServerAddress.toString()


COL_STARTCODE

static final Text COL_STARTCODE
ROOT/META column family member - contains server start code (a long)


UTF8_ENCODING

static final String UTF8_ENCODING
When we encode strings, we always specify UTF8 encoding

See Also:
Constant Field Values

DELETE_BYTES

static final ImmutableBytesWritable DELETE_BYTES
Value stored for a deleted item


COMPLETE_CACHEFLUSH

static final ImmutableBytesWritable COMPLETE_CACHEFLUSH
Value written to HLog on a complete cache flush



Copyright © 2006 The Apache Software Foundation