Java Code Examples for org.apache.hadoop.hbase.HColumnDescriptor#DEFAULT_TTL
The following examples show how to use
org.apache.hadoop.hbase.HColumnDescriptor#DEFAULT_TTL .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ColumnSchemaModel.java From hbase with Apache License 2.0 | 4 votes |
/** * @return the value of the TTL attribute or its default if it is unset */ public int __getTTL() { Object o = attrs.get(TTL); return o != null ? Integer.parseInt(o.toString()) : HColumnDescriptor.DEFAULT_TTL; }