Package org.apache.lucene.store
Class FSDirectory.FSIndexOutput
- java.lang.Object
-
- org.apache.lucene.store.DataOutput
-
- org.apache.lucene.store.IndexOutput
-
- org.apache.lucene.store.OutputStreamIndexOutput
-
- org.apache.lucene.store.FSDirectory.FSIndexOutput
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
- Enclosing class:
- FSDirectory
final class FSDirectory.FSIndexOutput extends OutputStreamIndexOutput
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static int
CHUNK_SIZE
The maximum chunk size is 8192 bytes, because file channel mallocs a native buffer outside of stack if the write buffer size is larger.
-
Constructor Summary
Constructors Constructor Description FSIndexOutput(java.lang.String name)
FSIndexOutput(java.lang.String name, java.nio.file.OpenOption... options)
-
Method Summary
-
Methods inherited from class org.apache.lucene.store.OutputStreamIndexOutput
close, getChecksum, getFilePointer, writeByte, writeBytes, writeInt, writeLong, writeShort
-
Methods inherited from class org.apache.lucene.store.IndexOutput
alignFilePointer, alignOffset, getName, toString
-
Methods inherited from class org.apache.lucene.store.DataOutput
copyBytes, writeBytes, writeMapOfStrings, writeSetOfStrings, writeString, writeVInt, writeVLong, writeZInt, writeZLong
-
-
-
-
Field Detail
-
CHUNK_SIZE
static final int CHUNK_SIZE
The maximum chunk size is 8192 bytes, because file channel mallocs a native buffer outside of stack if the write buffer size is larger.- See Also:
- Constant Field Values
-
-