Modifier and Type | Field and Description |
---|---|
protected CacheConfig |
cacheConf |
protected KeyValue.KVComparator |
comparator |
protected org.apache.hadoop.conf.Configuration |
conf |
protected InetSocketAddress[] |
favoredNodes |
protected org.apache.hadoop.fs.FileSystem |
fs |
protected org.apache.hadoop.fs.FSDataOutputStream |
ostream |
protected org.apache.hadoop.fs.Path |
path |
Modifier and Type | Method and Description |
---|---|
HFile.Writer |
create() |
protected abstract HFile.Writer |
createWriter(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.fs.FSDataOutputStream ostream,
KeyValue.KVComparator comparator,
HFileContext fileContext) |
HFile.WriterFactory |
withComparator(KeyValue.KVComparator comparator) |
HFile.WriterFactory |
withFavoredNodes(InetSocketAddress[] favoredNodes) |
HFile.WriterFactory |
withFileContext(HFileContext fileContext) |
HFile.WriterFactory |
withOutputStream(org.apache.hadoop.fs.FSDataOutputStream ostream) |
HFile.WriterFactory |
withPath(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path) |
protected final org.apache.hadoop.conf.Configuration conf
protected final CacheConfig cacheConf
protected org.apache.hadoop.fs.FileSystem fs
protected org.apache.hadoop.fs.Path path
protected org.apache.hadoop.fs.FSDataOutputStream ostream
protected KeyValue.KVComparator comparator
protected InetSocketAddress[] favoredNodes
public HFile.WriterFactory withPath(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path)
public HFile.WriterFactory withOutputStream(org.apache.hadoop.fs.FSDataOutputStream ostream)
public HFile.WriterFactory withComparator(KeyValue.KVComparator comparator)
public HFile.WriterFactory withFavoredNodes(InetSocketAddress[] favoredNodes)
public HFile.WriterFactory withFileContext(HFileContext fileContext)
public HFile.Writer create() throws IOException
IOException
protected abstract HFile.Writer createWriter(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, org.apache.hadoop.fs.FSDataOutputStream ostream, KeyValue.KVComparator comparator, HFileContext fileContext) throws IOException
IOException
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.