Package | Description |
---|---|
org.apache.lucene.store |
Binary i/o API, used for all index data.
|
Modifier and Type | Class and Description |
---|---|
(package private) static class |
ByteBufferIndexInput.MultiBufferImpl
This class adds offset support to ByteBufferIndexInput, which is needed for slices.
|
(package private) static class |
ByteBufferIndexInput.SingleBufferImpl
Optimization of ByteBufferIndexInput for when there is only one buffer
|
Modifier and Type | Method and Description |
---|---|
protected ByteBufferIndexInput |
ByteBufferIndexInput.buildSlice(java.lang.String sliceDescription,
long offset,
long length)
Builds the actual sliced IndexInput (may apply extra offset in subclasses).
|
protected ByteBufferIndexInput |
ByteBufferIndexInput.MultiBufferImpl.buildSlice(java.lang.String sliceDescription,
long ofs,
long length) |
ByteBufferIndexInput |
ByteBufferIndexInput.clone() |
protected ByteBufferIndexInput |
ByteBufferIndexInput.newCloneInstance(java.lang.String newResourceDescription,
java.nio.ByteBuffer[] newBuffers,
int offset,
long length)
Factory method that creates a suitable implementation of this class for the given ByteBuffers.
|
static ByteBufferIndexInput |
ByteBufferIndexInput.newInstance(java.lang.String resourceDescription,
java.nio.ByteBuffer[] buffers,
long length,
int chunkSizePower,
ByteBufferGuard guard) |
ByteBufferIndexInput |
ByteBufferIndexInput.slice(java.lang.String sliceDescription,
long offset,
long length)
Creates a slice of this index input, with the given description, offset, and length.
|