| Package | Description |
|---|---|
| org.apache.hadoop.io.file.tfile |
| Modifier and Type | Class | Description |
|---|---|---|
class |
ByteArray |
Adaptor class to wrap byte-array backed objects (including java byte array)
as RawComparable objects.
|
| Modifier and Type | Method | 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 | 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 | 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.
|
| Constructor | Description |
|---|---|
Scanner(TFile.Reader reader,
RawComparable beginKey,
RawComparable endKey) |
Constructor
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.