public class SequenceFileAppender extends FileAppender
conf, enabledStats, inited, path
Constructor and Description |
---|
SequenceFileAppender(org.apache.hadoop.conf.Configuration conf,
Schema schema,
TableMeta meta,
org.apache.hadoop.fs.Path path) |
Modifier and Type | Method and Description |
---|---|
void |
addTuple(Tuple tuple) |
void |
close() |
void |
flush() |
long |
getOffset() |
TableStats |
getStats() |
void |
init() |
enableStats
public SequenceFileAppender(org.apache.hadoop.conf.Configuration conf, Schema schema, TableMeta meta, org.apache.hadoop.fs.Path path) throws IOException
IOException
public void init() throws IOException
init
in interface Appender
init
in class FileAppender
IOException
public void addTuple(Tuple tuple) throws IOException
IOException
public long getOffset() throws IOException
getOffset
in class FileAppender
IOException
public void flush() throws IOException
IOException
public void close() throws IOException
IOException
public TableStats getStats()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.