@InterfaceAudience.Public @InterfaceStability.Evolving public static class MultiRowRangeFilter.RowRange extends Object implements Comparable<MultiRowRangeFilter.RowRange>
Constructor and Description |
---|
MultiRowRangeFilter.RowRange() |
MultiRowRangeFilter.RowRange(byte[] startRow,
boolean startRowInclusive,
byte[] stopRow,
boolean stopRowInclusive) |
MultiRowRangeFilter.RowRange(String startRow,
boolean startRowInclusive,
String stopRow,
boolean stopRowInclusive)
If the startRow is empty or null, set it to HConstants.EMPTY_BYTE_ARRAY, means begin at the
start row of the table.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(MultiRowRangeFilter.RowRange other) |
byte[] |
getComparisonData()
Returns the data to be used to compare
this to another object. |
boolean |
isAscendingOrder() |
boolean |
isSearchRowInclusive()
Returns whether the bounding row used for binary-search is inclusive or not.
|
public MultiRowRangeFilter.RowRange()
public MultiRowRangeFilter.RowRange(String startRow, boolean startRowInclusive, String stopRow, boolean stopRowInclusive)
public MultiRowRangeFilter.RowRange(byte[] startRow, boolean startRowInclusive, byte[] stopRow, boolean stopRowInclusive)
public byte[] getComparisonData()
this
to another object.public boolean isSearchRowInclusive()
public boolean isAscendingOrder()
public int compareTo(MultiRowRangeFilter.RowRange other)
compareTo
in interface Comparable<MultiRowRangeFilter.RowRange>
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.