@InterfaceAudience.Private @InterfaceStability.Evolving public interface HDFSWriter extends Configurable
Modifier and Type | Method and Description |
---|---|
void |
append(Event e) |
void |
close() |
boolean |
isUnderReplicated() |
void |
open(String filePath) |
void |
open(String filePath,
org.apache.hadoop.io.compress.CompressionCodec codec,
org.apache.hadoop.io.SequenceFile.CompressionType cType) |
void |
sync() |
configure
void open(String filePath) throws IOException
IOException
void open(String filePath, org.apache.hadoop.io.compress.CompressionCodec codec, org.apache.hadoop.io.SequenceFile.CompressionType cType) throws IOException
IOException
void append(Event e) throws IOException
IOException
void sync() throws IOException
IOException
void close() throws IOException
IOException
boolean isUnderReplicated()
Copyright © 2009–2019 Apache Software Foundation. All rights reserved.