protected static class NIOFSDirectory.NIOFSIndexInput extends SimpleFSDirectory.SimpleFSIndexInput
SimpleFSDirectory.SimpleFSIndexInput.DescriptorchunkSize, filebuffer, BUFFER_SIZE| Constructor and Description |
|---|
NIOFSIndexInput(java.io.File path,
int bufferSize,
int chunkSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the stream to further operations.
|
protected void |
newBuffer(byte[] newBuffer) |
protected void |
readInternal(byte[] b,
int offset,
int len)
IndexInput methods
|
clone, copyBytes, length, seekInternalflushBuffer, getBufferSize, getFilePointer, readByte, readBytes, readBytes, readInt, readLong, readShort, readVInt, readVLong, seek, setBufferSizeskipChars, toStringreadChars, readString, readStringStringMap, setModifiedUTF8StringsModepublic NIOFSIndexInput(java.io.File path,
int bufferSize,
int chunkSize)
throws java.io.IOException
java.io.IOExceptionprotected void newBuffer(byte[] newBuffer)
newBuffer in class BufferedIndexInputpublic void close()
throws java.io.IOException
IndexInputclose in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class SimpleFSDirectory.SimpleFSIndexInputjava.io.IOExceptionprotected void readInternal(byte[] b,
int offset,
int len)
throws java.io.IOException
SimpleFSDirectory.SimpleFSIndexInputreadInternal in class SimpleFSDirectory.SimpleFSIndexInputb - the array to read bytes intooffset - the offset in the array to start storing byteslen - the number of bytes to readjava.io.IOExceptionCopyright © 2000-2022 Apache Software Foundation. All Rights Reserved.