org.apache.flume.sink.hdfs
Interface HDFSWriter
- All Superinterfaces:
- Configurable
- All Known Implementing Classes:
- HDFSCompressedDataStream, HDFSDataStream, HDFSSequenceFile
public interface HDFSWriter
- extends Configurable
open
void open(String filePath,
FlumeFormatter fmt)
throws IOException
- Throws:
IOException
open
void open(String filePath,
org.apache.hadoop.io.compress.CompressionCodec codec,
org.apache.hadoop.io.SequenceFile.CompressionType cType,
FlumeFormatter fmt)
throws IOException
- Throws:
IOException
append
void append(Event e,
FlumeFormatter fmt)
throws IOException
- Throws:
IOException
sync
void sync()
throws IOException
- Throws:
IOException
close
void close()
throws IOException
- Throws:
IOException
Copyright © 2009-2012 Apache Software Foundation. All Rights Reserved.