org.apache.hadoop.hbase.io.hfile
Class HFile.WriterFactory
java.lang.Object
org.apache.hadoop.hbase.io.hfile.HFile.WriterFactory
- Enclosing class:
- HFile
public abstract static class HFile.WriterFactory
- extends Object
This variety of ways to construct writers is used throughout the code, and
we want to be able to swap writer implementations.
Method Summary |
abstract HFile.Writer |
createWriter(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path)
|
abstract HFile.Writer |
createWriter(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
int blockSize,
Compression.Algorithm compress,
KeyValue.KeyComparator comparator)
|
abstract HFile.Writer |
createWriter(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
int blockSize,
String compress,
KeyValue.KeyComparator comparator)
|
abstract HFile.Writer |
createWriter(org.apache.hadoop.fs.FSDataOutputStream ostream,
int blockSize,
Compression.Algorithm compress,
KeyValue.KeyComparator c)
|
abstract HFile.Writer |
createWriter(org.apache.hadoop.fs.FSDataOutputStream ostream,
int blockSize,
String compress,
KeyValue.KeyComparator comparator)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
conf
protected org.apache.hadoop.conf.Configuration conf
cacheConf
protected CacheConfig cacheConf
createWriter
public abstract HFile.Writer createWriter(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path)
throws IOException
- Throws:
IOException
createWriter
public abstract HFile.Writer createWriter(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
int blockSize,
Compression.Algorithm compress,
KeyValue.KeyComparator comparator)
throws IOException
- Throws:
IOException
createWriter
public abstract HFile.Writer createWriter(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
int blockSize,
String compress,
KeyValue.KeyComparator comparator)
throws IOException
- Throws:
IOException
createWriter
public abstract HFile.Writer createWriter(org.apache.hadoop.fs.FSDataOutputStream ostream,
int blockSize,
String compress,
KeyValue.KeyComparator comparator)
throws IOException
- Throws:
IOException
createWriter
public abstract HFile.Writer createWriter(org.apache.hadoop.fs.FSDataOutputStream ostream,
int blockSize,
Compression.Algorithm compress,
KeyValue.KeyComparator c)
throws IOException
- Throws:
IOException
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.