Java StringReader for FastBit. More...
Classes | |
| class | ReadHandle |
| An auxiliary thread-safe class to hold file locks and buffers. More... | |
Public Member Functions | |
| FastBitStringReader () | |
| FastBitStringReader constructor with default buffer length. | |
| FastBitStringReader (long bufferSize) | |
| FastBitStringReader constructor. More... | |
| FastBitStringReader.ReadHandle | getHandle (FastBit fb, FastBit.QueryHandle fbHandle, String partition, String charsetName) |
| Create FastBitStringReader.ReadHandle. More... | |
| String[] | getQualifiedStrings (final FileChannel fc, final FastBitStringReader.ReadHandle handle, String column) throws FastBitStringReaderException |
| Thread-safe FastBit String[] getter. More... | |
| String[] | getQualifiedStrings (final FastBitStringReader.ReadHandle handle, String column) throws FastBitStringReaderException |
| Thread-safe FastBit String[] getter. More... | |
Java StringReader for FastBit.
It converts the strings retured from FastBit into strings that can be accessed from a Java program. See java/tests/TestFastBitJava.java for an example of use.
|
inline |
FastBitStringReader constructor.
| bufferSize |
|
inline |
Create FastBitStringReader.ReadHandle.
Currently FastBit.QueryHandle has not methods to get FastBit and partition.
| fb | |
| fbHandle | |
| partition | |
| charsetName |
|
inline |
Thread-safe FastBit String[] getter.
This function does not open and lock file.
| fc | |
| handle | |
| column |
| FastBitStringReaderException |
|
inline |
Thread-safe FastBit String[] getter.
This function opens and closes file.
| handle | |
| column |
| FastBitStringReaderException |
|
| |