HBASE-2172 Add constructor to Put for row key and timestamp
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@903792 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f58517d103
commit
d189828325
|
@ -340,6 +340,8 @@ Release 0.21.0 - Unreleased
|
|||
HBASE-2153 Publish generated HTML documentation for Thrift on the website
|
||||
(Lars Francke via Stack)
|
||||
HBASE-1373 Update Thrift to use compact/framed protocol (Lars Francke via Stack)
|
||||
HBASE-2172 Add constructor to Put for row key and timestamp
|
||||
(Lars Francke via Stack)
|
||||
|
||||
NEW FEATURES
|
||||
HBASE-1961 HBase EC2 scripts
|
||||
|
|
|
@ -81,6 +81,16 @@ public class Put implements HeapSize, Writable, Row, Comparable<Row> {
|
|||
this(row, HConstants.LATEST_TIMESTAMP, rowLock);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a Put operation for the specified row, using a given timestamp.
|
||||
*
|
||||
* @param row row key
|
||||
* @param ts timestamp
|
||||
*/
|
||||
public Put(byte[] row, long ts) {
|
||||
this(row, ts, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a Put operation for the specified row, using a given timestamp, and an existing row lock.
|
||||
* @param row row key
|
||||
|
|
Loading…
Reference in New Issue