@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() |
configurevoid open(String filePath) throws IOException
IOExceptionvoid open(String filePath, org.apache.hadoop.io.compress.CompressionCodec codec, org.apache.hadoop.io.SequenceFile.CompressionType cType) throws IOException
IOExceptionvoid append(Event e) throws IOException
IOExceptionvoid sync() throws IOException
IOExceptionvoid close()
throws IOException
IOExceptionboolean isUnderReplicated()
Copyright © 2009-2022 Apache Software Foundation. All Rights Reserved.