Package | Description |
---|---|
org.apache.hadoop.zebra.io |
Physical I/O management of Hadoop Zebra Tables.
|
org.apache.hadoop.zebra.tfile |
Modifier and Type | Method and Description |
---|---|
RawComparable[] |
KeyDistribution.getKeys()
Get the list of sampling keys
|
Modifier and Type | Method and Description |
---|---|
BlockDistribution |
KeyDistribution.getBlockDistribution(RawComparable key) |
Modifier and Type | Class and Description |
---|---|
class |
ByteArray
Adaptor class to wrap byte-array backed objects (including java byte array)
as RawComparable objects.
|
Modifier and Type | Method and Description |
---|---|
RawComparable |
TFile.Reader.getFirstKey()
Get the first key in the TFile.
|
RawComparable |
TFile.Reader.getKeyNear(long offset)
Get a sample key that is within a block whose starting offset is greater
than or equal to the specified offset.
|
RawComparable |
TFile.Reader.getLastKey()
Get the last key in the TFile.
|
Modifier and Type | Method and Description |
---|---|
java.util.Comparator<RawComparable> |
TFile.Reader.getComparator()
Get an instance of the RawComparator that is constructed based on the
string comparator representation.
|
static java.util.Comparator<RawComparable> |
TFile.makeComparator(java.lang.String name)
Make a raw comparator from a string name.
|
Modifier and Type | Method and Description |
---|---|
int |
TFile.Reader.Scanner.Entry.compareTo(RawComparable key)
Compare an entry with a RawComparable object.
|
TFile.Reader.Scanner |
TFile.Reader.createScanner(RawComparable beginKey,
RawComparable endKey)
Deprecated.
|
TFile.Reader.Scanner |
TFile.Reader.createScannerByKey(RawComparable beginKey,
RawComparable endKey)
Get a scanner that covers a specific key range.
|
long |
TFile.Reader.getOffsetForKey(RawComparable key) |
Constructor and Description |
---|
TFile.Reader.Scanner(TFile.Reader reader,
RawComparable beginKey,
RawComparable endKey)
Constructor
|
Copyright © 2007-2012 The Apache Software Foundation