Package org.apache.accumulo.core.data
Interface TabletId
- All Superinterfaces:
Comparable<TabletId>
A TabletId provides the information needed to uniquely identify a tablet.
- Since:
- 1.7.0
-
Method Summary
Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
of
static TabletId of(TableId tableId, org.apache.hadoop.io.Text endRow, org.apache.hadoop.io.Text prevEndRow) Return a TabletId object for the provided TableId in range of (prevEndRow, endRow]. If the parameters prevEndRow and/or endRow are null, they represent a tablet over the range of -inf and/or inf respectively.- Parameters:
tableId
- the ID for a tableendRow
- the last row in this tablet, or null if this is the last tablet in this tableprevEndRow
- the last row in the immediately preceding tablet for the table, or null if this represents the first tablet in this table- Returns:
- Return the new
TabletId
object - Since:
- 2.1.4
-
of
- Since:
- 2.1.4
- See Also:
-
of
- Since:
- 2.1.4
- See Also:
-
getTable
TableId getTable()- Since:
- 2.1.0
-
getTableId
Deprecated.usegetTable()
andAbstractId.canonical()
instead -
getEndRow
org.apache.hadoop.io.Text getEndRow() -
getPrevEndRow
org.apache.hadoop.io.Text getPrevEndRow() -
toRange
Range toRange()- Returns:
- a range based on the row range of the tablet. The range will cover
(<prev end row>, <end row>]
. - Since:
- 1.8.0
-
getTable()
andAbstractId.canonical()
instead