| java.lang.Object org.apache.lucene.store.IndexInput org.apache.lucene.store.BufferedIndexInput
All known Subclasses: org.apache.lucene.index.MockIndexInput,
BufferedIndexInput | abstract public class BufferedIndexInput extends IndexInput (Code) | | Base implementation class for buffered
IndexInput .
|
BUFFER_SIZE | final public static int BUFFER_SIZE(Code) | | Default buffer size
|
BufferedIndexInput | public BufferedIndexInput()(Code) | | |
BufferedIndexInput | public BufferedIndexInput(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) | | |
readBytes | public void readBytes(byte[] b, int offset, int len, boolean useBuffer) 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
|
|
|