Java Code Examples for org.apache.hadoop.hbase.HColumnDescriptor.DEFAULT_COMPRESSION

The following are Jave code examples for showing how to use DEFAULT_COMPRESSION of the org.apache.hadoop.hbase.HColumnDescriptor class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: ditb   File: ColumnSchemaModel.java   Source Code and License Vote up 4 votes
/**
 * @return the value of the COMPRESSION attribute or its default if unset
 */
public String __getCompression() {
  Object o = attrs.get(COMPRESSION);
  return o != null ? o.toString() : HColumnDescriptor.DEFAULT_COMPRESSION;
}