| Package | Description |
|---|---|
| org.apache.hadoop.hbase | |
| org.apache.hadoop.hbase.catalog |
| Modifier and Type | Method and Description |
|---|---|
CatalogTracker |
Server.getCatalogTracker() |
| Modifier and Type | Method and Description |
|---|---|
static List<Result> |
MetaReader.fullScan(CatalogTracker catalogTracker)
Performs a full scan of
hbase:meta. |
static void |
MetaReader.fullScan(CatalogTracker catalogTracker,
MetaReader.Visitor visitor)
Performs a full scan of
hbase:meta. |
static void |
MetaReader.fullScan(CatalogTracker catalogTracker,
MetaReader.Visitor visitor,
byte[] startrow)
Performs a full scan of a catalog table.
|
static Map<HRegionInfo,ServerName> |
MetaReader.fullScan(CatalogTracker catalogTracker,
Set<TableName> disabledTables)
Performs a full scan of
hbase:meta, skipping regions from any
tables in the specified set of disabled tables. |
static Map<HRegionInfo,ServerName> |
MetaReader.fullScan(CatalogTracker catalogTracker,
Set<TableName> disabledTables,
boolean excludeOfflinedSplitParents)
Performs a full scan of
hbase:meta, skipping regions from any
tables in the specified set of disabled tables. |
static void |
MetaReader.fullScanMetaAndPrint(CatalogTracker catalogTracker) |
static List<Result> |
MetaReader.fullScanOfMeta(CatalogTracker catalogTracker)
Performs a full scan of a
hbase:meta table. |
static Pair<HRegionInfo,ServerName> |
MetaReader.getRegion(CatalogTracker catalogTracker,
byte[] regionName)
Gets the region info and assignment for the specified region.
|
static Result |
MetaReader.getRegionResult(CatalogTracker catalogTracker,
byte[] regionName)
Gets the result in hbase:meta for the specified region.
|
static Pair<HRegionInfo,HRegionInfo> |
MetaReader.getRegionsFromMergeQualifier(CatalogTracker catalogTracker,
byte[] regionName)
Get regions from the merge qualifier of the specified merged region
|
static NavigableMap<HRegionInfo,Result> |
MetaReader.getServerUserRegions(CatalogTracker catalogTracker,
ServerName serverName) |
static List<HRegionInfo> |
MetaReader.getTableRegions(CatalogTracker catalogTracker,
TableName tableName)
Gets all of the regions of the specified table.
|
static List<HRegionInfo> |
MetaReader.getTableRegions(CatalogTracker catalogTracker,
TableName tableName,
boolean excludeOfflinedSplitParents)
Gets all of the regions of the specified table.
|
static List<Pair<HRegionInfo,ServerName>> |
MetaReader.getTableRegionsAndLocations(CatalogTracker catalogTracker,
TableName tableName) |
static List<Pair<HRegionInfo,ServerName>> |
MetaReader.getTableRegionsAndLocations(CatalogTracker catalogTracker,
TableName tableName,
boolean excludeOfflinedSplitParents) |
static boolean |
MetaReader.tableExists(CatalogTracker catalogTracker,
TableName tableName)
Checks if the specified table exists.
|
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.