| org.apache.lucene.store.ConfigurableBufferedIndexInput
All known Subclasses: org.apache.lucene.store.jdbc.index.JdbcBufferedIndexInput,
ConfigurableBufferedIndexInput | abstract public class ConfigurableBufferedIndexInput extends IndexInput (Code) | | A simple base class that performs index input memory based buffering. Allows the buffer size to be
configurable.
author: kimchy |
BUFFER_SIZE | final public static int BUFFER_SIZE(Code) | | Default buffer size
|
buffer | protected byte[] buffer(Code) | | |
bufferLength | protected int bufferLength(Code) | | |
bufferPosition | protected int bufferPosition(Code) | | |
bufferSize | protected int bufferSize(Code) | | |
bufferStart | protected long bufferStart(Code) | | |
ConfigurableBufferedIndexInput | public ConfigurableBufferedIndexInput()(Code) | | |
ConfigurableBufferedIndexInput | public ConfigurableBufferedIndexInput(int bufferSize)(Code) | | Inits BufferedIndexInput with a specific bufferSize
|
getBufferSize | public int getBufferSize()(Code) | | Returns buffer size. @see #setBufferSize
|
getFilePointer | public long getFilePointer()(Code) | | |
readBytes | public void readBytes(byte[] b, int offset, int len) throws IOException(Code) | | |
readInternal | abstract protected void readInternal(byte[] b, int offset, int length) throws IOException(Code) | | Expert: implements buffer refill. Reads bytes from the current position
in the input.
Parameters: b - the array to read bytes into Parameters: offset - the offset in the array to start storing bytes Parameters: length - the number of bytes to read |
setBufferSize | public void setBufferSize(int newSize)(Code) | | Change the buffer size used by this IndexInput
|
|
|