| Package | Description | 
|---|---|
| org.apache.hadoop.io.file.tfile | 
| 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 | 
|---|---|
| Comparator<RawComparable> | TFile.Reader. getComparator()Get an instance of the RawComparator that is constructed based on the
 string comparator representation. | 
| static Comparator<RawComparable> | TFile. makeComparator(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. | 
| Constructor and Description | 
|---|
| TFile.Reader.Scanner(TFile.Reader reader,
                    RawComparable beginKey,
                    RawComparable endKey)Constructor | 
Copyright © 2018 Apache Software Foundation. All Rights Reserved.