HBASE-13447 Bypass logic in TimeRange.compare.

This commit is contained in:
anoopsjohn 2015-04-14 11:39:06 +05:30
parent 4fc39fd7c9
commit ba4c14133e
1 changed files with 1 additions and 0 deletions

View File

@ -166,6 +166,7 @@ public class TimeRange {
* 1 if timestamp is greater than timerange
*/
public int compare(long timestamp) {
if (allTime) return 0;
if (timestamp < minStamp) {
return -1;
} else if (timestamp >= maxStamp) {