@API.Internal public class TabletInfoImpl extends java.lang.Object implements TabletInfo, java.lang.Comparable<TabletInfoImpl>
| Constructor and Description |
|---|
TabletInfoImpl(ConditionImpl condition,
java.lang.String[] locations,
long estimatedSize,
long estimatedNumRows) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(TabletInfoImpl o) |
boolean |
containsRow(byte[] row)
Return true if the given row falls in this region.
|
boolean |
equals(java.lang.Object obj) |
org.ojai.store.QueryCondition |
getCondition() |
long |
getEstimatedNumRows() |
long |
getEstimatedSize() |
java.lang.String[] |
getLocations() |
ConditionNode.RowkeyRange |
getRowKeyRange() |
byte[] |
getStartRow() |
byte[] |
getStopRow() |
int |
hashCode() |
java.lang.String |
toString() |
public TabletInfoImpl(ConditionImpl condition, java.lang.String[] locations, long estimatedSize, long estimatedNumRows)
public org.ojai.store.QueryCondition getCondition()
getCondition in interface TabletInfopublic java.lang.String[] getLocations()
getLocations in interface TabletInfopublic long getEstimatedSize()
getEstimatedSize in interface TabletInfopublic long getEstimatedNumRows()
getEstimatedNumRows in interface TabletInfopublic byte[] getStartRow()
public byte[] getStopRow()
@API.Internal public ConditionNode.RowkeyRange getRowKeyRange()
public boolean containsRow(byte[] row)
public java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(TabletInfoImpl o)
compareTo in interface java.lang.Comparable<TabletInfoImpl>public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object