public abstract class FileAppender extends Object implements Appender
Modifier and Type | Field and Description |
---|---|
protected org.apache.hadoop.conf.Configuration |
conf |
protected boolean |
enabledStats |
protected boolean |
inited |
protected TableMeta |
meta |
protected org.apache.hadoop.fs.Path |
path |
protected Schema |
schema |
Constructor and Description |
---|
FileAppender(org.apache.hadoop.conf.Configuration conf,
Schema schema,
TableMeta meta,
org.apache.hadoop.fs.Path path) |
protected boolean inited
protected final org.apache.hadoop.conf.Configuration conf
protected final TableMeta meta
protected final Schema schema
protected final org.apache.hadoop.fs.Path path
protected boolean enabledStats
public void init() throws IOException
init
in interface Appender
IOException
public void enableStats()
enableStats
in interface Appender
public abstract long getOffset() throws IOException
IOException
Copyright © 2014 Apache Software Foundation. All Rights Reserved.