Interface TabletsMetadata.TableOptions
-
- Enclosing class:
- TabletsMetadata
public static interface TabletsMetadata.TableOptions
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TabletsMetadata.TableRangeOptions
forTable(TableId tableId)
This method automatically determines where the metadata for the passed in table ID resides.TabletsMetadata.Options
forTablet(KeyExtent extent)
Get the tablet metadata for this extents end row.default TabletsMetadata.RangeOptions
scanMetadataTable()
Obtain tablet metadata by scanning the metadata table.TabletsMetadata.RangeOptions
scanTable(String tableName)
Obtain tablet metadata by scanning an arbitrary table.
-
-
-
Method Detail
-
forTablet
TabletsMetadata.Options forTablet(KeyExtent extent)
Get the tablet metadata for this extents end row. This should only ever return a single tablet. No checking is done for prev row, so it could differ.
-
forTable
TabletsMetadata.TableRangeOptions forTable(TableId tableId)
This method automatically determines where the metadata for the passed in table ID resides. For example if a user tablet ID is passed in, then the metadata table is scanned. If the metadata table ID is passed in then the root table is scanned. Defaults to returning all tablets for the table ID.
-
scanMetadataTable
default TabletsMetadata.RangeOptions scanMetadataTable()
Obtain tablet metadata by scanning the metadata table. Defaults to the rangeMetadataSchema.TabletsSection.getRange()
-
scanTable
TabletsMetadata.RangeOptions scanTable(String tableName)
Obtain tablet metadata by scanning an arbitrary table. Defaults to the rangeMetadataSchema.TabletsSection.getRange()
-
-