|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.store.IndexInput
org.apache.lucene.store.BufferedIndexInput
org.apache.lucene.store.FSDirectory.FSIndexInput
protected static class FSDirectory.FSIndexInput
| Field Summary |
|---|
| Fields inherited from class org.apache.lucene.store.BufferedIndexInput |
|---|
BUFFER_SIZE |
| Constructor Summary | |
|---|---|
FSDirectory.FSIndexInput(File path)
|
|
FSDirectory.FSIndexInput(File path,
int bufferSize)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Returns a clone of this stream. |
void |
close()
Closes the stream to futher operations. |
long |
length()
The number of bytes in the file. |
protected void |
readInternal(byte[] b,
int offset,
int len)
IndexInput methods |
protected void |
seekInternal(long position)
Expert: implements seek. |
| Methods inherited from class org.apache.lucene.store.BufferedIndexInput |
|---|
getBufferSize, getFilePointer, readByte, readBytes, readBytes, seek, setBufferSize |
| Methods inherited from class org.apache.lucene.store.IndexInput |
|---|
readChars, readInt, readLong, readString, readVInt, readVLong, skipChars |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FSDirectory.FSIndexInput(File path)
throws IOException
IOException
public FSDirectory.FSIndexInput(File path,
int bufferSize)
throws IOException
IOException| Method Detail |
|---|
protected void readInternal(byte[] b,
int offset,
int len)
throws IOException
readInternal in class BufferedIndexInputb - the array to read bytes intooffset - the offset in the array to start storing byteslen - the number of bytes to read
IOException
public void close()
throws IOException
IndexInput
close in class IndexInputIOExceptionprotected void seekInternal(long position)
BufferedIndexInputBufferedIndexInput.readInternal(byte[],int,int) will occur.
seekInternal in class BufferedIndexInputBufferedIndexInput.readInternal(byte[],int,int)public long length()
IndexInput
length in class IndexInputpublic Object clone()
IndexInputClones of a stream access the same data, and are positioned at the same point as the stream they were cloned from.
Expert: Subclasses must ensure that clones may be positioned at different points in the input from each other and from the stream they were cloned from.
clone in class BufferedIndexInput
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||