org.apache.hadoop.hbase
Interface HConstants

All Known Implementing Classes:
HBaseAdmin, HConnectionManager, HGlobals, HLog, HMaster, HRegion, HRegionServer, HStoreFile, HTable

public interface HConstants

HConstants holds a bunch of HBase-related constants


Field Summary
static int ALL_VERSIONS
          Define for 'return-all-versions'.
static Text COL_REGIONINFO
          ROOT/META column family member - contains HRegionInfo
static Text[] COL_REGIONINFO_ARRAY
          Array of column - contains HRegionInfo
static Text COL_SERVER
          ROOT/META column family member - contains HServerAddress.toString()
static Text COL_SPLITA
          the lower half of a split region
static Text COL_SPLITB
          the upper half of a split region
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 (Text)
static Text[] COLUMN_FAMILY_ARRAY
          Array of meta column names
static String COLUMN_FAMILY_STR
          The ROOT and META column family (string)
static String DEFAULT_HBASE_DIR
          Default HBase instance root directory
static String DEFAULT_HOST
          default host address
static String DEFAULT_MASTER_ADDRESS
          Default master address
static int DEFAULT_MASTER_INFOPORT
           
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 int DEFAULT_REGIONSERVER_INFOPORT
           
static Text EMPTY_START_ROW
          Used by scanners, etc when they want to start at the beginning of a region
static Text EMPTY_TEXT
          An empty instance of Text.
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 long LATEST_TIMESTAMP
          Timestamp to use when we want to refer to the latest cell.
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
default host address

See Also:
Constant Field Values

DEFAULT_MASTER_ADDRESS

static final String DEFAULT_MASTER_ADDRESS
Default master address

See Also:
Constant Field Values

DEFAULT_MASTER_INFOPORT

static final int DEFAULT_MASTER_INFOPORT
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

DEFAULT_REGIONSERVER_INFOPORT

static final int DEFAULT_REGIONSERVER_INFOPORT
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_STR

static final String COLUMN_FAMILY_STR
The ROOT and META column family (string)

See Also:
Constant Field Values

COLUMN_FAMILY

static final Text COLUMN_FAMILY
The ROOT and META column family (Text)


COLUMN_FAMILY_ARRAY

static final Text[] COLUMN_FAMILY_ARRAY
Array of meta column names


COL_REGIONINFO

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


COL_REGIONINFO_ARRAY

static final Text[] COL_REGIONINFO_ARRAY
Array of column - 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)


COL_SPLITA

static final Text COL_SPLITA
the lower half of a split region


COL_SPLITB

static final Text COL_SPLITB
the upper half of a split region


EMPTY_TEXT

static final Text EMPTY_TEXT
An empty instance of Text.


EMPTY_START_ROW

static final Text EMPTY_START_ROW
Used by scanners, etc when they want to start at the beginning of a region


UTF8_ENCODING

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

See Also:
Constant Field Values

LATEST_TIMESTAMP

static final long LATEST_TIMESTAMP
Timestamp to use when we want to refer to the latest cell. This is the timestamp sent by clients when no timestamp is specified on commit.

See Also:
Constant Field Values

ALL_VERSIONS

static final int ALL_VERSIONS
Define for 'return-all-versions'.

See Also:
Constant Field Values


Copyright © 2006 The Apache Software Foundation