org.apache.flume.sink.hdfs
Interface HDFSWriter
- All Known Implementing Classes:
- HDFSCompressedDataStream, HDFSDataStream, HDFSSequenceFile
public interface HDFSWriter
open
void open(String filePath,
FlumeFormatter fmt)
throws IOException
- Throws:
IOException
open
void open(String filePath,
CompressionCodec codec,
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.