|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use HTableDescriptor | |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.avro | Provides an HBase Avro service. |
org.apache.hadoop.hbase.catalog | |
org.apache.hadoop.hbase.client | Provides HBase Client |
org.apache.hadoop.hbase.constraint | Restrict the domain of a data attribute, often times to fulfill business rules/requirements. |
org.apache.hadoop.hbase.coprocessor | Table of Contents |
org.apache.hadoop.hbase.ipc | Tools to help define network clients and servers. |
org.apache.hadoop.hbase.master | |
org.apache.hadoop.hbase.master.handler | |
org.apache.hadoop.hbase.master.snapshot | |
org.apache.hadoop.hbase.migration | |
org.apache.hadoop.hbase.regionserver | |
org.apache.hadoop.hbase.regionserver.handler | |
org.apache.hadoop.hbase.regionserver.wal | |
org.apache.hadoop.hbase.replication.regionserver | |
org.apache.hadoop.hbase.rest.client | |
org.apache.hadoop.hbase.rest.model | |
org.apache.hadoop.hbase.security.access | |
org.apache.hadoop.hbase.snapshot | |
org.apache.hadoop.hbase.util |
Uses of HTableDescriptor in org.apache.hadoop.hbase |
---|
Fields in org.apache.hadoop.hbase declared as HTableDescriptor | |
---|---|
static HTableDescriptor |
HTableDescriptor.META_TABLEDESC
Table descriptor for .META. catalog table |
static HTableDescriptor |
HTableDescriptor.ROOT_TABLEDESC
Table descriptor for |
Methods in org.apache.hadoop.hbase that return HTableDescriptor | |
---|---|
HTableDescriptor |
TableDescriptors.get(byte[] tablename)
|
HTableDescriptor |
TableDescriptors.get(String tablename)
|
HTableDescriptor |
HRegionInfo.getTableDesc()
Deprecated. Do not use; expensive call use HRegionInfo.getTableNameAsString() in place of HRegionInfo.getTableDesc().getNameAsString() |
HTableDescriptor |
TableDescriptors.remove(String tablename)
|
Methods in org.apache.hadoop.hbase that return types with arguments of type HTableDescriptor | |
---|---|
Map<String,HTableDescriptor> |
TableDescriptors.getAll()
Get Map of all HTableDescriptors. |
Methods in org.apache.hadoop.hbase with parameters of type HTableDescriptor | |
---|---|
void |
TableDescriptors.add(HTableDescriptor htd)
Add or update descriptor |
int |
HTableDescriptor.compareTo(HTableDescriptor other)
Compares the descriptor with another descriptor which is passed as a parameter. |
void |
HRegionInfo.setTableDesc(HTableDescriptor newDesc)
Deprecated. Do not use; expensive call |
Constructors in org.apache.hadoop.hbase with parameters of type HTableDescriptor | |
---|---|
HTableDescriptor(HTableDescriptor desc)
Construct a table descriptor by cloning the descriptor passed as a parameter. |
Uses of HTableDescriptor in org.apache.hadoop.hbase.avro |
---|
Methods in org.apache.hadoop.hbase.avro that return HTableDescriptor | |
---|---|
static HTableDescriptor |
AvroUtil.atdToHTD(ATableDescriptor atd)
|
Methods in org.apache.hadoop.hbase.avro with parameters of type HTableDescriptor | |
---|---|
static ATableDescriptor |
AvroUtil.htdToATD(HTableDescriptor table)
|
Uses of HTableDescriptor in org.apache.hadoop.hbase.catalog |
---|
Methods in org.apache.hadoop.hbase.catalog that return types with arguments of type HTableDescriptor | |
---|---|
static Set<HTableDescriptor> |
MetaMigrationRemovingHTD.updateMetaWithNewRegionInfo(MasterServices masterServices)
Deprecated. Update legacy META rows, removing HTD from HRI. |
Uses of HTableDescriptor in org.apache.hadoop.hbase.client |
---|
Subclasses of HTableDescriptor in org.apache.hadoop.hbase.client | |
---|---|
class |
UnmodifyableHTableDescriptor
Read-only table descriptor. |
Methods in org.apache.hadoop.hbase.client that return HTableDescriptor | |
---|---|
HTableDescriptor[] |
HBaseAdmin.deleteTables(Pattern pattern)
Delete tables matching the passed in pattern and wait on completion. |
HTableDescriptor[] |
HBaseAdmin.deleteTables(String regex)
Deletes tables matching the passed in pattern and wait on completion. |
HTableDescriptor[] |
HBaseAdmin.disableTables(Pattern pattern)
Disable tables matching the passed in pattern and wait on completion. |
HTableDescriptor[] |
HBaseAdmin.disableTables(String regex)
Disable tables matching the passed in pattern and wait on completion. |
HTableDescriptor[] |
HBaseAdmin.enableTables(Pattern pattern)
Enable tables matching the passed in pattern and wait on completion. |
HTableDescriptor[] |
HBaseAdmin.enableTables(String regex)
Enable tables matching the passed in pattern and wait on completion. |
HTableDescriptor |
HConnection.getHTableDescriptor(byte[] tableName)
|
HTableDescriptor[] |
HConnection.getHTableDescriptors(List<String> tableNames)
|
HTableDescriptor |
HTable.getTableDescriptor()
Gets the table descriptor for this table. |
HTableDescriptor |
HTableInterface.getTableDescriptor()
Gets the table descriptor for this table. |
HTableDescriptor |
HBaseAdmin.getTableDescriptor(byte[] tableName)
Method for getting the tableDescriptor |
HTableDescriptor[] |
HBaseAdmin.getTableDescriptors(List<String> tableNames)
Get tableDescriptors |
HTableDescriptor[] |
HBaseAdmin.listTables()
List all the userspace tables. |
HTableDescriptor[] |
HConnection.listTables()
List all the userspace tables. |
HTableDescriptor[] |
HBaseAdmin.listTables(Pattern pattern)
List all the userspace tables matching the given pattern. |
HTableDescriptor[] |
HBaseAdmin.listTables(String regex)
List all the userspace tables matching the given regular expression. |
Methods in org.apache.hadoop.hbase.client with parameters of type HTableDescriptor | |
---|---|
void |
HBaseAdmin.createTable(HTableDescriptor desc)
Creates a new table. |
void |
HBaseAdmin.createTable(HTableDescriptor desc,
byte[][] splitKeys)
Creates a new table with an initial set of empty regions defined by the specified split keys. |
void |
HBaseAdmin.createTable(HTableDescriptor desc,
byte[] startKey,
byte[] endKey,
int numRegions)
Creates a new table with the specified number of regions. |
void |
HBaseAdmin.createTableAsync(HTableDescriptor desc,
byte[][] splitKeys)
Creates a new table but does not block and wait for it to come online. |
void |
HBaseAdmin.modifyTable(byte[] tableName,
HTableDescriptor htd)
Modify an existing table, more IRB friendly version. |
Uses of HTableDescriptor in org.apache.hadoop.hbase.constraint |
---|
Methods in org.apache.hadoop.hbase.constraint with parameters of type HTableDescriptor | |
---|---|
static void |
Constraints.add(HTableDescriptor desc,
Class<? extends Constraint>... constraints)
Add configuration-less constraints to the table. |
static void |
Constraints.add(HTableDescriptor desc,
Class<? extends Constraint> constraint,
org.apache.hadoop.conf.Configuration conf)
Add a Constraint to the table with the given configuration |
static void |
Constraints.add(HTableDescriptor desc,
Pair<Class<? extends Constraint>,org.apache.hadoop.conf.Configuration>... constraints)
Add constraints and their associated configurations to the table. |
static void |
Constraints.disable(HTableDescriptor desc)
Turn off processing constraints for a given table, even if constraints have been turned on or added. |
static void |
Constraints.disableConstraint(HTableDescriptor desc,
Class<? extends Constraint> clazz)
Disable the given Constraint . |
static void |
Constraints.enable(HTableDescriptor desc)
Enable constraints on a table. |
static void |
Constraints.enableConstraint(HTableDescriptor desc,
Class<? extends Constraint> clazz)
Enable the given Constraint . |
static boolean |
Constraints.enabled(HTableDescriptor desc,
Class<? extends Constraint> clazz)
Check to see if the given constraint is enabled. |
static boolean |
Constraints.has(HTableDescriptor desc,
Class<? extends Constraint> clazz)
Check to see if the Constraint is currently set. |
static void |
Constraints.remove(HTableDescriptor desc)
Remove all Constraints that have been added to the table
and turn off the constraint processing. |
static void |
Constraints.remove(HTableDescriptor desc,
Class<? extends Constraint> clazz)
Remove the constraint (and associated information) for the table descriptor. |
static void |
Constraints.setConfiguration(HTableDescriptor desc,
Class<? extends Constraint> clazz,
org.apache.hadoop.conf.Configuration configuration)
Update the configuration for the Constraint ; does not change the
order in which the constraint is run. |
Uses of HTableDescriptor in org.apache.hadoop.hbase.coprocessor |
---|
Method parameters in org.apache.hadoop.hbase.coprocessor with type arguments of type HTableDescriptor | |
---|---|
void |
BaseMasterObserver.postGetTableDescriptors(ObserverContext<MasterCoprocessorEnvironment> ctx,
List<HTableDescriptor> descriptors)
|
void |
MasterObserver.postGetTableDescriptors(ObserverContext<MasterCoprocessorEnvironment> ctx,
List<HTableDescriptor> descriptors)
Called after a getTableDescriptors request has been processed. |
void |
BaseMasterObserver.preGetTableDescriptors(ObserverContext<MasterCoprocessorEnvironment> ctx,
List<String> tableNamesList,
List<HTableDescriptor> descriptors)
|
void |
MasterObserver.preGetTableDescriptors(ObserverContext<MasterCoprocessorEnvironment> ctx,
List<String> tableNamesList,
List<HTableDescriptor> descriptors)
Called before a getTableDescriptors request has been processed. |
Uses of HTableDescriptor in org.apache.hadoop.hbase.ipc |
---|
Methods in org.apache.hadoop.hbase.ipc that return HTableDescriptor | |
---|---|
HTableDescriptor[] |
HMasterInterface.getHTableDescriptors()
Get array of all HTDs. |
HTableDescriptor[] |
HMasterInterface.getHTableDescriptors(List<String> tableNames)
Get array of HTDs for requested tables. |
Methods in org.apache.hadoop.hbase.ipc with parameters of type HTableDescriptor | |
---|---|
void |
HMasterInterface.createTable(HTableDescriptor desc,
byte[][] splitKeys)
Creates a new table asynchronously. |
void |
HMasterInterface.modifyTable(byte[] tableName,
HTableDescriptor htd)
Modify a table's metadata |
Uses of HTableDescriptor in org.apache.hadoop.hbase.master |
---|
Methods in org.apache.hadoop.hbase.master that return HTableDescriptor | |
---|---|
HTableDescriptor |
MasterFileSystem.addColumn(byte[] tableName,
HColumnDescriptor hcd)
Add column to a table |
HTableDescriptor |
MasterFileSystem.deleteColumn(byte[] tableName,
byte[] familyName)
Delete column of a table |
HTableDescriptor[] |
HMaster.getHTableDescriptors()
Get all table descriptors |
HTableDescriptor[] |
HMaster.getHTableDescriptors(List<String> tableNames)
Get HTD array for given tables |
HTableDescriptor |
MasterFileSystem.modifyColumn(byte[] tableName,
HColumnDescriptor hcd)
Modify Column of a table |
Methods in org.apache.hadoop.hbase.master with parameters of type HTableDescriptor | |
---|---|
void |
HMaster.createTable(HTableDescriptor hTableDescriptor,
byte[][] splitKeys)
|
void |
MasterServices.createTable(HTableDescriptor desc,
byte[][] splitKeys)
Create a table using the given table definition. |
void |
MasterFileSystem.createTableDescriptor(HTableDescriptor htableDescriptor)
Create new HTableDescriptor in HDFS. |
void |
HMaster.modifyTable(byte[] tableName,
HTableDescriptor htd)
|
void |
MasterServices.modifyTable(byte[] tableName,
HTableDescriptor descriptor)
Modify the descriptor of an existing table |
void |
MasterCoprocessorHost.postCloneSnapshot(HBaseProtos.SnapshotDescription snapshot,
HTableDescriptor hTableDescriptor)
|
void |
MasterCoprocessorHost.postRestoreSnapshot(HBaseProtos.SnapshotDescription snapshot,
HTableDescriptor hTableDescriptor)
|
void |
MasterCoprocessorHost.postSnapshot(HBaseProtos.SnapshotDescription snapshot,
HTableDescriptor hTableDescriptor)
|
void |
MasterCoprocessorHost.preCloneSnapshot(HBaseProtos.SnapshotDescription snapshot,
HTableDescriptor hTableDescriptor)
|
void |
MasterCoprocessorHost.preRestoreSnapshot(HBaseProtos.SnapshotDescription snapshot,
HTableDescriptor hTableDescriptor)
|
void |
MasterCoprocessorHost.preSnapshot(HBaseProtos.SnapshotDescription snapshot,
HTableDescriptor hTableDescriptor)
|
Method parameters in org.apache.hadoop.hbase.master with type arguments of type HTableDescriptor | |
---|---|
void |
MasterCoprocessorHost.postGetTableDescriptors(List<HTableDescriptor> descriptors)
|
boolean |
MasterCoprocessorHost.preGetTableDescriptors(List<String> tableNamesList,
List<HTableDescriptor> descriptors)
|
Uses of HTableDescriptor in org.apache.hadoop.hbase.master.handler |
---|
Fields in org.apache.hadoop.hbase.master.handler declared as HTableDescriptor | |
---|---|
protected HTableDescriptor |
CreateTableHandler.hTableDescriptor
|
Methods in org.apache.hadoop.hbase.master.handler that return HTableDescriptor | |
---|---|
HTableDescriptor |
TableEventHandler.getTableDescriptor()
Gets a TableDescriptor from the masterServices. |
Constructors in org.apache.hadoop.hbase.master.handler with parameters of type HTableDescriptor | |
---|---|
CreateTableHandler(Server server,
MasterFileSystem fileSystemManager,
ServerManager serverManager,
HTableDescriptor hTableDescriptor,
org.apache.hadoop.conf.Configuration conf,
HRegionInfo[] newRegions,
CatalogTracker catalogTracker,
AssignmentManager assignmentManager)
|
|
ModifyTableHandler(byte[] tableName,
HTableDescriptor htd,
Server server,
MasterServices masterServices)
|
Uses of HTableDescriptor in org.apache.hadoop.hbase.master.snapshot |
---|
Constructors in org.apache.hadoop.hbase.master.snapshot with parameters of type HTableDescriptor | |
---|---|
CloneSnapshotHandler(MasterServices masterServices,
HBaseProtos.SnapshotDescription snapshot,
HTableDescriptor hTableDescriptor,
MasterMetrics metricsMaster)
|
|
RestoreSnapshotHandler(MasterServices masterServices,
HBaseProtos.SnapshotDescription snapshot,
HTableDescriptor htd,
MasterMetrics metricsMaster)
|
Uses of HTableDescriptor in org.apache.hadoop.hbase.migration |
---|
Fields in org.apache.hadoop.hbase.migration declared as HTableDescriptor | |
---|---|
protected HTableDescriptor |
HRegionInfo090x.tableDesc
|
Methods in org.apache.hadoop.hbase.migration that return HTableDescriptor | |
---|---|
HTableDescriptor |
HRegionInfo090x.getTableDesc()
|
Methods in org.apache.hadoop.hbase.migration with parameters of type HTableDescriptor | |
---|---|
void |
HRegionInfo090x.setTableDesc(HTableDescriptor newDesc)
|
Constructors in org.apache.hadoop.hbase.migration with parameters of type HTableDescriptor | |
---|---|
HRegionInfo090x(HTableDescriptor tableDesc,
byte[] startKey,
byte[] endKey)
Construct HRegionInfo with explicit parameters |
|
HRegionInfo090x(HTableDescriptor tableDesc,
byte[] startKey,
byte[] endKey,
boolean split)
Construct HRegionInfo with explicit parameters |
|
HRegionInfo090x(HTableDescriptor tableDesc,
byte[] startKey,
byte[] endKey,
boolean split,
long regionid)
Construct HRegionInfo with explicit parameters |
Uses of HTableDescriptor in org.apache.hadoop.hbase.regionserver |
---|
Methods in org.apache.hadoop.hbase.regionserver that return HTableDescriptor | |
---|---|
HTableDescriptor |
HRegion.getTableDesc()
|
Methods in org.apache.hadoop.hbase.regionserver with parameters of type HTableDescriptor | |
---|---|
static HDFSBlocksDistribution |
HRegion.computeHDFSBlocksDistribution(org.apache.hadoop.conf.Configuration conf,
HTableDescriptor tableDescriptor,
String regionEncodedName)
This is a helper function to compute HDFS block distribution on demand |
static HDFSBlocksDistribution |
HRegion.computeHDFSBlocksDistribution(org.apache.hadoop.conf.Configuration conf,
HTableDescriptor tableDescriptor,
String regionEncodedName,
org.apache.hadoop.fs.Path tablePath)
This is a helper function to compute HDFS block distribution on demand |
static HRegion |
HRegion.createHRegion(HRegionInfo info,
org.apache.hadoop.fs.Path rootDir,
org.apache.hadoop.conf.Configuration conf,
HTableDescriptor hTableDescriptor)
Convenience method creating new HRegions. |
static HRegion |
HRegion.createHRegion(HRegionInfo info,
org.apache.hadoop.fs.Path rootDir,
org.apache.hadoop.conf.Configuration conf,
HTableDescriptor hTableDescriptor,
HLog hlog)
|
static HRegion |
HRegion.createHRegion(HRegionInfo info,
org.apache.hadoop.fs.Path rootDir,
org.apache.hadoop.conf.Configuration conf,
HTableDescriptor hTableDescriptor,
HLog hlog,
boolean initialize)
Convenience method creating new HRegions. |
static HRegion |
HRegion.createHRegion(HRegionInfo info,
org.apache.hadoop.fs.Path rootDir,
org.apache.hadoop.conf.Configuration conf,
HTableDescriptor hTableDescriptor,
HLog hlog,
boolean initialize,
boolean ignoreHLog)
Convenience method creating new HRegions. |
static HRegion |
HRegion.newHRegion(org.apache.hadoop.fs.Path tableDir,
HLog log,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration conf,
HRegionInfo regionInfo,
HTableDescriptor htd,
RegionServerServices rsServices)
A utility method to create new instances of HRegion based on the HConstants.REGION_IMPL configuration property. |
static HRegion |
HRegion.openHRegion(HRegionInfo info,
HTableDescriptor htd,
HLog wal,
org.apache.hadoop.conf.Configuration conf)
Open a Region. |
static HRegion |
HRegion.openHRegion(HRegionInfo info,
HTableDescriptor htd,
HLog wal,
org.apache.hadoop.conf.Configuration conf,
RegionServerServices rsServices,
CancelableProgressable reporter)
Open a Region. |
static HRegion |
HRegion.openHRegion(org.apache.hadoop.fs.Path tableDir,
HRegionInfo info,
HTableDescriptor htd,
HLog wal,
org.apache.hadoop.conf.Configuration conf)
|
static HRegion |
HRegion.openHRegion(org.apache.hadoop.fs.Path tableDir,
HRegionInfo info,
HTableDescriptor htd,
HLog wal,
org.apache.hadoop.conf.Configuration conf,
RegionServerServices rsServices,
CancelableProgressable reporter)
Open a Region. |
Constructors in org.apache.hadoop.hbase.regionserver with parameters of type HTableDescriptor | |
---|---|
HRegion(org.apache.hadoop.fs.Path tableDir,
HLog log,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration confParam,
HRegionInfo regionInfo,
HTableDescriptor htd,
RegionServerServices rsServices)
HRegion constructor. |
Uses of HTableDescriptor in org.apache.hadoop.hbase.regionserver.handler |
---|
Constructors in org.apache.hadoop.hbase.regionserver.handler with parameters of type HTableDescriptor | |
---|---|
OpenMetaHandler(Server server,
RegionServerServices rsServices,
HRegionInfo regionInfo,
HTableDescriptor htd)
|
|
OpenMetaHandler(Server server,
RegionServerServices rsServices,
HRegionInfo regionInfo,
HTableDescriptor htd,
int versionOfOfflineNode)
|
|
OpenRegionHandler(Server server,
RegionServerServices rsServices,
HRegionInfo regionInfo,
HTableDescriptor htd)
|
|
OpenRegionHandler(Server server,
RegionServerServices rsServices,
HRegionInfo regionInfo,
HTableDescriptor htd,
EventHandler.EventType eventType,
int version)
|
|
OpenRegionHandler(Server server,
RegionServerServices rsServices,
HRegionInfo regionInfo,
HTableDescriptor htd,
int version)
|
|
OpenRootHandler(Server server,
RegionServerServices rsServices,
HRegionInfo regionInfo,
HTableDescriptor htd)
|
|
OpenRootHandler(Server server,
RegionServerServices rsServices,
HRegionInfo regionInfo,
HTableDescriptor htd,
int versionOfOfflineNode)
|
Uses of HTableDescriptor in org.apache.hadoop.hbase.regionserver.wal |
---|
Methods in org.apache.hadoop.hbase.regionserver.wal with parameters of type HTableDescriptor | |
---|---|
void |
HLog.append(HRegionInfo info,
byte[] tableName,
WALEdit edits,
long now,
HTableDescriptor htd)
Only used in tests. |
long |
HLog.append(HRegionInfo info,
byte[] tableName,
WALEdit edits,
UUID clusterId,
long now,
HTableDescriptor htd)
Append a set of edits to the log. |
long |
HLog.append(HRegionInfo regionInfo,
HLogKey logKey,
WALEdit logEdit,
HTableDescriptor htd,
boolean doSync)
Append an entry to the log. |
long |
HLog.appendNoSync(HRegionInfo info,
byte[] tableName,
WALEdit edits,
UUID clusterId,
long now,
HTableDescriptor htd)
Append a set of edits to the log. |
protected void |
HLog.doWrite(HRegionInfo info,
HLogKey logKey,
WALEdit logEdit,
HTableDescriptor htd)
|
void |
WALActionsListener.visitLogEntryBeforeWrite(HTableDescriptor htd,
HLogKey logKey,
WALEdit logEdit)
|
Uses of HTableDescriptor in org.apache.hadoop.hbase.replication.regionserver |
---|
Methods in org.apache.hadoop.hbase.replication.regionserver with parameters of type HTableDescriptor | |
---|---|
void |
Replication.visitLogEntryBeforeWrite(HTableDescriptor htd,
HLogKey logKey,
WALEdit logEdit)
|
Uses of HTableDescriptor in org.apache.hadoop.hbase.rest.client |
---|
Methods in org.apache.hadoop.hbase.rest.client that return HTableDescriptor | |
---|---|
HTableDescriptor |
RemoteHTable.getTableDescriptor()
|
Methods in org.apache.hadoop.hbase.rest.client with parameters of type HTableDescriptor | |
---|---|
void |
RemoteAdmin.createTable(HTableDescriptor desc)
Creates a new table. |
Uses of HTableDescriptor in org.apache.hadoop.hbase.rest.model |
---|
Methods in org.apache.hadoop.hbase.rest.model that return HTableDescriptor | |
---|---|
HTableDescriptor |
TableSchemaModel.getTableDescriptor()
|
Constructors in org.apache.hadoop.hbase.rest.model with parameters of type HTableDescriptor | |
---|---|
TableSchemaModel(HTableDescriptor htd)
Constructor |
Uses of HTableDescriptor in org.apache.hadoop.hbase.security.access |
---|
Fields in org.apache.hadoop.hbase.security.access declared as HTableDescriptor | |
---|---|
static HTableDescriptor |
AccessControlLists.ACL_TABLEDESC
Table descriptor for ACL internal table |
Method parameters in org.apache.hadoop.hbase.security.access with type arguments of type HTableDescriptor | |
---|---|
void |
AccessController.postGetTableDescriptors(ObserverContext<MasterCoprocessorEnvironment> ctx,
List<HTableDescriptor> descriptors)
|
void |
AccessController.preGetTableDescriptors(ObserverContext<MasterCoprocessorEnvironment> ctx,
List<String> tableNamesList,
List<HTableDescriptor> descriptors)
|
Uses of HTableDescriptor in org.apache.hadoop.hbase.snapshot |
---|
Methods in org.apache.hadoop.hbase.snapshot that return HTableDescriptor | |
---|---|
static HTableDescriptor |
RestoreSnapshotHelper.cloneTableSchema(HTableDescriptor snapshotTableDescriptor,
byte[] tableName)
Create a new table descriptor cloning the snapshot table schema. |
Methods in org.apache.hadoop.hbase.snapshot with parameters of type HTableDescriptor | |
---|---|
static HTableDescriptor |
RestoreSnapshotHelper.cloneTableSchema(HTableDescriptor snapshotTableDescriptor,
byte[] tableName)
Create a new table descriptor cloning the snapshot table schema. |
Constructors in org.apache.hadoop.hbase.snapshot with parameters of type HTableDescriptor | |
---|---|
RestoreSnapshotHelper(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
HBaseProtos.SnapshotDescription snapshotDescription,
org.apache.hadoop.fs.Path snapshotDir,
HTableDescriptor tableDescriptor,
org.apache.hadoop.fs.Path tableDir,
ForeignExceptionDispatcher monitor,
MonitoredTask status)
|
Uses of HTableDescriptor in org.apache.hadoop.hbase.util |
---|
Methods in org.apache.hadoop.hbase.util that return HTableDescriptor | |
---|---|
HTableDescriptor |
FSTableDescriptors.get(byte[] tablename)
|
HTableDescriptor |
FSTableDescriptors.get(String tablename)
|
static HTableDescriptor |
FSTableDescriptors.getTableDescriptor(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path tableDir)
|
static HTableDescriptor |
FSTableDescriptors.getTableDescriptor(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path hbaseRootDir,
byte[] tableName)
Get HTD from HDFS. |
static HTableDescriptor |
FSTableDescriptors.getTableDescriptorFromFs(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path tableDir)
Returns the latest table descriptor for the table located at the given directory directly from the file system if it exists. |
static HTableDescriptor |
FSTableDescriptors.getTableDescriptorFromFs(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path hbaseRootDir,
String tableName)
Returns the latest table descriptor for the given table directly from the file system if it exists, bypassing the local cache. |
HTableDescriptor |
FSTableDescriptors.remove(String tablename)
|
Methods in org.apache.hadoop.hbase.util that return types with arguments of type HTableDescriptor | |
---|---|
Map<String,HTableDescriptor> |
FSTableDescriptors.getAll()
|
Methods in org.apache.hadoop.hbase.util with parameters of type HTableDescriptor | |
---|---|
void |
FSTableDescriptors.add(HTableDescriptor htd)
|
static HRegion |
HBaseFsckRepair.createHDFSRegionDir(org.apache.hadoop.conf.Configuration conf,
HRegionInfo hri,
HTableDescriptor htd)
Creates, flushes, and closes a new region. |
static List<HRegionInfo> |
ModifyRegionUtils.createRegions(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path rootDir,
HTableDescriptor hTableDescriptor,
HRegionInfo[] newRegions)
Create new set of regions on the specified file-system. |
static List<HRegionInfo> |
ModifyRegionUtils.createRegions(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path rootDir,
HTableDescriptor hTableDescriptor,
HRegionInfo[] newRegions,
ModifyRegionUtils.RegionFillTask task)
Create new set of regions on the specified file-system. |
static boolean |
FSTableDescriptors.createTableDescriptor(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path rootdir,
HTableDescriptor htableDescriptor)
Create new HTableDescriptor in HDFS. |
static boolean |
FSTableDescriptors.createTableDescriptor(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path rootdir,
HTableDescriptor htableDescriptor,
boolean forceCreation)
Create new HTableDescriptor in HDFS. |
static boolean |
FSTableDescriptors.createTableDescriptor(HTableDescriptor htableDescriptor,
org.apache.hadoop.conf.Configuration conf)
Create new HTableDescriptor in HDFS. |
static boolean |
FSTableDescriptors.createTableDescriptorForTableDirectory(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path tabledir,
HTableDescriptor htableDescriptor,
boolean forceCreation)
Create a new HTableDescriptor in HDFS in the specified table directory. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |