org.apache.hadoop.hbase
Interface HConstants

All Known Implementing Classes:
HBaseAdmin, HConnectionManager, HLog, HLogEdit, HMaster, HRegion, HRegionServer, HStore, HStoreFile, HTable, LocalHBaseCluster

public interface HConstants

HConstants holds a bunch of HBase-related constants


Field Summary
static org.apache.hadoop.io.Text[] ALL_META_COLUMNS
          All the columns in the catalog -ROOT- and .META.
static int ALL_VERSIONS
          Define for 'return-all-versions'.
static org.apache.hadoop.io.Text COL_REGIONINFO
          ROOT/META column family member - contains HRegionInfo
static org.apache.hadoop.io.Text[] COL_REGIONINFO_ARRAY
          Array of column - contains HRegionInfo
static org.apache.hadoop.io.Text COL_SERVER
          ROOT/META column family member - contains HServerAddress.toString()
static org.apache.hadoop.io.Text COL_SPLITA
          the lower half of a split region
static org.apache.hadoop.io.Text COL_SPLITB
          the upper half of a split region
static org.apache.hadoop.io.Text COL_STARTCODE
          ROOT/META column family member - contains server start code (a long)
static org.apache.hadoop.io.Text COLUMN_FAMILY
          The ROOT and META column family (Text)
static org.apache.hadoop.io.Text[] COLUMN_FAMILY_ARRAY
          Array of meta column names
static String COLUMN_FAMILY_STR
          The ROOT and META column family (string)
static String DEFAULT_HOST
          default host address
static String DEFAULT_MASTER_ADDRESS
          Default master address
static int DEFAULT_MASTER_INFOPORT
          default port for master web api
static int DEFAULT_MASTER_PORT
          default port that the master listens on
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
          default port for region server web api
static org.apache.hadoop.io.Text EMPTY_START_ROW
          Used by scanners, etc when they want to start at the beginning of a region
static org.apache.hadoop.io.Text EMPTY_TEXT
          An empty instance of Text.
static String FILE_SYSTEM_VERSION
          version of file system
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 org.apache.hadoop.io.Text LAST_ROW
          Used by scanners and others when they're trying to detect the end of a table
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 org.apache.hadoop.io.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 org.apache.hadoop.io.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
static String VERSION_FILE_NAME
          name of version file
 

Field Detail

VERSION_FILE_NAME

static final String VERSION_FILE_NAME
name of version file

See Also:
Constant Field Values

FILE_SYSTEM_VERSION

static final String FILE_SYSTEM_VERSION
version of file system

See Also:
Constant Field Values

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_PORT

static final int DEFAULT_MASTER_PORT
default port that the master listens on

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
default port for master web api

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
default port for region server web api

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

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 org.apache.hadoop.io.Text ROOT_TABLE_NAME
The root table's name.


META_TABLE_NAME

static final org.apache.hadoop.io.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 org.apache.hadoop.io.Text COLUMN_FAMILY
The ROOT and META column family (Text)


COLUMN_FAMILY_ARRAY

static final org.apache.hadoop.io.Text[] COLUMN_FAMILY_ARRAY
Array of meta column names


COL_REGIONINFO

static final org.apache.hadoop.io.Text COL_REGIONINFO
ROOT/META column family member - contains HRegionInfo


COL_REGIONINFO_ARRAY

static final org.apache.hadoop.io.Text[] COL_REGIONINFO_ARRAY
Array of column - contains HRegionInfo


COL_SERVER

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


COL_STARTCODE

static final org.apache.hadoop.io.Text COL_STARTCODE
ROOT/META column family member - contains server start code (a long)


COL_SPLITA

static final org.apache.hadoop.io.Text COL_SPLITA
the lower half of a split region


COL_SPLITB

static final org.apache.hadoop.io.Text COL_SPLITB
the upper half of a split region


ALL_META_COLUMNS

static final org.apache.hadoop.io.Text[] ALL_META_COLUMNS
All the columns in the catalog -ROOT- and .META. tables.


EMPTY_TEXT

static final org.apache.hadoop.io.Text EMPTY_TEXT
An empty instance of Text.


EMPTY_START_ROW

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


LAST_ROW

static final org.apache.hadoop.io.Text LAST_ROW
Used by scanners and others when they're trying to detect the end of a table


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 © 2008 The Apache Software Foundation