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:
Closeable,AutoCloseable
- Enclosing class:
FSDirectory
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final intThe 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
ConstructorsConstructorDescriptionFSIndexOutput(String name) FSIndexOutput(String name, OpenOption... options) -
Method Summary
Methods inherited from class org.apache.lucene.store.OutputStreamIndexOutput
close, getChecksum, getFilePointer, writeByte, writeBytes, writeInt, writeLong, writeShortMethods inherited from class org.apache.lucene.store.IndexOutput
alignFilePointer, alignOffset, getName, toStringMethods inherited from class org.apache.lucene.store.DataOutput
copyBytes, writeBytes, writeGroupVInts, writeMapOfStrings, writeSetOfStrings, writeString, writeVInt, writeVLong, writeZInt, writeZLong
-
Field Details
-
CHUNK_SIZE
static final int CHUNK_SIZEThe 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:
-
-
Constructor Details
-
FSIndexOutput
- Throws:
IOException
-
FSIndexOutput
FSIndexOutput(String name, OpenOption... options) throws IOException - Throws:
IOException
-