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) |
close, flush, getChecksum, getFilePointer, writeByte, writeBytes
length
copyBytes, writeBytes, writeInt, writeLong, writeShort, writeString, writeStringSet, writeStringStringMap, writeVInt, writeVLong, writeZInt, writeZLong
public 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) throws IOException
IOException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.