| Package | Description |
|---|---|
| org.apache.hadoop.hive.metastore | |
| org.apache.hadoop.hive.metastore.api | |
| org.apache.hadoop.hive.metastore.utils |
Package consisting the utility methods for metastore.
|
| Modifier and Type | Method and Description |
|---|---|
Database |
DefaultMetaStoreFilterHookImpl.filterDatabase(Database dataBase) |
Database |
MetaStoreFilterHook.filterDatabase(Database dataBase)
filter to given database object if applicable
|
Database |
AbstractThriftHiveMetastore.get_database_req(GetDatabaseRequest request) |
Database |
AbstractThriftHiveMetastore.get_database(String name) |
Database |
HiveMetaStoreClient.getDatabase(String name) |
Database |
IMetaStoreClient.getDatabase(String databaseName)
Get a Database Object in the default catalog
|
Database |
HiveMetaStoreClient.getDatabase(String catalogName,
String databaseName) |
Database |
IMetaStoreClient.getDatabase(String catalogName,
String databaseName)
Get a database.
|
protected Database |
HiveMetaStoreClient.getDatabaseInternal(GetDatabaseRequest request) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractThriftHiveMetastore.alter_database(String dbname,
Database db) |
void |
HiveMetaStoreClient.alterDatabase(String dbName,
Database db) |
void |
IMetaStoreClient.alterDatabase(String name,
Database db)
Alter a database.
|
void |
HiveMetaStoreClient.alterDatabase(String catName,
String dbName,
Database newDb) |
void |
IMetaStoreClient.alterDatabase(String catName,
String dbName,
Database newDb)
Alter a database.
|
void |
AbstractThriftHiveMetastore.create_database(Database database) |
void |
HiveMetaStoreClient.createDatabase(Database db)
Create a new Database
|
void |
IMetaStoreClient.createDatabase(Database db)
Create a new database.
|
boolean |
Warehouse.deleteDir(org.apache.hadoop.fs.Path f,
boolean recursive,
boolean ifPurge,
Database db) |
boolean |
Warehouse.deleteDir(org.apache.hadoop.fs.Path f,
boolean recursive,
Database db) |
org.apache.hadoop.fs.Path |
Warehouse.determineDatabasePath(Catalog cat,
Database db)
Build the database path based on catalog name and database name.
|
Database |
DefaultMetaStoreFilterHookImpl.filterDatabase(Database dataBase) |
Database |
MetaStoreFilterHook.filterDatabase(Database dataBase)
filter to given database object if applicable
|
org.apache.hadoop.fs.Path |
Warehouse.getDatabaseExternalPath(Database db)
Get the external tables path specified by the database.
|
org.apache.hadoop.fs.Path |
Warehouse.getDatabaseManagedPath(Database db)
Get the managed tables path specified by the database.
|
org.apache.hadoop.fs.Path |
Warehouse.getDatabasePath(Database db)
Get the managed tables path specified by the database.
|
org.apache.hadoop.fs.Path |
Warehouse.getDefaultManagedTablePath(Database db,
String tableName) |
org.apache.hadoop.fs.Path |
Warehouse.getDefaultPartitionPath(Database db,
Table table,
Map<String,String> pm)
Returns the default partition path of a table within a given database and partition key value
pairs.
|
org.apache.hadoop.fs.Path |
Warehouse.getDefaultTablePath(Database db,
String tableName)
Deprecated.
|
org.apache.hadoop.fs.Path |
Warehouse.getDefaultTablePath(Database db,
String tableName,
boolean isExternal) |
org.apache.hadoop.fs.Path |
Warehouse.getDefaultTablePath(Database db,
Table table) |
List<org.apache.hadoop.fs.FileStatus> |
Warehouse.getFileStatusesForUnpartitionedTable(Database db,
Table table) |
org.apache.hadoop.fs.Path |
Warehouse.getPartitionPath(Database db,
Table table,
List<String> vals)
Given a database, a table and the partition key value pairs this method returns the Path object
corresponding to the partition key value pairs.
|
static String |
ReplChangeManager.getReplPolicyIdString(Database db) |
static boolean |
ReplChangeManager.isSourceOfReplication(Database db) |
static boolean |
ReplChangeManager.shouldEnableCm(Database db,
Table table) |
| Modifier and Type | Method and Description |
|---|---|
Database |
Database.deepCopy() |
Database |
ThriftHiveMetastore.Iface.get_database_req(GetDatabaseRequest request) |
Database |
ThriftHiveMetastore.Client.get_database_req(GetDatabaseRequest request) |
Database |
ThriftHiveMetastore.Iface.get_database(String name) |
Database |
ThriftHiveMetastore.Client.get_database(String name) |
Database |
ThriftHiveMetastore.create_database_args.getDatabase() |
Database |
ThriftHiveMetastore.alter_database_args.getDb() |
Database |
ThriftHiveMetastore.AsyncClient.get_database_call.getResult() |
Database |
ThriftHiveMetastore.AsyncClient.get_database_req_call.getResult() |
Database |
ThriftHiveMetastore.get_database_result.getSuccess() |
Database |
ThriftHiveMetastore.get_database_req_result.getSuccess() |
Database |
ThriftHiveMetastore.Client.recv_get_database_req() |
Database |
ThriftHiveMetastore.Client.recv_get_database() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.thrift.async.AsyncMethodCallback<Database> |
ThriftHiveMetastore.AsyncProcessor.get_database.getResultHandler(org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb,
int seqid) |
org.apache.thrift.async.AsyncMethodCallback<Database> |
ThriftHiveMetastore.AsyncProcessor.get_database_req.getResultHandler(org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb,
int seqid) |
| Modifier and Type | Method and Description |
|---|---|
void |
ThriftHiveMetastore.Iface.alter_database(String dbname,
Database db) |
void |
ThriftHiveMetastore.Client.alter_database(String dbname,
Database db) |
void |
ThriftHiveMetastore.AsyncIface.alter_database(String dbname,
Database db,
org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
ThriftHiveMetastore.AsyncClient.alter_database(String dbname,
Database db,
org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) |
int |
Database.compareTo(Database other) |
void |
ThriftHiveMetastore.Iface.create_database(Database database) |
void |
ThriftHiveMetastore.Client.create_database(Database database) |
void |
ThriftHiveMetastore.AsyncIface.create_database(Database database,
org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
ThriftHiveMetastore.AsyncClient.create_database(Database database,
org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) |
boolean |
Database.equals(Database that) |
void |
ThriftHiveMetastore.Client.send_alter_database(String dbname,
Database db) |
void |
ThriftHiveMetastore.Client.send_create_database(Database database) |
void |
ThriftHiveMetastore.create_database_args.setDatabase(Database database) |
void |
ThriftHiveMetastore.alter_database_args.setDb(Database db) |
void |
ThriftHiveMetastore.get_database_result.setSuccess(Database success) |
void |
ThriftHiveMetastore.get_database_req_result.setSuccess(Database success) |
| Modifier and Type | Method and Description |
|---|---|
void |
ThriftHiveMetastore.AsyncIface.get_database_req(GetDatabaseRequest request,
org.apache.thrift.async.AsyncMethodCallback<Database> resultHandler) |
void |
ThriftHiveMetastore.AsyncClient.get_database_req(GetDatabaseRequest request,
org.apache.thrift.async.AsyncMethodCallback<Database> resultHandler) |
void |
ThriftHiveMetastore.AsyncIface.get_database(String name,
org.apache.thrift.async.AsyncMethodCallback<Database> resultHandler) |
void |
ThriftHiveMetastore.AsyncClient.get_database(String name,
org.apache.thrift.async.AsyncMethodCallback<Database> resultHandler) |
void |
ThriftHiveMetastore.AsyncProcessor.get_database.start(I iface,
ThriftHiveMetastore.get_database_args args,
org.apache.thrift.async.AsyncMethodCallback<Database> resultHandler) |
void |
ThriftHiveMetastore.AsyncProcessor.get_database_req.start(I iface,
ThriftHiveMetastore.get_database_req_args args,
org.apache.thrift.async.AsyncMethodCallback<Database> resultHandler) |
| Constructor and Description |
|---|
alter_database_args(String dbname,
Database db) |
alter_database_call(String dbname,
Database db,
org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler,
org.apache.thrift.async.TAsyncClient client,
org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.transport.TNonblockingTransport transport) |
create_database_args(Database database) |
create_database_call(Database database,
org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler,
org.apache.thrift.async.TAsyncClient client,
org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.transport.TNonblockingTransport transport) |
Database(Database other)
Performs a deep copy on other.
|
get_database_req_result(Database success,
NoSuchObjectException o1,
MetaException o2) |
get_database_result(Database success,
NoSuchObjectException o1,
MetaException o2) |
| Constructor and Description |
|---|
get_database_call(String name,
org.apache.thrift.async.AsyncMethodCallback<Database> resultHandler,
org.apache.thrift.async.TAsyncClient client,
org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.transport.TNonblockingTransport transport) |
get_database_req_call(GetDatabaseRequest request,
org.apache.thrift.async.AsyncMethodCallback<Database> resultHandler,
org.apache.thrift.async.TAsyncClient client,
org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.transport.TNonblockingTransport transport) |
| Modifier and Type | Method and Description |
|---|---|
static Database |
FilterUtils.filterDbIfEnabled(boolean isFilterEnabled,
MetaStoreFilterHook filterHook,
Database db)
Filter the DB if filtering is enabled.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
MetaStoreUtils.checkIfDbNeedsToBeSkipped(Database db) |
static Database |
FilterUtils.filterDbIfEnabled(boolean isFilterEnabled,
MetaStoreFilterHook filterHook,
Database db)
Filter the DB if filtering is enabled.
|
static boolean |
MetaStoreUtils.isBackgroundThreadsEnabledForRepl(Database db) |
static boolean |
MetaStoreUtils.isDbBeingPlannedFailedOver(Database db) |
static boolean |
MetaStoreUtils.isDbBeingPlannedFailedOverAtEndpoint(Database db,
MetaStoreUtils.FailoverEndpoint endPoint) |
static boolean |
MetaStoreUtils.isDbReplIncompatible(Database db) |
static boolean |
MetaStoreUtils.isTargetOfReplication(Database db) |
Copyright © 2024 The Apache Software Foundation. All rights reserved.