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, writeBytes
getName, toString
copyBytes, writeBytes, writeInt, writeLong, writeMapOfStrings, writeSetOfStrings, writeShort, writeString, 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, String name) throws IOException
IOException
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.