public static class RowFile.RowFileAppender extends FileAppender
conf, enabledStats, inited, meta, path, schema
Constructor and Description |
---|
RowFile.RowFileAppender(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 t) |
void |
close() |
void |
flush() |
long |
getOffset() |
TableStats |
getStats() |
void |
init() |
enableStats
public RowFile.RowFileAppender(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 t) 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.