|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.store.IndexOutput
org.apache.lucene.store.BufferedIndexOutput
org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexOutput
protected static class SimpleFSDirectory.SimpleFSIndexOutput
| Constructor Summary | |
|---|---|
SimpleFSDirectory.SimpleFSIndexOutput(File path)
|
|
| Method Summary | |
|---|---|
void |
close()
Closes this stream to further operations. |
void |
flushBuffer(byte[] b,
int offset,
int size)
output methods: |
long |
length()
The number of bytes in the file. |
void |
seek(long pos)
Random-access methods |
void |
setLength(long length)
Set the file length. |
| Methods inherited from class org.apache.lucene.store.BufferedIndexOutput |
|---|
flush, getFilePointer, writeByte, writeBytes |
| Methods inherited from class org.apache.lucene.store.IndexOutput |
|---|
copyBytes, writeBytes, writeChars, writeChars, writeInt, writeLong, writeString, writeStringStringMap, writeVInt, writeVLong |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleFSDirectory.SimpleFSIndexOutput(File path)
throws IOException
IOException| Method Detail |
|---|
public void flushBuffer(byte[] b,
int offset,
int size)
throws IOException
flushBuffer in class BufferedIndexOutputb - the bytes to writeoffset - the offset in the byte arraysize - the number of bytes to write
IOException
public void close()
throws IOException
BufferedIndexOutput
close in interface Closeableclose in class BufferedIndexOutputIOException
public void seek(long pos)
throws IOException
seek in class BufferedIndexOutputIOExceptionBufferedIndexOutput.getFilePointer()
public long length()
throws IOException
BufferedIndexOutput
length in class BufferedIndexOutputIOException
public void setLength(long length)
throws IOException
IndexOutput
setLength in class IndexOutputlength - file length
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||