Package org.apache.lucene.store
Class WindowsDirectory.WindowsIndexInput
- java.lang.Object
-
- org.apache.lucene.store.DataInput
-
- org.apache.lucene.store.IndexInput
-
- org.apache.lucene.store.BufferedIndexInput
-
- org.apache.lucene.store.WindowsDirectory.WindowsIndexInput
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Cloneable
- Enclosing class:
- WindowsDirectory
protected static class WindowsDirectory.WindowsIndexInput extends org.apache.lucene.store.BufferedIndexInput
-
-
Constructor Summary
Constructors Constructor Description WindowsIndexInput(File file, int bufferSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()voidclose()longlength()protected voidreadInternal(byte[] b, int offset, int length)protected voidseekInternal(long pos)-
Methods inherited from class org.apache.lucene.store.BufferedIndexInput
copyBytes, flushBuffer, getBufferSize, getFilePointer, newBuffer, readByte, readBytes, readBytes, readInt, readLong, readShort, readVInt, readVLong, seek, setBufferSize
-
-
-
-
Constructor Detail
-
WindowsIndexInput
public WindowsIndexInput(File file, int bufferSize) throws IOException
- Throws:
IOException
-
-
Method Detail
-
readInternal
protected void readInternal(byte[] b, int offset, int length) throws IOException- Specified by:
readInternalin classorg.apache.lucene.store.BufferedIndexInput- Throws:
IOException
-
seekInternal
protected void seekInternal(long pos) throws IOException- Specified by:
seekInternalin classorg.apache.lucene.store.BufferedIndexInput- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classorg.apache.lucene.store.IndexInput- Throws:
IOException
-
length
public long length()
- Specified by:
lengthin classorg.apache.lucene.store.IndexInput
-
clone
public Object clone()
- Overrides:
clonein classorg.apache.lucene.store.BufferedIndexInput
-
-