Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.io.hfile |
Provides the hbase data+index+metadata file.
|
Modifier and Type | Class and Description |
---|---|
static class |
KeyValue.MetaKeyComparator
Compare key portion of a
KeyValue for keys in .META.
table. |
static class |
KeyValue.RootKeyComparator
Compare key portion of a
KeyValue for keys in -ROOT- |
Modifier and Type | Field and Description |
---|---|
static KeyValue.KeyComparator |
KeyValue.KEY_COMPARATOR
Comparator for plain key; i.e.
|
static KeyValue.KeyComparator |
KeyValue.META_KEY_COMPARATOR
|
static KeyValue.KeyComparator |
KeyValue.ROOT_KEY_COMPARATOR
|
Modifier and Type | Method and Description |
---|---|
KeyValue.KeyComparator |
KeyValue.RootComparator.getRawComparator() |
KeyValue.KeyComparator |
KeyValue.MetaComparator.getRawComparator() |
KeyValue.KeyComparator |
KeyValue.KVComparator.getRawComparator() |
static KeyValue.KeyComparator |
KeyValue.getRowComparator(byte[] tableName)
Get the appropriate row comparator for the specified table.
|
Modifier and Type | Field and Description |
---|---|
protected KeyValue.KeyComparator |
HFile.WriterFactory.comparator |
Modifier and Type | Method and Description |
---|---|
protected abstract HFile.Writer |
HFile.WriterFactory.createWriter(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.fs.FSDataOutputStream ostream,
int blockSize,
Compression.Algorithm compress,
HFileDataBlockEncoder dataBlockEncoder,
KeyValue.KeyComparator comparator,
ChecksumType checksumType,
int bytesPerChecksum,
boolean includeMVCCReadpoint) |
HFile.WriterFactory |
HFile.WriterFactory.withComparator(KeyValue.KeyComparator comparator) |
Constructor and Description |
---|
AbstractHFileWriter(CacheConfig cacheConf,
org.apache.hadoop.fs.FSDataOutputStream outputStream,
org.apache.hadoop.fs.Path path,
int blockSize,
Compression.Algorithm compressAlgo,
HFileDataBlockEncoder dataBlockEncoder,
KeyValue.KeyComparator comparator) |
HFileWriterV1(org.apache.hadoop.conf.Configuration conf,
CacheConfig cacheConf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.fs.FSDataOutputStream ostream,
int blockSize,
Compression.Algorithm compress,
HFileDataBlockEncoder blockEncoder,
KeyValue.KeyComparator comparator)
Constructor that takes a path, creates and closes the output stream.
|
HFileWriterV2(org.apache.hadoop.conf.Configuration conf,
CacheConfig cacheConf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.fs.FSDataOutputStream ostream,
int blockSize,
Compression.Algorithm compressAlgo,
HFileDataBlockEncoder blockEncoder,
KeyValue.KeyComparator comparator,
ChecksumType checksumType,
int bytesPerChecksum,
boolean includeMVCCReadpoint)
Constructor that takes a path, creates and closes the output stream.
|
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.