|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.store.DataOutput
org.apache.lucene.store.IndexOutput
org.apache.lucene.store.BufferedIndexOutput
org.apache.lucene.store.FSDirectory.FSIndexOutput
protected static class FSDirectory.FSIndexOutput
Writes output with RandomAccessFile.write(byte[], int, int)
Field Summary |
---|
Fields inherited from class org.apache.lucene.store.BufferedIndexOutput |
---|
DEFAULT_BUFFER_SIZE |
Constructor Summary | |
---|---|
FSDirectory.FSIndexOutput(FSDirectory parent,
String name)
|
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.DataOutput |
---|
copyBytes, writeBytes, writeInt, writeLong, writeShort, writeString, writeStringSet, writeStringStringMap, writeVInt, writeVLong |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FSDirectory.FSIndexOutput(FSDirectory parent, String name) throws IOException
IOException
Method Detail |
---|
public void flushBuffer(byte[] b, int offset, int size) throws IOException
flushBuffer
in class BufferedIndexOutput
b
- the bytes to writeoffset
- the offset in the byte arraysize
- the number of bytes to write
IOException
public void close() throws IOException
IndexOutput
close
in interface Closeable
close
in class BufferedIndexOutput
IOException
public void seek(long pos) throws IOException
seek
in class BufferedIndexOutput
IOException
IndexOutput.getFilePointer()
public long length() throws IOException
IndexOutput
length
in class BufferedIndexOutput
IOException
public void setLength(long length) throws IOException
IndexOutput
setLength
in class IndexOutput
length
- file length
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |