org.apache.hadoop.hbase
Class HStoreFile
java.lang.Object
org.apache.hadoop.hbase.HStoreFile
- All Implemented Interfaces:
- Comparable, HConstants, Writable, WritableComparable
public class HStoreFile
- extends Object
- implements HConstants, WritableComparable
Each HStore maintains a bunch of different data files.
The filename is a mix of the parent dir, the region name, the column name,
and the file identifier.
This class handles all that path-building stuff for you.
Fields inherited from interface org.apache.hadoop.hbase.HConstants |
COL_REGIONINFO, COL_SERVER, COL_STARTCODE, COLUMN_FAMILY, COLUMN_FAMILY_ARRAY, COMPLETE_CACHEFLUSH, DEFAULT_HBASE_DIR, DEFAULT_HOST, DEFAULT_MASTER_ADDRESS, DEFAULT_MAX_FILE_SIZE, DEFAULT_REGION_SERVER_CLASS, DEFAULT_REGIONSERVER_ADDRESS, DELETE_BYTES, HBASE_DIR, HREGION_LOGDIR_NAME, HREGION_OLDLOGFILE_NAME, HREGIONDIR_PREFIX, MASTER_ADDRESS, META_TABLE_NAME, REGION_SERVER_CLASS, REGIONSERVER_ADDRESS, ROOT_TABLE_NAME, THREAD_WAKE_FREQUENCY, UTF8_ENCODING |
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
write
public void write(DataOutput out)
throws IOException
- Description copied from interface:
Writable
- Writes the fields of this object to
out
.
- Specified by:
write
in interface Writable
- Throws:
IOException
readFields
public void readFields(DataInput in)
throws IOException
- Description copied from interface:
Writable
- Reads the fields of this object from
in
. For efficiency,
implementations should attempt to re-use storage in the existing object
where possible.
- Specified by:
readFields
in interface Writable
- Throws:
IOException
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interface Comparable
Copyright © 2006 The Apache Software Foundation