public interface HBaseCompat
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.hbase.HTableDescriptor |
newTableDescriptor(String tableName)
Create and return a HTableDescriptor instance with the given name.
|
void |
setCompression(org.apache.hadoop.hbase.HColumnDescriptor cd,
String algo)
Configure the compression scheme
algo on a column family
descriptor cd. |
void setCompression(org.apache.hadoop.hbase.HColumnDescriptor cd,
String algo)
algo on a column family
descriptor cd. The algo parameter is a string value
corresponding to one of the values of HBase's Compression enum. The
Compression enum has moved between packages as HBase has evolved, which
is why this method has a String argument in the signature instead of the
enum itself.cd - column family to configurealgo - compression type to useorg.apache.hadoop.hbase.HTableDescriptor newTableDescriptor(String tableName)
tableName - HBase table nameCopyright © 2012–2015. All rights reserved.