@InterfaceAudience.Public @InterfaceStability.Evolving public static class MultiRowRangeFilter.RowRange extends Object implements Comparable<MultiRowRangeFilter.RowRange>
Modifier and Type | Field and Description |
---|---|
private byte[] |
startRow |
private boolean |
startRowInclusive |
private byte[] |
stopRow |
private boolean |
stopRowInclusive |
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) |
boolean |
contains(byte[] row) |
boolean |
contains(byte[] buffer,
int offset,
int length) |
byte[] |
getStartRow() |
byte[] |
getStopRow() |
boolean |
isStartRowInclusive() |
boolean |
isStopRowInclusive() |
boolean |
isValid() |
private byte[] startRow
private boolean startRowInclusive
private byte[] stopRow
private boolean stopRowInclusive
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[] getStartRow()
public byte[] getStopRow()
public boolean isStartRowInclusive()
public boolean isStopRowInclusive()
public boolean contains(byte[] row)
public boolean contains(byte[] buffer, int offset, int length)
public int compareTo(MultiRowRangeFilter.RowRange other)
compareTo
in interface Comparable<MultiRowRangeFilter.RowRange>
public boolean isValid()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.