Class ByteBufferIndexInput
Base IndexInput implementation that uses an array of ByteBuffers to represent a file.
Because Java's ByteBuffer uses an
For efficiency, this class requires that the buffers
are a power-of-two (chunkSizePower
).
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
public abstract class ByteBufferIndexInput : IndexInput, IDisposable
Properties
Name | Description |
---|---|
Length |
Methods
Name | Description |
---|---|
Clone() | |
Dispose(Boolean) | |
FreeBuffer(ByteBuffer) | Called when the contents of a buffer will be no longer needed. |
GetFilePointer() | |
ReadByte() | |
ReadBytes(Byte[], Int32, Int32) | |
ReadInt16() | NOTE: this was readShort() in Lucene |
ReadInt32() | NOTE: this was readInt() in Lucene |
ReadInt64() | NOTE: this was readLong() in Lucene |
Seek(Int64) | |
Slice(String, Int64, Int64) | Creates a slice of this index input, with the given description, offset, and length. The slice is seeked to the beginning. |
ToString() |