Package org.apache.solr.hdfs.store
Class HdfsFileWriter
- java.lang.Object
-
- org.apache.lucene.store.DataOutput
-
- org.apache.lucene.store.IndexOutput
-
- org.apache.lucene.store.OutputStreamIndexOutput
-
- org.apache.solr.hdfs.store.HdfsFileWriter
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class HdfsFileWriter extends org.apache.lucene.store.OutputStreamIndexOutput
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Field Summary
Fields Modifier and Type Field Description static int
BUFFER_SIZE
static String
HDFS_SYNC_BLOCK
-
Constructor Summary
Constructors Constructor Description HdfsFileWriter(org.apache.hadoop.fs.FileSystem fileSystem, org.apache.hadoop.fs.Path path, String name)
-
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
-
-
-
-
Field Detail
-
HDFS_SYNC_BLOCK
public static final String HDFS_SYNC_BLOCK
- See Also:
- Constant Field Values
-
BUFFER_SIZE
public static final int BUFFER_SIZE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HdfsFileWriter
public HdfsFileWriter(org.apache.hadoop.fs.FileSystem fileSystem, org.apache.hadoop.fs.Path path, String name) throws IOException
- Throws:
IOException
-
-