diff --git a/src/main/docbkx/schema_design.xml b/src/main/docbkx/schema_design.xml index 65e64b0..e4632ec 100644 --- a/src/main/docbkx/schema_design.xml +++ b/src/main/docbkx/schema_design.xml @@ -509,6 +509,21 @@ public static byte[][] getHexSplits(String startKey, String endKey, int numRegio See HColumnDescriptor for more information. + Recent versions of HBase also support setting time to live on a per cell basis. See HBASE-10560 for more + information. Cell TTLs are submitted as an attribute on mutation requests (Appends, + Increments, Puts, etc.) using Mutation#setTTL. If the TTL attribute is set, it will be applied + to all cells updated on the server by the operation. There are two notable differences + between cell TTL handling and ColumnFamily TTLs: + + + Cell TTLs are expressed in units of milliseconds instead of seconds. + + + A cell TTLs cannot extend the effective lifetime of a cell beyond a ColumnFamily level + TTL setting. + +