| Modifier and Type | Field and Description | 
|---|---|
protected CacheConfig | 
cacheConf  | 
protected KeyValue.KVComparator | 
comparator  | 
protected Configuration | 
conf  | 
protected InetSocketAddress[] | 
favoredNodes  | 
protected FileSystem | 
fs  | 
protected FSDataOutputStream | 
ostream  | 
protected Path | 
path  | 
| Modifier and Type | Method and Description | 
|---|---|
HFile.Writer | 
create()  | 
protected abstract HFile.Writer | 
createWriter(FileSystem fs,
            Path path,
            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(FSDataOutputStream ostream)  | 
HFile.WriterFactory | 
withPath(FileSystem fs,
        Path path)  | 
protected final Configuration conf
protected final CacheConfig cacheConf
protected FileSystem fs
protected Path path
protected FSDataOutputStream ostream
protected KeyValue.KVComparator comparator
protected InetSocketAddress[] favoredNodes
public HFile.WriterFactory withPath(FileSystem fs, Path path)
public HFile.WriterFactory withOutputStream(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
IOExceptionprotected abstract HFile.Writer createWriter(FileSystem fs, Path path, FSDataOutputStream ostream, KeyValue.KVComparator comparator, HFileContext fileContext) throws IOException
IOException