public class HdfsFileWriter extends OutputStreamIndexOutput
| Modifier and Type | Field and Description |
|---|---|
static int |
BUFFER_SIZE |
static String |
HDFS_SYNC_BLOCK |
| Constructor and Description |
|---|
HdfsFileWriter(org.apache.hadoop.fs.FileSystem fileSystem,
org.apache.hadoop.fs.Path path,
String name) |
close, getChecksum, getFilePointer, writeByte, writeBytesgetName, toStringcopyBytes, writeBytes, writeInt, writeLong, writeMapOfStrings, writeSetOfStrings, writeShort, writeString, writeStringSet, writeStringStringMap, writeVInt, writeVLong, writeZInt, writeZLongpublic static final String HDFS_SYNC_BLOCK
public static final int BUFFER_SIZE
public HdfsFileWriter(org.apache.hadoop.fs.FileSystem fileSystem,
org.apache.hadoop.fs.Path path,
String name)
throws IOException
IOExceptionCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.