public class HMSHandler extends com.facebook.fb303.FacebookBase implements IHMSHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
ADMIN |
static org.slf4j.Logger |
LOG |
static String |
PARTITION_NUMBER_EXCEED_LIMIT_MSG |
static String |
PUBLIC |
| Constructor and Description |
|---|
HMSHandler(String name,
org.apache.hadoop.conf.Configuration conf) |
aliveSince, deleteCounter, getCounter, getCpuProfile, getName, getOption, getOptions, getStatusDetails, incrementCounter, incrementCounter, reinitialize, resetCounter, setCounter, setOptionpublic static final org.slf4j.Logger LOG
public static final String PARTITION_NUMBER_EXCEED_LIMIT_MSG
public static final String ADMIN
public static final String PUBLIC
public HMSHandler(String name, org.apache.hadoop.conf.Configuration conf)
public static RawStore getRawStore()
public static String getIPAddress()
@Deprecated public org.apache.hadoop.conf.Configuration getHiveConf()
getConf() instead.public List<TransactionalMetaStoreEventListener> getTransactionalListeners()
IHMSHandlergetTransactionalListeners in interface IHMSHandlerpublic List<MetaStoreEventListener> getListeners()
IHMSHandlergetListeners in interface IHMSHandlerpublic void init()
throws MetaException
init in interface IHMSHandlerMetaExceptionpublic void setConf(org.apache.hadoop.conf.Configuration conf)
setConf in interface org.apache.hadoop.conf.Configurablepublic org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.Configurablepublic Warehouse getWh()
IHMSHandlergetWh in interface IHMSHandlerpublic void setMetaConf(String key, String value) throws MetaException
setMetaConf in interface ThriftHiveMetastore.IfaceMetaExceptionpublic String getMetaConf(String key) throws MetaException
getMetaConf in interface ThriftHiveMetastore.IfaceMetaExceptionpublic RawStore getMS() throws MetaException
getMS in interface IHMSHandlerMetaExceptionpublic static RawStore getMSForConf(org.apache.hadoop.conf.Configuration conf) throws MetaException
MetaExceptionpublic TxnStore getTxnHandler()
IHMSHandlergetTxnHandler in interface IHMSHandlerpublic static void createDefaultCatalog(RawStore ms, Warehouse wh) throws MetaException, InvalidOperationException
public com.facebook.fb303.fb_status getStatus()
getStatus in interface com.facebook.fb303.FacebookService.IfacegetStatus in class com.facebook.fb303.FacebookBasepublic void shutdown()
shutdown in interface com.facebook.fb303.FacebookService.Ifaceshutdown in class com.facebook.fb303.FacebookBasepublic AbstractMap<String,Long> getCounters()
getCounters in interface com.facebook.fb303.FacebookService.IfacegetCounters in class com.facebook.fb303.FacebookBasepublic void create_catalog(CreateCatalogRequest rqst) throws AlreadyExistsException, InvalidObjectException, MetaException
create_catalog in interface ThriftHiveMetastore.IfaceAlreadyExistsExceptionInvalidObjectExceptionMetaExceptionpublic void alter_catalog(AlterCatalogRequest rqst) throws org.apache.thrift.TException
alter_catalog in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic GetCatalogResponse get_catalog(GetCatalogRequest rqst) throws NoSuchObjectException, org.apache.thrift.TException
get_catalog in interface ThriftHiveMetastore.IfaceNoSuchObjectExceptionorg.apache.thrift.TExceptionpublic GetCatalogsResponse get_catalogs() throws MetaException
get_catalogs in interface ThriftHiveMetastore.IfaceMetaExceptionpublic void drop_catalog(DropCatalogRequest rqst) throws NoSuchObjectException, InvalidOperationException, MetaException
drop_catalog in interface ThriftHiveMetastore.IfaceNoSuchObjectExceptionInvalidOperationExceptionMetaExceptionpublic void create_database(Database db) throws AlreadyExistsException, InvalidObjectException, MetaException
create_database in interface ThriftHiveMetastore.IfaceAlreadyExistsExceptionInvalidObjectExceptionMetaExceptionpublic Database get_database(String name) throws NoSuchObjectException, MetaException
get_database in interface ThriftHiveMetastore.IfaceNoSuchObjectExceptionMetaExceptionpublic Database get_database_core(String catName, String name) throws NoSuchObjectException, MetaException
IHMSHandlerget_database_core in interface IHMSHandlercatName - catalog namename - database nameNoSuchObjectException - If the database does not exist.MetaException - If another error occurs.public Database get_database_req(GetDatabaseRequest request) throws NoSuchObjectException, MetaException
get_database_req in interface ThriftHiveMetastore.IfaceNoSuchObjectExceptionMetaExceptionpublic void alter_database(String dbName, Database newDB) throws org.apache.thrift.TException
alter_database in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic void drop_database(String dbName, boolean deleteData, boolean cascade) throws NoSuchObjectException, InvalidOperationException, MetaException
drop_database in interface ThriftHiveMetastore.IfaceNoSuchObjectExceptionInvalidOperationExceptionMetaExceptionpublic void drop_database_req(DropDatabaseRequest req) throws NoSuchObjectException, InvalidOperationException, MetaException
drop_database_req in interface ThriftHiveMetastore.IfaceNoSuchObjectExceptionInvalidOperationExceptionMetaExceptionpublic List<String> get_databases(String pattern) throws MetaException
get_databases in interface ThriftHiveMetastore.IfaceMetaExceptionpublic List<String> get_all_databases() throws MetaException
get_all_databases in interface ThriftHiveMetastore.IfaceMetaExceptionpublic void create_dataconnector(DataConnector connector) throws AlreadyExistsException, InvalidObjectException, MetaException
create_dataconnector in interface ThriftHiveMetastore.IfaceAlreadyExistsExceptionInvalidObjectExceptionMetaExceptionpublic DataConnector get_dataconnector_core(String name) throws NoSuchObjectException, MetaException
IHMSHandlerget_dataconnector_core in interface IHMSHandlername - connector nameNoSuchObjectException - If the connector does not exist.MetaException - If another error occurs.public DataConnector get_dataconnector_req(GetDataConnectorRequest request) throws NoSuchObjectException, MetaException
get_dataconnector_req in interface ThriftHiveMetastore.IfaceNoSuchObjectExceptionMetaExceptionpublic void alter_dataconnector(String dcName, DataConnector newDC) throws org.apache.thrift.TException
alter_dataconnector in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic List<String> get_dataconnectors() throws MetaException
get_dataconnectors in interface ThriftHiveMetastore.IfaceMetaExceptionpublic void drop_dataconnector(String dcName, boolean ifNotExists, boolean checkReferences) throws NoSuchObjectException, InvalidOperationException, MetaException
drop_dataconnector in interface ThriftHiveMetastore.IfaceNoSuchObjectExceptionInvalidOperationExceptionMetaExceptionpublic boolean create_type(Type type) throws AlreadyExistsException, MetaException, InvalidObjectException
create_type in interface ThriftHiveMetastore.IfaceAlreadyExistsExceptionMetaExceptionInvalidObjectExceptionpublic Type get_type(String name) throws MetaException, NoSuchObjectException
get_type in interface ThriftHiveMetastore.IfaceMetaExceptionNoSuchObjectExceptionpublic boolean drop_type(String name) throws MetaException, NoSuchObjectException
drop_type in interface ThriftHiveMetastore.IfaceMetaExceptionNoSuchObjectExceptionpublic Map<String,Type> get_type_all(String name) throws MetaException
get_type_all in interface ThriftHiveMetastore.IfaceMetaExceptionpublic Table translate_table_dryrun(CreateTableRequest req) throws AlreadyExistsException, MetaException, InvalidObjectException, InvalidInputException
translate_table_dryrun in interface ThriftHiveMetastore.IfaceAlreadyExistsExceptionMetaExceptionInvalidObjectExceptionInvalidInputExceptionpublic void create_table(Table tbl) throws AlreadyExistsException, MetaException, InvalidObjectException, InvalidInputException
create_table in interface ThriftHiveMetastore.IfaceAlreadyExistsExceptionMetaExceptionInvalidObjectExceptionInvalidInputExceptionpublic void create_table_with_environment_context(Table tbl, EnvironmentContext envContext) throws AlreadyExistsException, MetaException, InvalidObjectException, InvalidInputException
create_table_with_environment_context in interface ThriftHiveMetastore.IfaceAlreadyExistsExceptionMetaExceptionInvalidObjectExceptionInvalidInputExceptionpublic void create_table_req(CreateTableRequest req) throws AlreadyExistsException, MetaException, InvalidObjectException, InvalidInputException
create_table_req in interface ThriftHiveMetastore.IfaceAlreadyExistsExceptionMetaExceptionInvalidObjectExceptionInvalidInputExceptionpublic void create_table_with_constraints(Table tbl, List<SQLPrimaryKey> primaryKeys, List<SQLForeignKey> foreignKeys, List<SQLUniqueConstraint> uniqueConstraints, List<SQLNotNullConstraint> notNullConstraints, List<SQLDefaultConstraint> defaultConstraints, List<SQLCheckConstraint> checkConstraints) throws AlreadyExistsException, MetaException, InvalidObjectException, InvalidInputException
create_table_with_constraints in interface ThriftHiveMetastore.IfaceAlreadyExistsExceptionMetaExceptionInvalidObjectExceptionInvalidInputExceptionpublic void drop_constraint(DropConstraintRequest req) throws MetaException, InvalidObjectException
drop_constraint in interface ThriftHiveMetastore.IfaceMetaExceptionInvalidObjectExceptionpublic void add_primary_key(AddPrimaryKeyRequest req) throws MetaException, InvalidObjectException
add_primary_key in interface ThriftHiveMetastore.IfaceMetaExceptionInvalidObjectExceptionpublic void add_foreign_key(AddForeignKeyRequest req) throws MetaException, InvalidObjectException
add_foreign_key in interface ThriftHiveMetastore.IfaceMetaExceptionInvalidObjectExceptionpublic void add_unique_constraint(AddUniqueConstraintRequest req) throws MetaException, InvalidObjectException
add_unique_constraint in interface ThriftHiveMetastore.IfaceMetaExceptionInvalidObjectExceptionpublic void add_not_null_constraint(AddNotNullConstraintRequest req) throws MetaException, InvalidObjectException
add_not_null_constraint in interface ThriftHiveMetastore.IfaceMetaExceptionInvalidObjectExceptionpublic void add_default_constraint(AddDefaultConstraintRequest req) throws MetaException, InvalidObjectException
add_default_constraint in interface ThriftHiveMetastore.IfaceMetaExceptionInvalidObjectExceptionpublic void add_check_constraint(AddCheckConstraintRequest req) throws MetaException, InvalidObjectException
add_check_constraint in interface ThriftHiveMetastore.IfaceMetaExceptionInvalidObjectExceptionpublic void drop_table(String dbname, String name, boolean deleteData) throws NoSuchObjectException, MetaException
drop_table in interface ThriftHiveMetastore.IfaceNoSuchObjectExceptionMetaExceptionpublic void drop_table_with_environment_context(String dbname, String name, boolean deleteData, EnvironmentContext envContext) throws NoSuchObjectException, MetaException
drop_table_with_environment_context in interface ThriftHiveMetastore.IfaceNoSuchObjectExceptionMetaExceptionpublic CmRecycleResponse cm_recycle(CmRecycleRequest request) throws MetaException
cm_recycle in interface ThriftHiveMetastore.IfaceMetaExceptionpublic void truncate_table(String dbName, String tableName, List<String> partNames) throws NoSuchObjectException, MetaException
truncate_table in interface ThriftHiveMetastore.IfaceNoSuchObjectExceptionMetaExceptionpublic TruncateTableResponse truncate_table_req(TruncateTableRequest req) throws MetaException, org.apache.thrift.TException
truncate_table_req in interface ThriftHiveMetastore.IfaceMetaExceptionorg.apache.thrift.TException@Deprecated public Table get_table(String dbname, String name) throws MetaException, NoSuchObjectException
get_table in interface ThriftHiveMetastore.IfaceMetaExceptionNoSuchObjectExceptionpublic List<ExtendedTableInfo> get_tables_ext(GetTablesExtRequest req) throws MetaException
get_tables_ext in interface ThriftHiveMetastore.IfaceMetaExceptionpublic GetTableResult get_table_req(GetTableRequest req) throws MetaException, NoSuchObjectException
get_table_req in interface ThriftHiveMetastore.IfaceMetaExceptionNoSuchObjectExceptionpublic List<TableMeta> get_table_meta(String dbnames, String tblNames, List<String> tblTypes) throws MetaException, NoSuchObjectException
get_table_meta in interface ThriftHiveMetastore.IfaceMetaExceptionNoSuchObjectException@Deprecated public Table get_table_core(String catName, String dbname, String name) throws MetaException, NoSuchObjectException
IHMSHandlerget_table_core in interface IHMSHandlercatName - catalog namedbname - database namename - table nameMetaException - If another error occurs.NoSuchObjectException - If the table does not exist.@Deprecated public Table get_table_core(String catName, String dbname, String name, String writeIdList) throws MetaException, NoSuchObjectException
get_table_core in interface IHMSHandlerMetaExceptionNoSuchObjectExceptionpublic Table get_table_core(GetTableRequest getTableRequest) throws MetaException, NoSuchObjectException
get_table_core in interface IHMSHandlergetTableRequest - request object to query table in HMSMetaException - If another error occursNoSuchObjectException - If the table does not exist.@Deprecated public List<Table> get_table_objects_by_name(String dbName, List<String> tableNames) throws MetaException, InvalidOperationException, UnknownDBException
get_table_objects_by_name in interface ThriftHiveMetastore.IfacedbName - The name of the database in which the tables residetableNames - The names of the tables to get.MetaExceptionInvalidOperationExceptionUnknownDBExceptionpublic GetTablesResult get_table_objects_by_name_req(GetTablesRequest req) throws org.apache.thrift.TException
get_table_objects_by_name_req in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic Materialization get_materialization_invalidation_info(CreationMetadata cm, String validTxnList) throws MetaException
get_materialization_invalidation_info in interface ThriftHiveMetastore.IfaceMetaExceptionpublic void update_creation_metadata(String catName, String dbName, String tableName, CreationMetadata cm) throws MetaException
update_creation_metadata in interface ThriftHiveMetastore.IfaceMetaExceptionpublic List<String> get_table_names_by_filter(String dbName, String filter, short maxTables) throws MetaException, InvalidOperationException, UnknownDBException
get_table_names_by_filter in interface ThriftHiveMetastore.IfaceMetaExceptionInvalidOperationExceptionUnknownDBExceptionpublic Partition append_partition(String dbName, String tableName, List<String> part_vals) throws InvalidObjectException, AlreadyExistsException, MetaException
append_partition in interface ThriftHiveMetastore.IfaceInvalidObjectExceptionAlreadyExistsExceptionMetaExceptionpublic Partition append_partition_with_environment_context(String dbName, String tableName, List<String> part_vals, EnvironmentContext envContext) throws InvalidObjectException, AlreadyExistsException, MetaException
append_partition_with_environment_context in interface ThriftHiveMetastore.IfaceInvalidObjectExceptionAlreadyExistsExceptionMetaExceptionpublic AddPartitionsResult add_partitions_req(AddPartitionsRequest request) throws org.apache.thrift.TException
add_partitions_req in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic int add_partitions(List<Partition> parts) throws MetaException, InvalidObjectException, AlreadyExistsException
add_partitions in interface ThriftHiveMetastore.IfaceMetaExceptionInvalidObjectExceptionAlreadyExistsExceptionpublic int add_partitions_pspec(List<PartitionSpec> partSpecs) throws org.apache.thrift.TException
add_partitions_pspec in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic Partition add_partition(Partition part) throws InvalidObjectException, AlreadyExistsException, MetaException
add_partition in interface ThriftHiveMetastore.IfaceInvalidObjectExceptionAlreadyExistsExceptionMetaExceptionpublic Partition add_partition_with_environment_context(Partition part, EnvironmentContext envContext) throws InvalidObjectException, AlreadyExistsException, MetaException
add_partition_with_environment_context in interface ThriftHiveMetastore.IfaceInvalidObjectExceptionAlreadyExistsExceptionMetaExceptionpublic Partition exchange_partition(Map<String,String> partitionSpecs, String sourceDbName, String sourceTableName, String destDbName, String destTableName) throws org.apache.thrift.TException
exchange_partition in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic List<Partition> exchange_partitions(Map<String,String> partitionSpecs, String sourceDbName, String sourceTableName, String destDbName, String destTableName) throws org.apache.thrift.TException
exchange_partitions in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic boolean drop_partition(String db_name, String tbl_name, List<String> part_vals, boolean deleteData) throws org.apache.thrift.TException
drop_partition in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic DropPartitionsResult drop_partitions_req(DropPartitionsRequest request) throws org.apache.thrift.TException
drop_partitions_req in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic boolean drop_partition_with_environment_context(String db_name, String tbl_name, List<String> part_vals, boolean deleteData, EnvironmentContext envContext) throws org.apache.thrift.TException
drop_partition_with_environment_context in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TException@Deprecated public Partition get_partition(String db_name, String tbl_name, List<String> part_vals) throws MetaException, NoSuchObjectException
get_partition_req(GetPartitionRequest) ()} instead.get_partition in interface ThriftHiveMetastore.IfaceMetaExceptionNoSuchObjectExceptionpublic GetPartitionResponse get_partition_req(GetPartitionRequest req) throws MetaException, NoSuchObjectException, org.apache.thrift.TException
get_partition_req in interface ThriftHiveMetastore.IfaceMetaExceptionNoSuchObjectExceptionorg.apache.thrift.TException@Deprecated public Partition get_partition_with_auth(String db_name, String tbl_name, List<String> part_vals, String user_name, List<String> group_names) throws org.apache.thrift.TException
get_partition_with_auth in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TException@Deprecated public List<Partition> get_partitions(String db_name, String tbl_name, short max_parts) throws NoSuchObjectException, MetaException
get_partitions_req(PartitionsRequest) ()} instead.get_partitions in interface ThriftHiveMetastore.IfaceNoSuchObjectExceptionMetaExceptionpublic PartitionsResponse get_partitions_req(PartitionsRequest req) throws NoSuchObjectException, MetaException, org.apache.thrift.TException
get_partitions_req in interface ThriftHiveMetastore.IfaceNoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException@Deprecated public List<Partition> get_partitions_with_auth(String dbName, String tblName, short maxParts, String userName, List<String> groupNames) throws org.apache.thrift.TException
get_partitions_with_auth in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TException@Deprecated public List<PartitionSpec> get_partitions_pspec(String db_name, String tbl_name, int max_parts) throws NoSuchObjectException, MetaException
get_partitions_pspec in interface ThriftHiveMetastore.IfaceNoSuchObjectExceptionMetaExceptionpublic GetPartitionsResponse get_partitions_with_specs(GetPartitionsRequest request) throws MetaException, org.apache.thrift.TException
get_partitions_with_specs in interface ThriftHiveMetastore.IfaceMetaExceptionorg.apache.thrift.TException@Deprecated public List<String> get_partition_names(String db_name, String tbl_name, short max_parts) throws NoSuchObjectException, MetaException
get_partition_names in interface ThriftHiveMetastore.IfaceNoSuchObjectExceptionMetaExceptionpublic PartitionValuesResponse get_partition_values(PartitionValuesRequest request) throws MetaException
get_partition_values in interface ThriftHiveMetastore.IfaceMetaException@Deprecated public void alter_partition(String db_name, String tbl_name, Partition new_part) throws org.apache.thrift.TException
alter_partition in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TException@Deprecated public void alter_partition_with_environment_context(String dbName, String tableName, Partition newPartition, EnvironmentContext envContext) throws org.apache.thrift.TException
alter_partition_with_environment_context in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TException@Deprecated public void rename_partition(String db_name, String tbl_name, List<String> part_vals, Partition new_part) throws org.apache.thrift.TException
rename_partition in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic RenamePartitionResponse rename_partition_req(RenamePartitionRequest req) throws org.apache.thrift.TException
rename_partition_req in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic void alter_partitions(String db_name, String tbl_name, List<Partition> new_parts) throws org.apache.thrift.TException
alter_partitions in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic AlterPartitionsResponse alter_partitions_req(AlterPartitionsRequest req) throws org.apache.thrift.TException
alter_partitions_req in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TException@Deprecated public void alter_partitions_with_environment_context(String db_name, String tbl_name, List<Partition> new_parts, EnvironmentContext environmentContext) throws org.apache.thrift.TException
alter_partitions_with_environment_context in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic String getVersion() throws org.apache.thrift.TException
getVersion in interface com.facebook.fb303.FacebookService.Ifaceorg.apache.thrift.TExceptionpublic void alter_table(String dbname, String name, Table newTable) throws InvalidOperationException, MetaException
alter_table in interface ThriftHiveMetastore.IfaceInvalidOperationExceptionMetaExceptionpublic void alter_table_with_cascade(String dbname, String name, Table newTable, boolean cascade) throws InvalidOperationException, MetaException
alter_table_with_cascade in interface ThriftHiveMetastore.IfaceInvalidOperationExceptionMetaExceptionpublic AlterTableResponse alter_table_req(AlterTableRequest req) throws InvalidOperationException, MetaException, org.apache.thrift.TException
alter_table_req in interface ThriftHiveMetastore.IfaceInvalidOperationExceptionMetaExceptionorg.apache.thrift.TExceptionpublic void alter_table_with_environment_context(String dbname, String name, Table newTable, EnvironmentContext envContext) throws InvalidOperationException, MetaException
alter_table_with_environment_context in interface ThriftHiveMetastore.IfaceInvalidOperationExceptionMetaExceptionpublic List<String> get_tables(String dbname, String pattern) throws MetaException
get_tables in interface ThriftHiveMetastore.IfaceMetaExceptionpublic List<String> get_tables_by_type(String dbname, String pattern, String tableType) throws MetaException
get_tables_by_type in interface ThriftHiveMetastore.IfaceMetaExceptionpublic List<Table> get_all_materialized_view_objects_for_rewriting() throws MetaException
get_all_materialized_view_objects_for_rewriting in interface ThriftHiveMetastore.IfaceMetaExceptionpublic List<String> get_materialized_views_for_rewriting(String dbname) throws MetaException
get_materialized_views_for_rewriting in interface ThriftHiveMetastore.IfaceMetaExceptionpublic List<String> get_all_tables(String dbname) throws MetaException
get_all_tables in interface ThriftHiveMetastore.IfaceMetaException@Deprecated public List<FieldSchema> get_fields(String db, String tableName) throws MetaException, UnknownTableException, UnknownDBException
get_fields_req(GetFieldsRequest) ()} instead.get_fields in interface ThriftHiveMetastore.IfaceMetaExceptionUnknownTableExceptionUnknownDBException@Deprecated public List<FieldSchema> get_fields_with_environment_context(String db, String tableName, EnvironmentContext envContext) throws MetaException, UnknownTableException, UnknownDBException
get_fields_with_environment_context in interface ThriftHiveMetastore.IfaceMetaExceptionUnknownTableExceptionUnknownDBExceptionpublic GetFieldsResponse get_fields_req(GetFieldsRequest req) throws MetaException, UnknownTableException, UnknownDBException, org.apache.thrift.TException
get_fields_req in interface ThriftHiveMetastore.IfaceMetaExceptionUnknownTableExceptionUnknownDBExceptionorg.apache.thrift.TException@Deprecated public List<FieldSchema> get_schema(String db, String tableName) throws MetaException, UnknownTableException, UnknownDBException
get_schema_req(GetSchemaRequest) ()} instead.get_schema in interface ThriftHiveMetastore.IfaceMetaExceptionUnknownTableExceptionUnknownDBException@Deprecated public List<FieldSchema> get_schema_with_environment_context(String db, String tableName, EnvironmentContext envContext) throws MetaException, UnknownTableException, UnknownDBException
get_schema_with_environment_context in interface ThriftHiveMetastore.Ifacedb - Name of the databasetableName - Name of the tableenvContext - Store session based propertiesMetaExceptionUnknownTableExceptionUnknownDBExceptionpublic GetSchemaResponse get_schema_req(GetSchemaRequest req) throws MetaException, UnknownTableException, UnknownDBException, org.apache.thrift.TException
get_schema_req in interface ThriftHiveMetastore.IfaceMetaExceptionUnknownTableExceptionUnknownDBExceptionorg.apache.thrift.TExceptionpublic String getCpuProfile(int profileDurationInSec) throws org.apache.thrift.TException
getCpuProfile in interface com.facebook.fb303.FacebookService.Ifaceorg.apache.thrift.TExceptionpublic String get_config_value(String name, String defaultValue) throws org.apache.thrift.TException
get_config_value in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic static List<String> getPartValsFromName(Table t, String partName) throws MetaException, InvalidObjectException
MetaExceptionInvalidObjectException@Deprecated public Partition get_partition_by_name(String db_name, String tbl_name, String part_name) throws org.apache.thrift.TException
get_partition_by_name in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic Partition append_partition_by_name(String db_name, String tbl_name, String part_name) throws org.apache.thrift.TException
append_partition_by_name in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic Partition append_partition_by_name_with_environment_context(String db_name, String tbl_name, String part_name, EnvironmentContext env_context) throws org.apache.thrift.TException
append_partition_by_name_with_environment_context in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic boolean drop_partition_by_name(String db_name, String tbl_name, String part_name, boolean deleteData) throws org.apache.thrift.TException
drop_partition_by_name in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic boolean drop_partition_by_name_with_environment_context(String db_name, String tbl_name, String part_name, boolean deleteData, EnvironmentContext envContext) throws org.apache.thrift.TException
drop_partition_by_name_with_environment_context in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TException@Deprecated public List<Partition> get_partitions_ps(String db_name, String tbl_name, List<String> part_vals, short max_parts) throws org.apache.thrift.TException
get_partitions_ps in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TException@Deprecated public List<Partition> get_partitions_ps_with_auth(String db_name, String tbl_name, List<String> part_vals, short max_parts, String userName, List<String> groupNames) throws org.apache.thrift.TException
get_partitions_ps_with_auth_req(GetPartitionsPsWithAuthRequest) ()} instead.get_partitions_ps_with_auth in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic GetPartitionsPsWithAuthResponse get_partitions_ps_with_auth_req(GetPartitionsPsWithAuthRequest req) throws MetaException, NoSuchObjectException, org.apache.thrift.TException
get_partitions_ps_with_auth_req in interface ThriftHiveMetastore.IfaceMetaExceptionNoSuchObjectExceptionorg.apache.thrift.TException@Deprecated public List<String> get_partition_names_ps(String db_name, String tbl_name, List<String> part_vals, short max_parts) throws org.apache.thrift.TException
get_partition_names_ps_req(GetPartitionNamesPsRequest) ()} instead.get_partition_names_ps in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic GetPartitionNamesPsResponse get_partition_names_ps_req(GetPartitionNamesPsRequest req) throws MetaException, NoSuchObjectException, org.apache.thrift.TException
get_partition_names_ps_req in interface ThriftHiveMetastore.IfaceMetaExceptionNoSuchObjectExceptionorg.apache.thrift.TExceptionpublic List<String> get_partition_names_req(PartitionsByExprRequest req) throws MetaException, NoSuchObjectException, org.apache.thrift.TException
get_partition_names_req in interface ThriftHiveMetastore.IfaceMetaExceptionNoSuchObjectExceptionorg.apache.thrift.TExceptionpublic List<String> partition_name_to_vals(String part_name) throws org.apache.thrift.TException
partition_name_to_vals in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic Map<String,String> partition_name_to_spec(String part_name) throws org.apache.thrift.TException
partition_name_to_spec in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic static String lowerCaseConvertPartName(String partName) throws MetaException
MetaException@Deprecated public ColumnStatistics get_table_column_statistics(String dbName, String tableName, String colName) throws org.apache.thrift.TException
get_table_column_statistics in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic TableStatsResult get_table_statistics_req(TableStatsRequest request) throws org.apache.thrift.TException
get_table_statistics_req in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TException@Deprecated public ColumnStatistics get_partition_column_statistics(String dbName, String tableName, String partName, String colName) throws org.apache.thrift.TException
get_partition_column_statistics in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic PartitionsStatsResult get_partitions_statistics_req(PartitionsStatsRequest request) throws org.apache.thrift.TException
get_partitions_statistics_req in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic boolean update_table_column_statistics(ColumnStatistics colStats) throws org.apache.thrift.TException
update_table_column_statistics in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic SetPartitionsStatsResponse update_table_column_statistics_req(SetPartitionsStatsRequest req) throws NoSuchObjectException, InvalidObjectException, MetaException, InvalidInputException, org.apache.thrift.TException
update_table_column_statistics_req in interface ThriftHiveMetastore.IfaceNoSuchObjectExceptionInvalidObjectExceptionMetaExceptionInvalidInputExceptionorg.apache.thrift.TExceptionpublic boolean update_partition_column_statistics(ColumnStatistics colStats) throws org.apache.thrift.TException
update_partition_column_statistics in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic SetPartitionsStatsResponse update_partition_column_statistics_req(SetPartitionsStatsRequest req) throws NoSuchObjectException, InvalidObjectException, MetaException, InvalidInputException, org.apache.thrift.TException
update_partition_column_statistics_req in interface ThriftHiveMetastore.IfaceNoSuchObjectExceptionInvalidObjectExceptionMetaExceptionInvalidInputExceptionorg.apache.thrift.TExceptionpublic boolean delete_partition_column_statistics(String dbName, String tableName, String partName, String colName, String engine) throws org.apache.thrift.TException
delete_partition_column_statistics in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic boolean delete_table_column_statistics(String dbName, String tableName, String colName, String engine) throws org.apache.thrift.TException
delete_table_column_statistics in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic void update_transaction_statistics(UpdateTransactionalStatsRequest req) throws org.apache.thrift.TException
update_transaction_statistics in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TException@Deprecated public List<Partition> get_partitions_by_filter(String dbName, String tblName, String filter, short maxParts) throws org.apache.thrift.TException
get_partitions_by_filter in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic List<Partition> get_partitions_by_filter_req(GetPartitionsByFilterRequest req) throws org.apache.thrift.TException
get_partitions_by_filter_req in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TException@Deprecated public List<PartitionSpec> get_part_specs_by_filter(String dbName, String tblName, String filter, int maxParts) throws org.apache.thrift.TException
get_part_specs_by_filter in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic PartitionsSpecByExprResult get_partitions_spec_by_expr(PartitionsByExprRequest req) throws org.apache.thrift.TException
get_partitions_spec_by_expr in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic PartitionsByExprResult get_partitions_by_expr(PartitionsByExprRequest req) throws org.apache.thrift.TException
get_partitions_by_expr in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TException@Deprecated public int get_num_partitions_by_filter(String dbName, String tblName, String filter) throws org.apache.thrift.TException
get_num_partitions_by_filter in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TException@Deprecated public List<Partition> get_partitions_by_names(String dbName, String tblName, List<String> partNames) throws org.apache.thrift.TException
get_partitions_by_names in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic GetPartitionsByNamesResult get_partitions_by_names_req(GetPartitionsByNamesRequest gpbnr) throws org.apache.thrift.TException
get_partitions_by_names_req in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic List<Partition> get_partitions_by_names(String dbName, String tblName, boolean getColStats, String engine, List<String> processorCapabilities, String processorId, GetPartitionsArgs args) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic PropertyGetResponse get_properties(PropertyGetRequest req) throws org.apache.thrift.TException
get_properties in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic boolean set_properties(PropertySetRequest req) throws org.apache.thrift.TException
set_properties in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic PrincipalPrivilegeSet get_privilege_set(HiveObjectRef hiveObject, String userName, List<String> groupNames) throws org.apache.thrift.TException
get_privilege_set in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic boolean grant_role(String roleName, String principalName, PrincipalType principalType, String grantor, PrincipalType grantorType, boolean grantOption) throws org.apache.thrift.TException
grant_role in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic List<Role> list_roles(String principalName, PrincipalType principalType) throws org.apache.thrift.TException
list_roles in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic boolean create_role(Role role) throws org.apache.thrift.TException
create_role in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic boolean drop_role(String roleName) throws org.apache.thrift.TException
drop_role in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic List<String> get_role_names() throws org.apache.thrift.TException
get_role_names in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic boolean grant_privileges(PrivilegeBag privileges) throws org.apache.thrift.TException
grant_privileges in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic boolean revoke_role(String roleName, String userName, PrincipalType principalType) throws org.apache.thrift.TException
revoke_role in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic GrantRevokeRoleResponse grant_revoke_role(GrantRevokeRoleRequest request) throws org.apache.thrift.TException
grant_revoke_role in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic GrantRevokePrivilegeResponse grant_revoke_privileges(GrantRevokePrivilegeRequest request) throws org.apache.thrift.TException
grant_revoke_privileges in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic GrantRevokePrivilegeResponse refresh_privileges(HiveObjectRef objToRefresh, String authorizer, GrantRevokePrivilegeRequest grantRequest) throws org.apache.thrift.TException
refresh_privileges in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic boolean revoke_privileges(PrivilegeBag privileges) throws org.apache.thrift.TException
revoke_privileges in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic boolean revoke_privileges(PrivilegeBag privileges, boolean grantOption) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic List<HiveObjectPrivilege> list_privileges(String principalName, PrincipalType principalType, HiveObjectRef hiveObject) throws org.apache.thrift.TException
list_privileges in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic void cancel_delegation_token(String token_str_form) throws org.apache.thrift.TException
cancel_delegation_token in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic long renew_delegation_token(String token_str_form) throws org.apache.thrift.TException
renew_delegation_token in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic String get_delegation_token(String token_owner, String renewer_kerberos_principal_name) throws org.apache.thrift.TException
get_delegation_token in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic boolean add_token(String token_identifier, String delegation_token) throws org.apache.thrift.TException
add_token in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic boolean remove_token(String token_identifier) throws org.apache.thrift.TException
remove_token in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic String get_token(String token_identifier) throws org.apache.thrift.TException
get_token in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic List<String> get_all_token_identifiers() throws org.apache.thrift.TException
get_all_token_identifiers in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic int add_master_key(String key) throws org.apache.thrift.TException
add_master_key in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic void update_master_key(int seq_number,
String key)
throws org.apache.thrift.TException
update_master_key in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic boolean remove_master_key(int key_seq)
throws org.apache.thrift.TException
remove_master_key in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic List<String> get_master_keys() throws org.apache.thrift.TException
get_master_keys in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic void markPartitionForEvent(String db_name, String tbl_name, Map<String,String> partName, PartitionEventType evtType) throws org.apache.thrift.TException
markPartitionForEvent in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic boolean isPartitionMarkedForEvent(String db_name, String tbl_name, Map<String,String> partName, PartitionEventType evtType) throws org.apache.thrift.TException
isPartitionMarkedForEvent in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic List<String> set_ugi(String username, List<String> groupNames) throws org.apache.thrift.TException
set_ugi in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic boolean partition_name_has_valid_characters(List<String> part_vals, boolean throw_exception) throws org.apache.thrift.TException
partition_name_has_valid_characters in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic void create_function(Function func) throws org.apache.thrift.TException
create_function in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic void drop_function(String dbName, String funcName) throws NoSuchObjectException, MetaException, InvalidObjectException, InvalidInputException
drop_function in interface ThriftHiveMetastore.IfaceNoSuchObjectExceptionMetaExceptionInvalidObjectExceptionInvalidInputExceptionpublic void alter_function(String dbName, String funcName, Function newFunc) throws org.apache.thrift.TException
alter_function in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic List<String> get_functions(String dbName, String pattern) throws MetaException
get_functions in interface ThriftHiveMetastore.IfaceMetaExceptionpublic GetAllFunctionsResponse get_all_functions() throws MetaException
get_all_functions in interface ThriftHiveMetastore.IfaceMetaExceptionpublic Function get_function(String dbName, String funcName) throws org.apache.thrift.TException
get_function in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic GetOpenTxnsResponse get_open_txns() throws org.apache.thrift.TException
get_open_txns in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic GetOpenTxnsResponse get_open_txns_req(GetOpenTxnsRequest getOpenTxnsRequest) throws org.apache.thrift.TException
get_open_txns_req in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic GetOpenTxnsInfoResponse get_open_txns_info() throws org.apache.thrift.TException
get_open_txns_info in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic OpenTxnsResponse open_txns(OpenTxnRequest rqst) throws org.apache.thrift.TException
open_txns in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic void abort_txn(AbortTxnRequest rqst) throws org.apache.thrift.TException
abort_txn in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic void abort_txns(AbortTxnsRequest rqst) throws org.apache.thrift.TException
abort_txns in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic AbortCompactResponse abort_Compactions(AbortCompactionRequest rqst) throws org.apache.thrift.TException
abort_Compactions in interface ThriftHiveMetastore.Ifaceabort_Compactions in interface IHMSHandlerorg.apache.thrift.TExceptionpublic long get_latest_txnid_in_conflict(long txnId)
throws MetaException
get_latest_txnid_in_conflict in interface ThriftHiveMetastore.IfaceMetaExceptionpublic void commit_txn(CommitTxnRequest rqst) throws org.apache.thrift.TException
commit_txn in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic void repl_tbl_writeid_state(ReplTblWriteIdStateRequest rqst) throws org.apache.thrift.TException
repl_tbl_writeid_state in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic GetValidWriteIdsResponse get_valid_write_ids(GetValidWriteIdsRequest rqst) throws org.apache.thrift.TException
get_valid_write_ids in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic void add_write_ids_to_min_history(long txnId,
Map<String,Long> validWriteIds)
throws org.apache.thrift.TException
add_write_ids_to_min_history in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic void set_hadoop_jobid(String jobId, long cqId) throws MetaException
set_hadoop_jobid in interface ThriftHiveMetastore.IfaceMetaException@Deprecated public OptionalCompactionInfoStruct find_next_compact(String workerId) throws MetaException
find_next_compact in interface ThriftHiveMetastore.IfaceMetaExceptionpublic OptionalCompactionInfoStruct find_next_compact2(FindNextCompactRequest rqst) throws MetaException
find_next_compact2 in interface ThriftHiveMetastore.IfaceMetaExceptionpublic void mark_cleaned(CompactionInfoStruct cr) throws MetaException
mark_cleaned in interface ThriftHiveMetastore.IfaceMetaExceptionpublic void mark_compacted(CompactionInfoStruct cr) throws MetaException
mark_compacted in interface ThriftHiveMetastore.IfaceMetaExceptionpublic void mark_failed(CompactionInfoStruct cr) throws MetaException
mark_failed in interface ThriftHiveMetastore.IfaceMetaExceptionpublic void mark_refused(CompactionInfoStruct cr) throws MetaException
mark_refused in interface ThriftHiveMetastore.IfaceMetaExceptionpublic boolean update_compaction_metrics_data(CompactionMetricsDataStruct struct) throws MetaException, org.apache.thrift.TException
update_compaction_metrics_data in interface ThriftHiveMetastore.IfaceMetaExceptionorg.apache.thrift.TExceptionpublic void remove_compaction_metrics_data(CompactionMetricsDataRequest request) throws MetaException, org.apache.thrift.TException
remove_compaction_metrics_data in interface ThriftHiveMetastore.IfaceMetaExceptionorg.apache.thrift.TExceptionpublic List<String> find_columns_with_stats(CompactionInfoStruct cr) throws MetaException
find_columns_with_stats in interface ThriftHiveMetastore.IfaceMetaExceptionpublic void update_compactor_state(CompactionInfoStruct cr, long highWaterMark) throws MetaException
update_compactor_state in interface ThriftHiveMetastore.IfaceMetaExceptionpublic GetLatestCommittedCompactionInfoResponse get_latest_committed_compaction_info(GetLatestCommittedCompactionInfoRequest rqst) throws MetaException
get_latest_committed_compaction_info in interface ThriftHiveMetastore.IfaceMetaExceptionpublic AllocateTableWriteIdsResponse allocate_table_write_ids(AllocateTableWriteIdsRequest rqst) throws org.apache.thrift.TException
allocate_table_write_ids in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic MaxAllocatedTableWriteIdResponse get_max_allocated_table_write_id(MaxAllocatedTableWriteIdRequest rqst) throws MetaException
get_max_allocated_table_write_id in interface ThriftHiveMetastore.IfaceMetaExceptionpublic void seed_write_id(SeedTableWriteIdsRequest rqst) throws MetaException
seed_write_id in interface ThriftHiveMetastore.IfaceMetaExceptionpublic void seed_txn_id(SeedTxnIdRequest rqst) throws MetaException
seed_txn_id in interface ThriftHiveMetastore.IfaceMetaExceptionpublic WriteNotificationLogResponse add_write_notification_log(WriteNotificationLogRequest rqst) throws org.apache.thrift.TException
add_write_notification_log in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic WriteNotificationLogBatchResponse add_write_notification_log_in_batch(WriteNotificationLogBatchRequest batchRequest) throws org.apache.thrift.TException
add_write_notification_log_in_batch in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic LockResponse lock(LockRequest rqst) throws org.apache.thrift.TException
lock in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic LockResponse check_lock(CheckLockRequest rqst) throws org.apache.thrift.TException
check_lock in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic void unlock(UnlockRequest rqst) throws org.apache.thrift.TException
unlock in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic ShowLocksResponse show_locks(ShowLocksRequest rqst) throws org.apache.thrift.TException
show_locks in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic void heartbeat(HeartbeatRequest ids) throws org.apache.thrift.TException
heartbeat in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic HeartbeatTxnRangeResponse heartbeat_txn_range(HeartbeatTxnRangeRequest rqst) throws org.apache.thrift.TException
heartbeat_txn_range in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TException@Deprecated public void compact(CompactionRequest rqst) throws org.apache.thrift.TException
compact in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic CompactionResponse compact2(CompactionRequest rqst) throws org.apache.thrift.TException
compact2 in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic ShowCompactResponse show_compact(ShowCompactRequest rqst) throws org.apache.thrift.TException
show_compact in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic boolean submit_for_cleanup(CompactionRequest rqst, long highestWriteId, long txnId) throws org.apache.thrift.TException
submit_for_cleanup in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic void flushCache()
throws org.apache.thrift.TException
flushCache in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic void add_dynamic_partitions(AddDynamicPartitions rqst) throws org.apache.thrift.TException
add_dynamic_partitions in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic GetPrincipalsInRoleResponse get_principals_in_role(GetPrincipalsInRoleRequest request) throws org.apache.thrift.TException
get_principals_in_role in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic GetRoleGrantsForPrincipalResponse get_role_grants_for_principal(GetRoleGrantsForPrincipalRequest request) throws org.apache.thrift.TException
get_role_grants_for_principal in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic AggrStats get_aggr_stats_for(PartitionsStatsRequest request) throws org.apache.thrift.TException
get_aggr_stats_for in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic boolean set_aggr_stats_for(SetPartitionsStatsRequest request) throws org.apache.thrift.TException
set_aggr_stats_for in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic NotificationEventResponse get_next_notification(NotificationEventRequest rqst) throws org.apache.thrift.TException
get_next_notification in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic CurrentNotificationEventId get_current_notificationEventId() throws org.apache.thrift.TException
get_current_notificationEventId in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic NotificationEventsCountResponse get_notification_events_count(NotificationEventsCountRequest rqst) throws org.apache.thrift.TException
get_notification_events_count in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic FireEventResponse fire_listener_event(FireEventRequest rqst) throws org.apache.thrift.TException
fire_listener_event in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic GetFileMetadataByExprResult get_file_metadata_by_expr(GetFileMetadataByExprRequest req) throws org.apache.thrift.TException
get_file_metadata_by_expr in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic GetFileMetadataResult get_file_metadata(GetFileMetadataRequest req) throws org.apache.thrift.TException
get_file_metadata in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic PutFileMetadataResult put_file_metadata(PutFileMetadataRequest req) throws org.apache.thrift.TException
put_file_metadata in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic ClearFileMetadataResult clear_file_metadata(ClearFileMetadataRequest req) throws org.apache.thrift.TException
clear_file_metadata in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic CacheFileMetadataResult cache_file_metadata(CacheFileMetadataRequest req) throws org.apache.thrift.TException
cache_file_metadata in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic PrimaryKeysResponse get_primary_keys(PrimaryKeysRequest request) throws org.apache.thrift.TException
get_primary_keys in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic ForeignKeysResponse get_foreign_keys(ForeignKeysRequest request) throws org.apache.thrift.TException
get_foreign_keys in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic UniqueConstraintsResponse get_unique_constraints(UniqueConstraintsRequest request) throws org.apache.thrift.TException
get_unique_constraints in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic NotNullConstraintsResponse get_not_null_constraints(NotNullConstraintsRequest request) throws org.apache.thrift.TException
get_not_null_constraints in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic DefaultConstraintsResponse get_default_constraints(DefaultConstraintsRequest request) throws org.apache.thrift.TException
get_default_constraints in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic CheckConstraintsResponse get_check_constraints(CheckConstraintsRequest request) throws org.apache.thrift.TException
get_check_constraints in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic AllTableConstraintsResponse get_all_table_constraints(AllTableConstraintsRequest request) throws org.apache.thrift.TException, MetaException, NoSuchObjectException
get_all_table_constraints in interface ThriftHiveMetastore.Ifacerequest - it consist of catalog name, database name and table name to identify the table in metastoreorg.apache.thrift.TExceptionMetaExceptionNoSuchObjectExceptionpublic String get_metastore_db_uuid() throws org.apache.thrift.TException
get_metastore_db_uuid in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic WMCreateResourcePlanResponse create_resource_plan(WMCreateResourcePlanRequest request) throws AlreadyExistsException, InvalidObjectException, MetaException, org.apache.thrift.TException
create_resource_plan in interface ThriftHiveMetastore.IfaceAlreadyExistsExceptionInvalidObjectExceptionMetaExceptionorg.apache.thrift.TExceptionpublic WMGetResourcePlanResponse get_resource_plan(WMGetResourcePlanRequest request) throws NoSuchObjectException, MetaException, org.apache.thrift.TException
get_resource_plan in interface ThriftHiveMetastore.IfaceNoSuchObjectExceptionMetaExceptionorg.apache.thrift.TExceptionpublic WMGetAllResourcePlanResponse get_all_resource_plans(WMGetAllResourcePlanRequest request) throws MetaException, org.apache.thrift.TException
get_all_resource_plans in interface ThriftHiveMetastore.IfaceMetaExceptionorg.apache.thrift.TExceptionpublic WMAlterResourcePlanResponse alter_resource_plan(WMAlterResourcePlanRequest request) throws NoSuchObjectException, InvalidOperationException, MetaException, org.apache.thrift.TException
alter_resource_plan in interface ThriftHiveMetastore.IfaceNoSuchObjectExceptionInvalidOperationExceptionMetaExceptionorg.apache.thrift.TExceptionpublic WMGetActiveResourcePlanResponse get_active_resource_plan(WMGetActiveResourcePlanRequest request) throws MetaException, org.apache.thrift.TException
get_active_resource_plan in interface ThriftHiveMetastore.IfaceMetaExceptionorg.apache.thrift.TExceptionpublic WMValidateResourcePlanResponse validate_resource_plan(WMValidateResourcePlanRequest request) throws NoSuchObjectException, MetaException, org.apache.thrift.TException
validate_resource_plan in interface ThriftHiveMetastore.IfaceNoSuchObjectExceptionMetaExceptionorg.apache.thrift.TExceptionpublic WMDropResourcePlanResponse drop_resource_plan(WMDropResourcePlanRequest request) throws NoSuchObjectException, InvalidOperationException, MetaException, org.apache.thrift.TException
drop_resource_plan in interface ThriftHiveMetastore.IfaceNoSuchObjectExceptionInvalidOperationExceptionMetaExceptionorg.apache.thrift.TExceptionpublic WMCreateTriggerResponse create_wm_trigger(WMCreateTriggerRequest request) throws AlreadyExistsException, InvalidObjectException, MetaException, org.apache.thrift.TException
create_wm_trigger in interface ThriftHiveMetastore.IfaceAlreadyExistsExceptionInvalidObjectExceptionMetaExceptionorg.apache.thrift.TExceptionpublic WMAlterTriggerResponse alter_wm_trigger(WMAlterTriggerRequest request) throws NoSuchObjectException, InvalidObjectException, MetaException, org.apache.thrift.TException
alter_wm_trigger in interface ThriftHiveMetastore.IfaceNoSuchObjectExceptionInvalidObjectExceptionMetaExceptionorg.apache.thrift.TExceptionpublic WMDropTriggerResponse drop_wm_trigger(WMDropTriggerRequest request) throws NoSuchObjectException, InvalidOperationException, MetaException, org.apache.thrift.TException
drop_wm_trigger in interface ThriftHiveMetastore.IfaceNoSuchObjectExceptionInvalidOperationExceptionMetaExceptionorg.apache.thrift.TExceptionpublic WMGetTriggersForResourePlanResponse get_triggers_for_resourceplan(WMGetTriggersForResourePlanRequest request) throws NoSuchObjectException, MetaException, org.apache.thrift.TException
get_triggers_for_resourceplan in interface ThriftHiveMetastore.IfaceNoSuchObjectExceptionMetaExceptionorg.apache.thrift.TExceptionpublic WMAlterPoolResponse alter_wm_pool(WMAlterPoolRequest request) throws AlreadyExistsException, NoSuchObjectException, InvalidObjectException, MetaException, org.apache.thrift.TException
alter_wm_pool in interface ThriftHiveMetastore.IfaceAlreadyExistsExceptionNoSuchObjectExceptionInvalidObjectExceptionMetaExceptionorg.apache.thrift.TExceptionpublic WMCreatePoolResponse create_wm_pool(WMCreatePoolRequest request) throws AlreadyExistsException, NoSuchObjectException, InvalidObjectException, MetaException, org.apache.thrift.TException
create_wm_pool in interface ThriftHiveMetastore.IfaceAlreadyExistsExceptionNoSuchObjectExceptionInvalidObjectExceptionMetaExceptionorg.apache.thrift.TExceptionpublic WMDropPoolResponse drop_wm_pool(WMDropPoolRequest request) throws NoSuchObjectException, InvalidOperationException, MetaException, org.apache.thrift.TException
drop_wm_pool in interface ThriftHiveMetastore.IfaceNoSuchObjectExceptionInvalidOperationExceptionMetaExceptionorg.apache.thrift.TExceptionpublic WMCreateOrUpdateMappingResponse create_or_update_wm_mapping(WMCreateOrUpdateMappingRequest request) throws AlreadyExistsException, NoSuchObjectException, InvalidObjectException, MetaException, org.apache.thrift.TException
create_or_update_wm_mapping in interface ThriftHiveMetastore.IfaceAlreadyExistsExceptionNoSuchObjectExceptionInvalidObjectExceptionMetaExceptionorg.apache.thrift.TExceptionpublic WMDropMappingResponse drop_wm_mapping(WMDropMappingRequest request) throws NoSuchObjectException, InvalidOperationException, MetaException, org.apache.thrift.TException
drop_wm_mapping in interface ThriftHiveMetastore.IfaceNoSuchObjectExceptionInvalidOperationExceptionMetaExceptionorg.apache.thrift.TExceptionpublic WMCreateOrDropTriggerToPoolMappingResponse create_or_drop_wm_trigger_to_pool_mapping(WMCreateOrDropTriggerToPoolMappingRequest request) throws AlreadyExistsException, NoSuchObjectException, InvalidObjectException, MetaException, org.apache.thrift.TException
create_or_drop_wm_trigger_to_pool_mapping in interface ThriftHiveMetastore.IfaceAlreadyExistsExceptionNoSuchObjectExceptionInvalidObjectExceptionMetaExceptionorg.apache.thrift.TExceptionpublic void create_ischema(ISchema schema) throws org.apache.thrift.TException
create_ischema in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic void alter_ischema(AlterISchemaRequest rqst) throws org.apache.thrift.TException
alter_ischema in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic ISchema get_ischema(ISchemaName schemaName) throws org.apache.thrift.TException
get_ischema in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic void drop_ischema(ISchemaName schemaName) throws org.apache.thrift.TException
drop_ischema in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic void add_schema_version(SchemaVersion schemaVersion) throws org.apache.thrift.TException
add_schema_version in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic SchemaVersion get_schema_version(SchemaVersionDescriptor version) throws org.apache.thrift.TException
get_schema_version in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic SchemaVersion get_schema_latest_version(ISchemaName schemaName) throws org.apache.thrift.TException
get_schema_latest_version in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic List<SchemaVersion> get_schema_all_versions(ISchemaName schemaName) throws org.apache.thrift.TException
get_schema_all_versions in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic void drop_schema_version(SchemaVersionDescriptor version) throws org.apache.thrift.TException
drop_schema_version in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic FindSchemasByColsResp get_schemas_by_cols(FindSchemasByColsRqst rqst) throws org.apache.thrift.TException
get_schemas_by_cols in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic void map_schema_version_to_serde(MapSchemaVersionToSerdeRequest rqst) throws org.apache.thrift.TException
map_schema_version_to_serde in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic void set_schema_version_state(SetSchemaVersionStateRequest rqst) throws org.apache.thrift.TException
set_schema_version_state in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic void add_serde(SerDeInfo serde) throws org.apache.thrift.TException
add_serde in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic SerDeInfo get_serde(GetSerdeRequest rqst) throws org.apache.thrift.TException
get_serde in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic LockResponse get_lock_materialization_rebuild(String dbName, String tableName, long txnId) throws org.apache.thrift.TException
get_lock_materialization_rebuild in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic boolean heartbeat_lock_materialization_rebuild(String dbName, String tableName, long txnId) throws org.apache.thrift.TException
heartbeat_lock_materialization_rebuild in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic void add_runtime_stats(RuntimeStat stat) throws org.apache.thrift.TException
add_runtime_stats in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic List<RuntimeStat> get_runtime_stats(GetRuntimeStatsRequest rqst) throws org.apache.thrift.TException
get_runtime_stats in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic ScheduledQueryPollResponse scheduled_query_poll(ScheduledQueryPollRequest request) throws MetaException, org.apache.thrift.TException
scheduled_query_poll in interface ThriftHiveMetastore.IfaceMetaExceptionorg.apache.thrift.TExceptionpublic void scheduled_query_maintenance(ScheduledQueryMaintenanceRequest request) throws MetaException, org.apache.thrift.TException
scheduled_query_maintenance in interface ThriftHiveMetastore.IfaceMetaExceptionorg.apache.thrift.TExceptionpublic void scheduled_query_progress(ScheduledQueryProgressInfo info) throws MetaException, org.apache.thrift.TException
scheduled_query_progress in interface ThriftHiveMetastore.IfaceMetaExceptionorg.apache.thrift.TExceptionpublic ScheduledQuery get_scheduled_query(ScheduledQueryKey scheduleKey) throws org.apache.thrift.TException
get_scheduled_query in interface ThriftHiveMetastore.Ifaceorg.apache.thrift.TExceptionpublic void add_replication_metrics(ReplicationMetricList replicationMetricList) throws MetaException
add_replication_metrics in interface ThriftHiveMetastore.IfaceMetaExceptionpublic ReplicationMetricList get_replication_metrics(GetReplicationMetricsRequest getReplicationMetricsRequest) throws MetaException
get_replication_metrics in interface ThriftHiveMetastore.IfaceMetaExceptionpublic void create_stored_procedure(StoredProcedure proc) throws NoSuchObjectException, MetaException
create_stored_procedure in interface ThriftHiveMetastore.IfaceNoSuchObjectExceptionMetaExceptionpublic StoredProcedure get_stored_procedure(StoredProcedureRequest request) throws MetaException, NoSuchObjectException
get_stored_procedure in interface ThriftHiveMetastore.IfaceMetaExceptionNoSuchObjectExceptionpublic void drop_stored_procedure(StoredProcedureRequest request) throws MetaException
drop_stored_procedure in interface ThriftHiveMetastore.IfaceMetaExceptionpublic List<String> get_all_stored_procedures(ListStoredProcedureRequest request) throws MetaException
get_all_stored_procedures in interface ThriftHiveMetastore.IfaceMetaExceptionpublic Package find_package(GetPackageRequest request) throws MetaException, NoSuchObjectException
find_package in interface ThriftHiveMetastore.IfaceMetaExceptionNoSuchObjectExceptionpublic void add_package(AddPackageRequest request) throws MetaException, NoSuchObjectException
add_package in interface ThriftHiveMetastore.IfaceMetaExceptionNoSuchObjectExceptionpublic List<String> get_all_packages(ListPackageRequest request) throws MetaException
get_all_packages in interface ThriftHiveMetastore.IfaceMetaExceptionpublic void drop_package(DropPackageRequest request) throws MetaException
drop_package in interface ThriftHiveMetastore.IfaceMetaExceptionpublic List<WriteEventInfo> get_all_write_event_info(GetAllWriteEventInfoRequest request) throws MetaException
get_all_write_event_info in interface ThriftHiveMetastore.IfaceMetaExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.