Class IndexFileUtils
- java.lang.Object
-
- org.apache.cassandra.index.sai.disk.io.IndexFileUtils
-
public class IndexFileUtils extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static SequentialWriterOption
DEFAULT_WRITER_OPTION
static IndexFileUtils
instance
-
Constructor Summary
Constructors Modifier Constructor Description protected
IndexFileUtils(SequentialWriterOption writerOption)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.apache.lucene.store.ChecksumIndexInput
getBufferedChecksumIndexInput(org.apache.lucene.store.IndexInput indexInput)
org.apache.lucene.store.IndexInput
openBlockingInput(File file)
org.apache.lucene.store.IndexInput
openInput(FileHandle handle)
IndexOutputWriter
openOutput(File file)
IndexOutputWriter
openOutput(File file, boolean append)
-
-
-
Field Detail
-
DEFAULT_WRITER_OPTION
public static final SequentialWriterOption DEFAULT_WRITER_OPTION
-
instance
public static final IndexFileUtils instance
-
-
Constructor Detail
-
IndexFileUtils
protected IndexFileUtils(SequentialWriterOption writerOption)
-
-
Method Detail
-
openOutput
public IndexOutputWriter openOutput(File file)
-
openOutput
public IndexOutputWriter openOutput(File file, boolean append) throws java.io.IOException
- Throws:
java.io.IOException
-
openInput
public org.apache.lucene.store.IndexInput openInput(FileHandle handle)
-
openBlockingInput
public org.apache.lucene.store.IndexInput openBlockingInput(File file)
-
getBufferedChecksumIndexInput
public static org.apache.lucene.store.ChecksumIndexInput getBufferedChecksumIndexInput(org.apache.lucene.store.IndexInput indexInput)
-
-