Class BufferedIndexInput
Base implementation class for buffered IndexInput.
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
public abstract class BufferedIndexInput : IndexInput, IDisposable
Constructors
Name | Description |
---|---|
BufferedIndexInput(String) | |
BufferedIndexInput(String, IOContext) | |
BufferedIndexInput(String, Int32) | Inits BufferedIndexInput with a specific |
Fields
Name | Description |
---|---|
BUFFER_SIZE | Default buffer size set to BUFFER_SIZE. |
m_buffer | |
MERGE_BUFFER_SIZE | A buffer size for merges set to MERGE_BUFFER_SIZE. |
Properties
Name | Description |
---|---|
BufferSize | Returns buffer size. |
Methods
Name | Description |
---|---|
Clone() | |
FlushBuffer(IndexOutput, Int64) | Flushes the in-memory buffer to the given output, copying at most
NOTE: this method does not refill the buffer, however it does advance the buffer position. |
GetBufferSize(IOContext) | Returns default buffer sizes for the given IOContext |
GetFilePointer() | |
NewBuffer(Byte[]) | |
ReadByte() | |
ReadBytes(Byte[], Int32, Int32) | |
ReadBytes(Byte[], Int32, Int32, Boolean) | |
ReadInt16() | NOTE: this was readShort() in Lucene |
ReadInt32() | NOTE: this was readInt() in Lucene |
ReadInt64() | NOTE: this was readLong() in Lucene |
ReadInternal(Byte[], Int32, Int32) | Expert: implements buffer refill. Reads bytes from the current position in the input. |
ReadVInt32() | NOTE: this was readVInt() in Lucene |
ReadVInt64() | NOTE: this was readVLong() in Lucene |
Seek(Int64) | |
SeekInternal(Int64) | Expert: implements seek. Sets current position in this file, where the next ReadInternal(Byte[], Int32, Int32) will occur. |
SetBufferSize(Int32) | Change the buffer size used by this IndexInput |