HBASE-1723 getRowWithColumnsTs changed behavior

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@799974 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2009-08-02 03:14:37 +00:00
parent 2e4ecd254e
commit 027f01aa99
2 changed files with 3 additions and 2 deletions

View File

@ -537,6 +537,7 @@ Release 0.20.0 - Unreleased
HBASE-1714 Thrift server: prefix scan API
HBASE-1719 hold a reference to the region in stores instead of only the
region info
HBASE-1723 getRowWithColumnsTs changed behavior (Mathias Lehman via Stack)
OPTIMIZATIONS
HBASE-1412 Change values for delete column and column family in KeyValue

View File

@ -341,7 +341,7 @@ public class ThriftServer {
HTable table = getTable(tableName);
if (columns == null) {
Get get = new Get(row);
get.setTimeRange(Long.MIN_VALUE, timestamp);
get.setTimeStamp(timestamp);
Result result = table.get(get);
return ThriftUtilities.rowResultFromHBase(result.getRowResult());
}
@ -355,7 +355,7 @@ public class ThriftServer {
get.addColumn(famAndQf[0], famAndQf[1]);
}
}
get.setTimeRange(Long.MIN_VALUE, timestamp);
get.setTimeStamp(timestamp);
Result result = table.get(get);
return ThriftUtilities.rowResultFromHBase(result.getRowResult());
} catch (IOException e) {