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 Object
clone()
void
close()
long
length()
protected void
readInternal(byte[] b, int offset, int length)
protected void
seekInternal(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:
readInternal
in classorg.apache.lucene.store.BufferedIndexInput
- Throws:
IOException
-
seekInternal
protected void seekInternal(long pos) throws IOException
- Specified by:
seekInternal
in classorg.apache.lucene.store.BufferedIndexInput
- Throws:
IOException
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classorg.apache.lucene.store.IndexInput
- Throws:
IOException
-
length
public long length()
- Specified by:
length
in classorg.apache.lucene.store.IndexInput
-
clone
public Object clone()
- Overrides:
clone
in classorg.apache.lucene.store.BufferedIndexInput
-
-