Package io.trino.hive.thrift.metastore
Interface ThriftHiveMetastore.Iface
- All Known Implementing Classes:
ThriftHiveMetastore.Client
- Enclosing class:
- ThriftHiveMetastore
public static interface ThriftHiveMetastore.Iface
This interface is live.
-
Method Summary
Modifier and TypeMethodDescriptionvoidabortTxn(AbortTxnRequest rqst) voidabortTxns(AbortTxnsRequest rqst) voidvoidvoidvoidintaddMasterKey(String key) voidaddPartition(Partition new_part) intaddPartitions(List<Partition> new_parts) intaddPartitionsPspec(List<PartitionSpec> new_parts) addPartitionsReq(AddPartitionsRequest request) addPartitionWithEnvironmentContext(Partition new_part, EnvironmentContext environment_context) voidvoidaddRuntimeStats(RuntimeStat stat) voidaddSchemaVersion(SchemaVersion schemaVersion) voidbooleanvoidvoidvoidalterDatabase(String dbname, Database db) voidalterFunction(String dbName, String funcName, Function newFunc) voidvoidalterPartition(String db_name, String tbl_name, Partition new_part) voidalterPartitions(String db_name, String tbl_name, List<Partition> new_parts) voidalterPartitionsWithEnvironmentContext(String db_name, String tbl_name, List<Partition> new_parts, EnvironmentContext environment_context) voidalterPartitionWithEnvironmentContext(String db_name, String tbl_name, Partition new_part, EnvironmentContext environment_context) voidalterTable(String dbname, String tbl_name, Table new_tbl) voidalterTableWithCascade(String dbname, String tbl_name, Table new_tbl, boolean cascade) voidalterTableWithEnvironmentContext(String dbname, String tbl_name, Table new_tbl, EnvironmentContext environment_context) alterWmPool(WMAlterPoolRequest request) alterWmTrigger(WMAlterTriggerRequest request) appendPartition(String db_name, String tbl_name, List<String> part_vals) appendPartitionByName(String db_name, String tbl_name, String part_name) appendPartitionByNameWithEnvironmentContext(String db_name, String tbl_name, String part_name, EnvironmentContext environment_context) appendPartitionWithEnvironmentContext(String db_name, String tbl_name, List<String> part_vals, EnvironmentContext environment_context) voidcancelDelegationToken(String token_str_form) checkLock(CheckLockRequest rqst) cmRecycle(CmRecycleRequest request) voidcommitTxn(CommitTxnRequest rqst) voidcompact(CompactionRequest rqst) compact2(CompactionRequest rqst) voidcreateCatalog(CreateCatalogRequest catalog) voidcreateDatabase(Database database) voidcreateFunction(Function func) voidcreateIschema(ISchema schema) booleancreateRole(Role role) voidcreateTable(Table tbl) voidcreateTableWithConstraints(Table tbl, List<SQLPrimaryKey> primaryKeys, List<SQLForeignKey> foreignKeys, List<SQLUniqueConstraint> uniqueConstraints, List<SQLNotNullConstraint> notNullConstraints, List<SQLDefaultConstraint> defaultConstraints, List<SQLCheckConstraint> checkConstraints) voidcreateTableWithEnvironmentContext(Table tbl, EnvironmentContext environment_context) booleancreateType(Type type) createWmPool(WMCreatePoolRequest request) createWmTrigger(WMCreateTriggerRequest request) booleandeletePartitionColumnStatistics(String db_name, String tbl_name, String part_name, String col_name) booleandeleteTableColumnStatistics(String db_name, String tbl_name, String col_name) voiddropCatalog(DropCatalogRequest catName) voidvoiddropDatabase(String name, boolean deleteData, boolean cascade) voiddropFunction(String dbName, String funcName) voiddropIschema(ISchemaName name) booleandropPartition(String db_name, String tbl_name, List<String> part_vals, boolean deleteData) booleandropPartitionByName(String db_name, String tbl_name, String part_name, boolean deleteData) booleandropPartitionByNameWithEnvironmentContext(String db_name, String tbl_name, String part_name, boolean deleteData, EnvironmentContext environment_context) booleandropPartitionWithEnvironmentContext(String db_name, String tbl_name, List<String> part_vals, boolean deleteData, EnvironmentContext environment_context) booleanvoiddropSchemaVersion(SchemaVersionDescriptor schemaVersion) voidvoiddropTableWithEnvironmentContext(String dbname, String name, boolean deleteData, EnvironmentContext environment_context) booleandropWmMapping(WMDropMappingRequest request) dropWmPool(WMDropPoolRequest request) dropWmTrigger(WMDropTriggerRequest request) exchangePartition(Map<String, String> partitionSpecs, String source_db, String source_table_name, String dest_db, String dest_table_name) exchangePartitions(Map<String, String> partitionSpecs, String source_db, String source_table_name, String dest_db, String dest_table_name) voidgetAggrStatsFor(PartitionsStatsRequest request) getAllTables(String db_name) getCatalog(GetCatalogRequest catName) getConfigValue(String name, String defaultValue) getDatabase(String name) getDatabases(String pattern) getDelegationToken(String token_owner, String renewer_kerberos_principal_name) getFieldsWithEnvironmentContext(String db_name, String table_name, EnvironmentContext environment_context) getForeignKeys(ForeignKeysRequest request) getFunction(String dbName, String funcName) getFunctions(String dbName, String pattern) getIschema(ISchemaName name) getLockMaterializationRebuild(String dbName, String tableName, long txnId) getMaterializationInvalidationInfo(CreationMetadata creation_metadata, String validTxnList) getMaterializedViewsForRewriting(String db_name) getMetaConf(String key) intgetNumPartitionsByFilter(String db_name, String tbl_name, String filter) getPartition(String db_name, String tbl_name, List<String> part_vals) getPartitionByName(String db_name, String tbl_name, String part_name) getPartitionColumnStatistics(String db_name, String tbl_name, String part_name, String col_name) getPartitionNames(String db_name, String tbl_name, short max_parts) getPartitionNamesPs(String db_name, String tbl_name, List<String> part_vals, short max_parts) getPartitions(String db_name, String tbl_name, short max_parts) getPartitionsByFilter(String db_name, String tbl_name, String filter, short max_parts) getPartitionsByNames(String db_name, String tbl_name, List<String> names) getPartitionsPs(String db_name, String tbl_name, List<String> part_vals, short max_parts) getPartitionsPspec(String db_name, String tbl_name, int max_parts) getPartitionsPsWithAuth(String db_name, String tbl_name, List<String> part_vals, short max_parts, String user_name, List<String> group_names) getPartitionsWithAuth(String db_name, String tbl_name, short max_parts, String user_name, List<String> group_names) getPartitionValues(PartitionValuesRequest request) getPartitionWithAuth(String db_name, String tbl_name, List<String> part_vals, String user_name, List<String> group_names) getPartSpecsByFilter(String db_name, String tbl_name, String filter, int max_parts) getPrimaryKeys(PrimaryKeysRequest request) getPrivilegeSet(HiveObjectRef hiveObject, String user_name, List<String> group_names) getResourcePlan(WMGetResourcePlanRequest request) getSchemaAllVersions(ISchemaName schemaName) getSchemaLatestVersion(ISchemaName schemaName) getSchemaVersion(SchemaVersionDescriptor schemaVersion) getSchemaWithEnvironmentContext(String db_name, String table_name, EnvironmentContext environment_context) getSerde(GetSerdeRequest rqst) getTableColumnStatistics(String db_name, String tbl_name, String col_name) getTableMeta(String db_patterns, String tbl_patterns, List<String> tbl_types) getTableNamesByFilter(String dbname, String filter, short max_tables) getTableObjectsByName(String dbname, List<String> tbl_names) getTablesByType(String db_name, String pattern, String tableType) getTableStatisticsReq(TableStatsRequest request) getTypeAll(String name) booleangrantPrivileges(PrivilegeBag privileges) grantRevokeRole(GrantRevokeRoleRequest request) booleangrantRole(String role_name, String principal_name, PrincipalType principal_type, String grantor, PrincipalType grantorType, boolean grant_option) voidbooleanheartbeatLockMaterializationRebuild(String dbName, String tableName, long txnId) booleanisPartitionMarkedForEvent(String db_name, String tbl_name, Map<String, String> part_vals, PartitionEventType eventType) listPrivileges(String principal_name, PrincipalType principal_type, HiveObjectRef hiveObject) listRoles(String principal_name, PrincipalType principal_type) lock(LockRequest rqst) voidvoidmarkPartitionForEvent(String db_name, String tbl_name, Map<String, String> part_vals, PartitionEventType eventType) openTxns(OpenTxnRequest rqst) booleanpartitionNameHasValidCharacters(List<String> part_vals, boolean throw_exception) partitionNameToSpec(String part_name) partitionNameToVals(String part_name) refreshPrivileges(HiveObjectRef objToRefresh, String authorizer, GrantRevokePrivilegeRequest grantRequest) booleanremoveMasterKey(int key_seq) booleanremoveToken(String token_identifier) voidlongrenewDelegationToken(String token_str_form) voidbooleanrevokePrivileges(PrivilegeBag privileges) booleanrevokeRole(String role_name, String principal_name, PrincipalType principal_type) booleansetAggrStatsFor(SetPartitionsStatsRequest request) voidsetMetaConf(String key, String value) voidshowLocks(ShowLocksRequest rqst) voidtruncateTable(String dbName, String tableName, List<String> partNames) voidunlock(UnlockRequest rqst) voidupdateCreationMetadata(String catName, String dbname, String tbl_name, CreationMetadata creation_metadata) voidupdateMasterKey(int seq_number, String key) booleanupdatePartitionColumnStatistics(ColumnStatistics stats_obj) booleanupdateTableColumnStatistics(ColumnStatistics stats_obj)
-
Method Details
-
getMetaConf
- Throws:
MetaExceptionorg.apache.thrift.TException
-
setMetaConf
- Throws:
MetaExceptionorg.apache.thrift.TException
-
createCatalog
void createCatalog(CreateCatalogRequest catalog) throws AlreadyExistsException, InvalidObjectException, MetaException, org.apache.thrift.TException - Throws:
AlreadyExistsExceptionInvalidObjectExceptionMetaExceptionorg.apache.thrift.TException
-
alterCatalog
void alterCatalog(AlterCatalogRequest rqst) throws NoSuchObjectException, InvalidOperationException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionInvalidOperationExceptionMetaExceptionorg.apache.thrift.TException
-
getCatalog
GetCatalogResponse getCatalog(GetCatalogRequest catName) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
getCatalogs
- Throws:
MetaExceptionorg.apache.thrift.TException
-
dropCatalog
void dropCatalog(DropCatalogRequest catName) throws NoSuchObjectException, InvalidOperationException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionInvalidOperationExceptionMetaExceptionorg.apache.thrift.TException
-
createDatabase
void createDatabase(Database database) throws AlreadyExistsException, InvalidObjectException, MetaException, org.apache.thrift.TException - Throws:
AlreadyExistsExceptionInvalidObjectExceptionMetaExceptionorg.apache.thrift.TException
-
getDatabase
Database getDatabase(String name) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
dropDatabase
void dropDatabase(String name, boolean deleteData, boolean cascade) throws NoSuchObjectException, InvalidOperationException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionInvalidOperationExceptionMetaExceptionorg.apache.thrift.TException
-
getDatabases
- Throws:
MetaExceptionorg.apache.thrift.TException
-
getAllDatabases
- Throws:
MetaExceptionorg.apache.thrift.TException
-
alterDatabase
void alterDatabase(String dbname, Database db) throws MetaException, NoSuchObjectException, org.apache.thrift.TException - Throws:
MetaExceptionNoSuchObjectExceptionorg.apache.thrift.TException
-
getType
- Throws:
MetaExceptionNoSuchObjectExceptionorg.apache.thrift.TException
-
createType
boolean createType(Type type) throws AlreadyExistsException, InvalidObjectException, MetaException, org.apache.thrift.TException - Throws:
AlreadyExistsExceptionInvalidObjectExceptionMetaExceptionorg.apache.thrift.TException
-
dropType
boolean dropType(String type) throws MetaException, NoSuchObjectException, org.apache.thrift.TException - Throws:
MetaExceptionNoSuchObjectExceptionorg.apache.thrift.TException
-
getTypeAll
- Throws:
MetaExceptionorg.apache.thrift.TException
-
getFields
List<FieldSchema> getFields(String db_name, String table_name) throws MetaException, UnknownTableException, UnknownDBException, org.apache.thrift.TException - Throws:
MetaExceptionUnknownTableExceptionUnknownDBExceptionorg.apache.thrift.TException
-
getFieldsWithEnvironmentContext
List<FieldSchema> getFieldsWithEnvironmentContext(String db_name, String table_name, EnvironmentContext environment_context) throws MetaException, UnknownTableException, UnknownDBException, org.apache.thrift.TException - Throws:
MetaExceptionUnknownTableExceptionUnknownDBExceptionorg.apache.thrift.TException
-
getSchema
List<FieldSchema> getSchema(String db_name, String table_name) throws MetaException, UnknownTableException, UnknownDBException, org.apache.thrift.TException - Throws:
MetaExceptionUnknownTableExceptionUnknownDBExceptionorg.apache.thrift.TException
-
getSchemaWithEnvironmentContext
List<FieldSchema> getSchemaWithEnvironmentContext(String db_name, String table_name, EnvironmentContext environment_context) throws MetaException, UnknownTableException, UnknownDBException, org.apache.thrift.TException - Throws:
MetaExceptionUnknownTableExceptionUnknownDBExceptionorg.apache.thrift.TException
-
createTable
void createTable(Table tbl) throws AlreadyExistsException, InvalidObjectException, MetaException, NoSuchObjectException, org.apache.thrift.TException - Throws:
AlreadyExistsExceptionInvalidObjectExceptionMetaExceptionNoSuchObjectExceptionorg.apache.thrift.TException
-
createTableWithEnvironmentContext
void createTableWithEnvironmentContext(Table tbl, EnvironmentContext environment_context) throws AlreadyExistsException, InvalidObjectException, MetaException, NoSuchObjectException, org.apache.thrift.TException - Throws:
AlreadyExistsExceptionInvalidObjectExceptionMetaExceptionNoSuchObjectExceptionorg.apache.thrift.TException
-
createTableWithConstraints
void createTableWithConstraints(Table tbl, List<SQLPrimaryKey> primaryKeys, List<SQLForeignKey> foreignKeys, List<SQLUniqueConstraint> uniqueConstraints, List<SQLNotNullConstraint> notNullConstraints, List<SQLDefaultConstraint> defaultConstraints, List<SQLCheckConstraint> checkConstraints) throws AlreadyExistsException, InvalidObjectException, MetaException, NoSuchObjectException, org.apache.thrift.TException - Throws:
AlreadyExistsExceptionInvalidObjectExceptionMetaExceptionNoSuchObjectExceptionorg.apache.thrift.TException
-
dropConstraint
void dropConstraint(DropConstraintRequest req) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
addPrimaryKey
void addPrimaryKey(AddPrimaryKeyRequest req) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
addForeignKey
void addForeignKey(AddForeignKeyRequest req) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
addUniqueConstraint
void addUniqueConstraint(AddUniqueConstraintRequest req) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
addNotNullConstraint
void addNotNullConstraint(AddNotNullConstraintRequest req) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
addDefaultConstraint
void addDefaultConstraint(AddDefaultConstraintRequest req) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
addCheckConstraint
void addCheckConstraint(AddCheckConstraintRequest req) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
dropTable
void dropTable(String dbname, String name, boolean deleteData) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
dropTableWithEnvironmentContext
void dropTableWithEnvironmentContext(String dbname, String name, boolean deleteData, EnvironmentContext environment_context) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
truncateTable
void truncateTable(String dbName, String tableName, List<String> partNames) throws MetaException, org.apache.thrift.TException - Throws:
MetaExceptionorg.apache.thrift.TException
-
getTables
List<String> getTables(String db_name, String pattern) throws MetaException, org.apache.thrift.TException - Throws:
MetaExceptionorg.apache.thrift.TException
-
getTablesByType
List<String> getTablesByType(String db_name, String pattern, String tableType) throws MetaException, org.apache.thrift.TException - Throws:
MetaExceptionorg.apache.thrift.TException
-
getMaterializedViewsForRewriting
List<String> getMaterializedViewsForRewriting(String db_name) throws MetaException, org.apache.thrift.TException - Throws:
MetaExceptionorg.apache.thrift.TException
-
getTableMeta
List<TableMeta> getTableMeta(String db_patterns, String tbl_patterns, List<String> tbl_types) throws MetaException, org.apache.thrift.TException - Throws:
MetaExceptionorg.apache.thrift.TException
-
getAllTables
- Throws:
MetaExceptionorg.apache.thrift.TException
-
getTable
Table getTable(String dbname, String tbl_name) throws MetaException, NoSuchObjectException, org.apache.thrift.TException - Throws:
MetaExceptionNoSuchObjectExceptionorg.apache.thrift.TException
-
getTableObjectsByName
List<Table> getTableObjectsByName(String dbname, List<String> tbl_names) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
getTableReq
GetTableResult getTableReq(GetTableRequest req) throws MetaException, NoSuchObjectException, org.apache.thrift.TException - Throws:
MetaExceptionNoSuchObjectExceptionorg.apache.thrift.TException
-
getTableObjectsByNameReq
GetTablesResult getTableObjectsByNameReq(GetTablesRequest req) throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException - Throws:
MetaExceptionInvalidOperationExceptionUnknownDBExceptionorg.apache.thrift.TException
-
getMaterializationInvalidationInfo
Materialization getMaterializationInvalidationInfo(CreationMetadata creation_metadata, String validTxnList) throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException - Throws:
MetaExceptionInvalidOperationExceptionUnknownDBExceptionorg.apache.thrift.TException
-
updateCreationMetadata
void updateCreationMetadata(String catName, String dbname, String tbl_name, CreationMetadata creation_metadata) throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException - Throws:
MetaExceptionInvalidOperationExceptionUnknownDBExceptionorg.apache.thrift.TException
-
getTableNamesByFilter
List<String> getTableNamesByFilter(String dbname, String filter, short max_tables) throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException - Throws:
MetaExceptionInvalidOperationExceptionUnknownDBExceptionorg.apache.thrift.TException
-
alterTable
void alterTable(String dbname, String tbl_name, Table new_tbl) throws InvalidOperationException, MetaException, org.apache.thrift.TException - Throws:
InvalidOperationExceptionMetaExceptionorg.apache.thrift.TException
-
alterTableWithEnvironmentContext
void alterTableWithEnvironmentContext(String dbname, String tbl_name, Table new_tbl, EnvironmentContext environment_context) throws InvalidOperationException, MetaException, org.apache.thrift.TException - Throws:
InvalidOperationExceptionMetaExceptionorg.apache.thrift.TException
-
alterTableWithCascade
void alterTableWithCascade(String dbname, String tbl_name, Table new_tbl, boolean cascade) throws InvalidOperationException, MetaException, org.apache.thrift.TException - Throws:
InvalidOperationExceptionMetaExceptionorg.apache.thrift.TException
-
alterTableReq
AlterTableResponse alterTableReq(AlterTableRequest req) throws InvalidOperationException, MetaException, org.apache.thrift.TException - Throws:
InvalidOperationExceptionMetaExceptionorg.apache.thrift.TException
-
addPartition
Partition addPartition(Partition new_part) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException - Throws:
InvalidObjectExceptionAlreadyExistsExceptionMetaExceptionorg.apache.thrift.TException
-
addPartitionWithEnvironmentContext
Partition addPartitionWithEnvironmentContext(Partition new_part, EnvironmentContext environment_context) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException - Throws:
InvalidObjectExceptionAlreadyExistsExceptionMetaExceptionorg.apache.thrift.TException
-
addPartitions
int addPartitions(List<Partition> new_parts) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException - Throws:
InvalidObjectExceptionAlreadyExistsExceptionMetaExceptionorg.apache.thrift.TException
-
addPartitionsPspec
int addPartitionsPspec(List<PartitionSpec> new_parts) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException - Throws:
InvalidObjectExceptionAlreadyExistsExceptionMetaExceptionorg.apache.thrift.TException
-
appendPartition
Partition appendPartition(String db_name, String tbl_name, List<String> part_vals) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException - Throws:
InvalidObjectExceptionAlreadyExistsExceptionMetaExceptionorg.apache.thrift.TException
-
addPartitionsReq
AddPartitionsResult addPartitionsReq(AddPartitionsRequest request) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException - Throws:
InvalidObjectExceptionAlreadyExistsExceptionMetaExceptionorg.apache.thrift.TException
-
appendPartitionWithEnvironmentContext
Partition appendPartitionWithEnvironmentContext(String db_name, String tbl_name, List<String> part_vals, EnvironmentContext environment_context) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException - Throws:
InvalidObjectExceptionAlreadyExistsExceptionMetaExceptionorg.apache.thrift.TException
-
appendPartitionByName
Partition appendPartitionByName(String db_name, String tbl_name, String part_name) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException - Throws:
InvalidObjectExceptionAlreadyExistsExceptionMetaExceptionorg.apache.thrift.TException
-
appendPartitionByNameWithEnvironmentContext
Partition appendPartitionByNameWithEnvironmentContext(String db_name, String tbl_name, String part_name, EnvironmentContext environment_context) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException - Throws:
InvalidObjectExceptionAlreadyExistsExceptionMetaExceptionorg.apache.thrift.TException
-
dropPartition
boolean dropPartition(String db_name, String tbl_name, List<String> part_vals, boolean deleteData) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
dropPartitionWithEnvironmentContext
boolean dropPartitionWithEnvironmentContext(String db_name, String tbl_name, List<String> part_vals, boolean deleteData, EnvironmentContext environment_context) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
dropPartitionByName
boolean dropPartitionByName(String db_name, String tbl_name, String part_name, boolean deleteData) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
dropPartitionByNameWithEnvironmentContext
boolean dropPartitionByNameWithEnvironmentContext(String db_name, String tbl_name, String part_name, boolean deleteData, EnvironmentContext environment_context) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
dropPartitionsReq
DropPartitionsResult dropPartitionsReq(DropPartitionsRequest req) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
getPartition
Partition getPartition(String db_name, String tbl_name, List<String> part_vals) throws MetaException, NoSuchObjectException, org.apache.thrift.TException - Throws:
MetaExceptionNoSuchObjectExceptionorg.apache.thrift.TException
-
exchangePartition
Partition exchangePartition(Map<String, String> partitionSpecs, String source_db, String source_table_name, String dest_db, String dest_table_name) throws MetaException, NoSuchObjectException, InvalidObjectException, InvalidInputException, org.apache.thrift.TException- Throws:
MetaExceptionNoSuchObjectExceptionInvalidObjectExceptionInvalidInputExceptionorg.apache.thrift.TException
-
exchangePartitions
List<Partition> exchangePartitions(Map<String, String> partitionSpecs, String source_db, String source_table_name, String dest_db, String dest_table_name) throws MetaException, NoSuchObjectException, InvalidObjectException, InvalidInputException, org.apache.thrift.TException- Throws:
MetaExceptionNoSuchObjectExceptionInvalidObjectExceptionInvalidInputExceptionorg.apache.thrift.TException
-
getPartitionWithAuth
Partition getPartitionWithAuth(String db_name, String tbl_name, List<String> part_vals, String user_name, List<String> group_names) throws MetaException, NoSuchObjectException, org.apache.thrift.TException - Throws:
MetaExceptionNoSuchObjectExceptionorg.apache.thrift.TException
-
getPartitionByName
Partition getPartitionByName(String db_name, String tbl_name, String part_name) throws MetaException, NoSuchObjectException, org.apache.thrift.TException - Throws:
MetaExceptionNoSuchObjectExceptionorg.apache.thrift.TException
-
getPartitions
List<Partition> getPartitions(String db_name, String tbl_name, short max_parts) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
getPartitionsWithAuth
List<Partition> getPartitionsWithAuth(String db_name, String tbl_name, short max_parts, String user_name, List<String> group_names) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
getPartitionsPspec
List<PartitionSpec> getPartitionsPspec(String db_name, String tbl_name, int max_parts) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
getPartitionNames
List<String> getPartitionNames(String db_name, String tbl_name, short max_parts) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
getPartitionValues
PartitionValuesResponse getPartitionValues(PartitionValuesRequest request) throws MetaException, NoSuchObjectException, org.apache.thrift.TException - Throws:
MetaExceptionNoSuchObjectExceptionorg.apache.thrift.TException
-
getPartitionsPs
List<Partition> getPartitionsPs(String db_name, String tbl_name, List<String> part_vals, short max_parts) throws MetaException, NoSuchObjectException, org.apache.thrift.TException - Throws:
MetaExceptionNoSuchObjectExceptionorg.apache.thrift.TException
-
getPartitionsPsWithAuth
List<Partition> getPartitionsPsWithAuth(String db_name, String tbl_name, List<String> part_vals, short max_parts, String user_name, List<String> group_names) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
getPartitionNamesPs
List<String> getPartitionNamesPs(String db_name, String tbl_name, List<String> part_vals, short max_parts) throws MetaException, NoSuchObjectException, org.apache.thrift.TException - Throws:
MetaExceptionNoSuchObjectExceptionorg.apache.thrift.TException
-
getPartitionsByFilter
List<Partition> getPartitionsByFilter(String db_name, String tbl_name, String filter, short max_parts) throws MetaException, NoSuchObjectException, org.apache.thrift.TException - Throws:
MetaExceptionNoSuchObjectExceptionorg.apache.thrift.TException
-
getPartSpecsByFilter
List<PartitionSpec> getPartSpecsByFilter(String db_name, String tbl_name, String filter, int max_parts) throws MetaException, NoSuchObjectException, org.apache.thrift.TException - Throws:
MetaExceptionNoSuchObjectExceptionorg.apache.thrift.TException
-
getPartitionsByExpr
PartitionsByExprResult getPartitionsByExpr(PartitionsByExprRequest req) throws MetaException, NoSuchObjectException, org.apache.thrift.TException - Throws:
MetaExceptionNoSuchObjectExceptionorg.apache.thrift.TException
-
getNumPartitionsByFilter
int getNumPartitionsByFilter(String db_name, String tbl_name, String filter) throws MetaException, NoSuchObjectException, org.apache.thrift.TException - Throws:
MetaExceptionNoSuchObjectExceptionorg.apache.thrift.TException
-
getPartitionsByNames
List<Partition> getPartitionsByNames(String db_name, String tbl_name, List<String> names) throws MetaException, NoSuchObjectException, org.apache.thrift.TException - Throws:
MetaExceptionNoSuchObjectExceptionorg.apache.thrift.TException
-
alterPartition
void alterPartition(String db_name, String tbl_name, Partition new_part) throws InvalidOperationException, MetaException, org.apache.thrift.TException - Throws:
InvalidOperationExceptionMetaExceptionorg.apache.thrift.TException
-
alterPartitions
void alterPartitions(String db_name, String tbl_name, List<Partition> new_parts) throws InvalidOperationException, MetaException, org.apache.thrift.TException - Throws:
InvalidOperationExceptionMetaExceptionorg.apache.thrift.TException
-
alterPartitionsWithEnvironmentContext
void alterPartitionsWithEnvironmentContext(String db_name, String tbl_name, List<Partition> new_parts, EnvironmentContext environment_context) throws InvalidOperationException, MetaException, org.apache.thrift.TException - Throws:
InvalidOperationExceptionMetaExceptionorg.apache.thrift.TException
-
alterPartitionWithEnvironmentContext
void alterPartitionWithEnvironmentContext(String db_name, String tbl_name, Partition new_part, EnvironmentContext environment_context) throws InvalidOperationException, MetaException, org.apache.thrift.TException - Throws:
InvalidOperationExceptionMetaExceptionorg.apache.thrift.TException
-
alterPartitionsReq
AlterPartitionsResponse alterPartitionsReq(AlterPartitionsRequest req) throws InvalidOperationException, MetaException, org.apache.thrift.TException - Throws:
InvalidOperationExceptionMetaExceptionorg.apache.thrift.TException
-
renamePartition
void renamePartition(String db_name, String tbl_name, List<String> part_vals, Partition new_part) throws InvalidOperationException, MetaException, org.apache.thrift.TException - Throws:
InvalidOperationExceptionMetaExceptionorg.apache.thrift.TException
-
partitionNameHasValidCharacters
boolean partitionNameHasValidCharacters(List<String> part_vals, boolean throw_exception) throws MetaException, org.apache.thrift.TException - Throws:
MetaExceptionorg.apache.thrift.TException
-
getConfigValue
String getConfigValue(String name, String defaultValue) throws ConfigValSecurityException, org.apache.thrift.TException - Throws:
ConfigValSecurityExceptionorg.apache.thrift.TException
-
partitionNameToVals
List<String> partitionNameToVals(String part_name) throws MetaException, org.apache.thrift.TException - Throws:
MetaExceptionorg.apache.thrift.TException
-
partitionNameToSpec
Map<String,String> partitionNameToSpec(String part_name) throws MetaException, org.apache.thrift.TException - Throws:
MetaExceptionorg.apache.thrift.TException
-
markPartitionForEvent
void markPartitionForEvent(String db_name, String tbl_name, Map<String, String> part_vals, PartitionEventType eventType) throws MetaException, NoSuchObjectException, UnknownDBException, UnknownTableException, UnknownPartitionException, InvalidPartitionException, org.apache.thrift.TException- Throws:
MetaExceptionNoSuchObjectExceptionUnknownDBExceptionUnknownTableExceptionUnknownPartitionExceptionInvalidPartitionExceptionorg.apache.thrift.TException
-
isPartitionMarkedForEvent
boolean isPartitionMarkedForEvent(String db_name, String tbl_name, Map<String, String> part_vals, PartitionEventType eventType) throws MetaException, NoSuchObjectException, UnknownDBException, UnknownTableException, UnknownPartitionException, InvalidPartitionException, org.apache.thrift.TException- Throws:
MetaExceptionNoSuchObjectExceptionUnknownDBExceptionUnknownTableExceptionUnknownPartitionExceptionInvalidPartitionExceptionorg.apache.thrift.TException
-
getPrimaryKeys
PrimaryKeysResponse getPrimaryKeys(PrimaryKeysRequest request) throws MetaException, NoSuchObjectException, org.apache.thrift.TException - Throws:
MetaExceptionNoSuchObjectExceptionorg.apache.thrift.TException
-
getForeignKeys
ForeignKeysResponse getForeignKeys(ForeignKeysRequest request) throws MetaException, NoSuchObjectException, org.apache.thrift.TException - Throws:
MetaExceptionNoSuchObjectExceptionorg.apache.thrift.TException
-
getUniqueConstraints
UniqueConstraintsResponse getUniqueConstraints(UniqueConstraintsRequest request) throws MetaException, NoSuchObjectException, org.apache.thrift.TException - Throws:
MetaExceptionNoSuchObjectExceptionorg.apache.thrift.TException
-
getNotNullConstraints
NotNullConstraintsResponse getNotNullConstraints(NotNullConstraintsRequest request) throws MetaException, NoSuchObjectException, org.apache.thrift.TException - Throws:
MetaExceptionNoSuchObjectExceptionorg.apache.thrift.TException
-
getDefaultConstraints
DefaultConstraintsResponse getDefaultConstraints(DefaultConstraintsRequest request) throws MetaException, NoSuchObjectException, org.apache.thrift.TException - Throws:
MetaExceptionNoSuchObjectExceptionorg.apache.thrift.TException
-
getCheckConstraints
CheckConstraintsResponse getCheckConstraints(CheckConstraintsRequest request) throws MetaException, NoSuchObjectException, org.apache.thrift.TException - Throws:
MetaExceptionNoSuchObjectExceptionorg.apache.thrift.TException
-
updateTableColumnStatistics
boolean updateTableColumnStatistics(ColumnStatistics stats_obj) throws NoSuchObjectException, InvalidObjectException, MetaException, InvalidInputException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionInvalidObjectExceptionMetaExceptionInvalidInputExceptionorg.apache.thrift.TException
-
updatePartitionColumnStatistics
boolean updatePartitionColumnStatistics(ColumnStatistics stats_obj) throws NoSuchObjectException, InvalidObjectException, MetaException, InvalidInputException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionInvalidObjectExceptionMetaExceptionInvalidInputExceptionorg.apache.thrift.TException
-
updateTableColumnStatisticsReq
SetPartitionsStatsResponse updateTableColumnStatisticsReq(SetPartitionsStatsRequest req) throws NoSuchObjectException, InvalidObjectException, MetaException, InvalidInputException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionInvalidObjectExceptionMetaExceptionInvalidInputExceptionorg.apache.thrift.TException
-
updatePartitionColumnStatisticsReq
SetPartitionsStatsResponse updatePartitionColumnStatisticsReq(SetPartitionsStatsRequest req) throws NoSuchObjectException, InvalidObjectException, MetaException, InvalidInputException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionInvalidObjectExceptionMetaExceptionInvalidInputExceptionorg.apache.thrift.TException
-
getTableColumnStatistics
ColumnStatistics getTableColumnStatistics(String db_name, String tbl_name, String col_name) throws NoSuchObjectException, MetaException, InvalidInputException, InvalidObjectException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionInvalidInputExceptionInvalidObjectExceptionorg.apache.thrift.TException
-
getPartitionColumnStatistics
ColumnStatistics getPartitionColumnStatistics(String db_name, String tbl_name, String part_name, String col_name) throws NoSuchObjectException, MetaException, InvalidInputException, InvalidObjectException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionInvalidInputExceptionInvalidObjectExceptionorg.apache.thrift.TException
-
getTableStatisticsReq
TableStatsResult getTableStatisticsReq(TableStatsRequest request) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
getPartitionsStatisticsReq
PartitionsStatsResult getPartitionsStatisticsReq(PartitionsStatsRequest request) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
getAggrStatsFor
AggrStats getAggrStatsFor(PartitionsStatsRequest request) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
setAggrStatsFor
boolean setAggrStatsFor(SetPartitionsStatsRequest request) throws NoSuchObjectException, InvalidObjectException, MetaException, InvalidInputException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionInvalidObjectExceptionMetaExceptionInvalidInputExceptionorg.apache.thrift.TException
-
deletePartitionColumnStatistics
boolean deletePartitionColumnStatistics(String db_name, String tbl_name, String part_name, String col_name) throws NoSuchObjectException, MetaException, InvalidObjectException, InvalidInputException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionInvalidObjectExceptionInvalidInputExceptionorg.apache.thrift.TException
-
deleteTableColumnStatistics
boolean deleteTableColumnStatistics(String db_name, String tbl_name, String col_name) throws NoSuchObjectException, MetaException, InvalidObjectException, InvalidInputException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionInvalidObjectExceptionInvalidInputExceptionorg.apache.thrift.TException
-
createFunction
void createFunction(Function func) throws AlreadyExistsException, InvalidObjectException, MetaException, NoSuchObjectException, org.apache.thrift.TException - Throws:
AlreadyExistsExceptionInvalidObjectExceptionMetaExceptionNoSuchObjectExceptionorg.apache.thrift.TException
-
dropFunction
void dropFunction(String dbName, String funcName) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
alterFunction
void alterFunction(String dbName, String funcName, Function newFunc) throws InvalidOperationException, MetaException, org.apache.thrift.TException - Throws:
InvalidOperationExceptionMetaExceptionorg.apache.thrift.TException
-
getFunctions
List<String> getFunctions(String dbName, String pattern) throws MetaException, org.apache.thrift.TException - Throws:
MetaExceptionorg.apache.thrift.TException
-
getFunction
Function getFunction(String dbName, String funcName) throws MetaException, NoSuchObjectException, org.apache.thrift.TException - Throws:
MetaExceptionNoSuchObjectExceptionorg.apache.thrift.TException
-
getAllFunctions
- Throws:
MetaExceptionorg.apache.thrift.TException
-
createRole
- Throws:
MetaExceptionorg.apache.thrift.TException
-
dropRole
- Throws:
MetaExceptionorg.apache.thrift.TException
-
getRoleNames
- Throws:
MetaExceptionorg.apache.thrift.TException
-
grantRole
boolean grantRole(String role_name, String principal_name, PrincipalType principal_type, String grantor, PrincipalType grantorType, boolean grant_option) throws MetaException, org.apache.thrift.TException - Throws:
MetaExceptionorg.apache.thrift.TException
-
revokeRole
boolean revokeRole(String role_name, String principal_name, PrincipalType principal_type) throws MetaException, org.apache.thrift.TException - Throws:
MetaExceptionorg.apache.thrift.TException
-
listRoles
List<Role> listRoles(String principal_name, PrincipalType principal_type) throws MetaException, org.apache.thrift.TException - Throws:
MetaExceptionorg.apache.thrift.TException
-
grantRevokeRole
GrantRevokeRoleResponse grantRevokeRole(GrantRevokeRoleRequest request) throws MetaException, org.apache.thrift.TException - Throws:
MetaExceptionorg.apache.thrift.TException
-
getPrincipalsInRole
GetPrincipalsInRoleResponse getPrincipalsInRole(GetPrincipalsInRoleRequest request) throws MetaException, org.apache.thrift.TException - Throws:
MetaExceptionorg.apache.thrift.TException
-
getRoleGrantsForPrincipal
GetRoleGrantsForPrincipalResponse getRoleGrantsForPrincipal(GetRoleGrantsForPrincipalRequest request) throws MetaException, org.apache.thrift.TException - Throws:
MetaExceptionorg.apache.thrift.TException
-
getPrivilegeSet
PrincipalPrivilegeSet getPrivilegeSet(HiveObjectRef hiveObject, String user_name, List<String> group_names) throws MetaException, org.apache.thrift.TException - Throws:
MetaExceptionorg.apache.thrift.TException
-
listPrivileges
List<HiveObjectPrivilege> listPrivileges(String principal_name, PrincipalType principal_type, HiveObjectRef hiveObject) throws MetaException, org.apache.thrift.TException - Throws:
MetaExceptionorg.apache.thrift.TException
-
grantPrivileges
- Throws:
MetaExceptionorg.apache.thrift.TException
-
revokePrivileges
boolean revokePrivileges(PrivilegeBag privileges) throws MetaException, org.apache.thrift.TException - Throws:
MetaExceptionorg.apache.thrift.TException
-
grantRevokePrivileges
GrantRevokePrivilegeResponse grantRevokePrivileges(GrantRevokePrivilegeRequest request) throws MetaException, org.apache.thrift.TException - Throws:
MetaExceptionorg.apache.thrift.TException
-
refreshPrivileges
GrantRevokePrivilegeResponse refreshPrivileges(HiveObjectRef objToRefresh, String authorizer, GrantRevokePrivilegeRequest grantRequest) throws MetaException, org.apache.thrift.TException - Throws:
MetaExceptionorg.apache.thrift.TException
-
setUgi
List<String> setUgi(String user_name, List<String> group_names) throws MetaException, org.apache.thrift.TException - Throws:
MetaExceptionorg.apache.thrift.TException
-
getDelegationToken
String getDelegationToken(String token_owner, String renewer_kerberos_principal_name) throws MetaException, org.apache.thrift.TException - Throws:
MetaExceptionorg.apache.thrift.TException
-
renewDelegationToken
- Throws:
MetaExceptionorg.apache.thrift.TException
-
cancelDelegationToken
void cancelDelegationToken(String token_str_form) throws MetaException, org.apache.thrift.TException - Throws:
MetaExceptionorg.apache.thrift.TException
-
addToken
boolean addToken(String token_identifier, String delegation_token) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
removeToken
- Throws:
org.apache.thrift.TException
-
getToken
- Throws:
org.apache.thrift.TException
-
getAllTokenIdentifiers
- Throws:
org.apache.thrift.TException
-
addMasterKey
- Throws:
MetaExceptionorg.apache.thrift.TException
-
updateMasterKey
void updateMasterKey(int seq_number, String key) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
removeMasterKey
boolean removeMasterKey(int key_seq) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
getMasterKeys
- Throws:
org.apache.thrift.TException
-
getOpenTxns
- Throws:
org.apache.thrift.TException
-
getOpenTxnsInfo
- Throws:
org.apache.thrift.TException
-
openTxns
- Throws:
org.apache.thrift.TException
-
abortTxn
- Throws:
NoSuchTxnExceptionorg.apache.thrift.TException
-
abortTxns
- Throws:
NoSuchTxnExceptionorg.apache.thrift.TException
-
commitTxn
void commitTxn(CommitTxnRequest rqst) throws NoSuchTxnException, TxnAbortedException, org.apache.thrift.TException - Throws:
NoSuchTxnExceptionTxnAbortedExceptionorg.apache.thrift.TException
-
replTblWriteidState
- Throws:
org.apache.thrift.TException
-
getValidWriteIds
GetValidWriteIdsResponse getValidWriteIds(GetValidWriteIdsRequest rqst) throws NoSuchTxnException, MetaException, org.apache.thrift.TException - Throws:
NoSuchTxnExceptionMetaExceptionorg.apache.thrift.TException
-
allocateTableWriteIds
AllocateTableWriteIdsResponse allocateTableWriteIds(AllocateTableWriteIdsRequest rqst) throws NoSuchTxnException, TxnAbortedException, MetaException, org.apache.thrift.TException - Throws:
NoSuchTxnExceptionTxnAbortedExceptionMetaExceptionorg.apache.thrift.TException
-
lock
LockResponse lock(LockRequest rqst) throws NoSuchTxnException, TxnAbortedException, org.apache.thrift.TException - Throws:
NoSuchTxnExceptionTxnAbortedExceptionorg.apache.thrift.TException
-
checkLock
LockResponse checkLock(CheckLockRequest rqst) throws NoSuchTxnException, TxnAbortedException, NoSuchLockException, org.apache.thrift.TException - Throws:
NoSuchTxnExceptionTxnAbortedExceptionNoSuchLockExceptionorg.apache.thrift.TException
-
unlock
void unlock(UnlockRequest rqst) throws NoSuchLockException, TxnOpenException, org.apache.thrift.TException - Throws:
NoSuchLockExceptionTxnOpenExceptionorg.apache.thrift.TException
-
showLocks
- Throws:
org.apache.thrift.TException
-
heartbeat
void heartbeat(HeartbeatRequest ids) throws NoSuchLockException, NoSuchTxnException, TxnAbortedException, org.apache.thrift.TException - Throws:
NoSuchLockExceptionNoSuchTxnExceptionTxnAbortedExceptionorg.apache.thrift.TException
-
heartbeatTxnRange
HeartbeatTxnRangeResponse heartbeatTxnRange(HeartbeatTxnRangeRequest txns) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
compact
- Throws:
org.apache.thrift.TException
-
compact2
- Throws:
org.apache.thrift.TException
-
showCompact
- Throws:
org.apache.thrift.TException
-
addDynamicPartitions
void addDynamicPartitions(AddDynamicPartitions rqst) throws NoSuchTxnException, TxnAbortedException, org.apache.thrift.TException - Throws:
NoSuchTxnExceptionTxnAbortedExceptionorg.apache.thrift.TException
-
getNextNotification
NotificationEventResponse getNextNotification(NotificationEventRequest rqst) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
getCurrentNotificationEventId
- Throws:
org.apache.thrift.TException
-
getNotificationEventsCount
NotificationEventsCountResponse getNotificationEventsCount(NotificationEventsCountRequest rqst) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
fireListenerEvent
- Throws:
org.apache.thrift.TException
-
flushCache
void flushCache() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
cmRecycle
CmRecycleResponse cmRecycle(CmRecycleRequest request) throws MetaException, org.apache.thrift.TException - Throws:
MetaExceptionorg.apache.thrift.TException
-
getFileMetadataByExpr
GetFileMetadataByExprResult getFileMetadataByExpr(GetFileMetadataByExprRequest req) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
getFileMetadata
GetFileMetadataResult getFileMetadata(GetFileMetadataRequest req) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
putFileMetadata
PutFileMetadataResult putFileMetadata(PutFileMetadataRequest req) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
clearFileMetadata
ClearFileMetadataResult clearFileMetadata(ClearFileMetadataRequest req) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
cacheFileMetadata
CacheFileMetadataResult cacheFileMetadata(CacheFileMetadataRequest req) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
getMetastoreDbUuid
- Throws:
MetaExceptionorg.apache.thrift.TException
-
createResourcePlan
WMCreateResourcePlanResponse createResourcePlan(WMCreateResourcePlanRequest request) throws AlreadyExistsException, InvalidObjectException, MetaException, org.apache.thrift.TException - Throws:
AlreadyExistsExceptionInvalidObjectExceptionMetaExceptionorg.apache.thrift.TException
-
getResourcePlan
WMGetResourcePlanResponse getResourcePlan(WMGetResourcePlanRequest request) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
getActiveResourcePlan
WMGetActiveResourcePlanResponse getActiveResourcePlan(WMGetActiveResourcePlanRequest request) throws MetaException, org.apache.thrift.TException - Throws:
MetaExceptionorg.apache.thrift.TException
-
getAllResourcePlans
WMGetAllResourcePlanResponse getAllResourcePlans(WMGetAllResourcePlanRequest request) throws MetaException, org.apache.thrift.TException - Throws:
MetaExceptionorg.apache.thrift.TException
-
alterResourcePlan
WMAlterResourcePlanResponse alterResourcePlan(WMAlterResourcePlanRequest request) throws NoSuchObjectException, InvalidOperationException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionInvalidOperationExceptionMetaExceptionorg.apache.thrift.TException
-
validateResourcePlan
WMValidateResourcePlanResponse validateResourcePlan(WMValidateResourcePlanRequest request) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
dropResourcePlan
WMDropResourcePlanResponse dropResourcePlan(WMDropResourcePlanRequest request) throws NoSuchObjectException, InvalidOperationException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionInvalidOperationExceptionMetaExceptionorg.apache.thrift.TException
-
createWmTrigger
WMCreateTriggerResponse createWmTrigger(WMCreateTriggerRequest request) throws AlreadyExistsException, NoSuchObjectException, InvalidObjectException, MetaException, org.apache.thrift.TException - Throws:
AlreadyExistsExceptionNoSuchObjectExceptionInvalidObjectExceptionMetaExceptionorg.apache.thrift.TException
-
alterWmTrigger
WMAlterTriggerResponse alterWmTrigger(WMAlterTriggerRequest request) throws NoSuchObjectException, InvalidObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionInvalidObjectExceptionMetaExceptionorg.apache.thrift.TException
-
dropWmTrigger
WMDropTriggerResponse dropWmTrigger(WMDropTriggerRequest request) throws NoSuchObjectException, InvalidOperationException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionInvalidOperationExceptionMetaExceptionorg.apache.thrift.TException
-
getTriggersForResourceplan
WMGetTriggersForResourePlanResponse getTriggersForResourceplan(WMGetTriggersForResourePlanRequest request) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
createWmPool
WMCreatePoolResponse createWmPool(WMCreatePoolRequest request) throws AlreadyExistsException, NoSuchObjectException, InvalidObjectException, MetaException, org.apache.thrift.TException - Throws:
AlreadyExistsExceptionNoSuchObjectExceptionInvalidObjectExceptionMetaExceptionorg.apache.thrift.TException
-
alterWmPool
WMAlterPoolResponse alterWmPool(WMAlterPoolRequest request) throws AlreadyExistsException, NoSuchObjectException, InvalidObjectException, MetaException, org.apache.thrift.TException - Throws:
AlreadyExistsExceptionNoSuchObjectExceptionInvalidObjectExceptionMetaExceptionorg.apache.thrift.TException
-
dropWmPool
WMDropPoolResponse dropWmPool(WMDropPoolRequest request) throws NoSuchObjectException, InvalidOperationException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionInvalidOperationExceptionMetaExceptionorg.apache.thrift.TException
-
createOrUpdateWmMapping
WMCreateOrUpdateMappingResponse createOrUpdateWmMapping(WMCreateOrUpdateMappingRequest request) throws AlreadyExistsException, NoSuchObjectException, InvalidObjectException, MetaException, org.apache.thrift.TException - Throws:
AlreadyExistsExceptionNoSuchObjectExceptionInvalidObjectExceptionMetaExceptionorg.apache.thrift.TException
-
dropWmMapping
WMDropMappingResponse dropWmMapping(WMDropMappingRequest request) throws NoSuchObjectException, InvalidOperationException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionInvalidOperationExceptionMetaExceptionorg.apache.thrift.TException
-
createOrDropWmTriggerToPoolMapping
WMCreateOrDropTriggerToPoolMappingResponse createOrDropWmTriggerToPoolMapping(WMCreateOrDropTriggerToPoolMappingRequest request) throws AlreadyExistsException, NoSuchObjectException, InvalidObjectException, MetaException, org.apache.thrift.TException - Throws:
AlreadyExistsExceptionNoSuchObjectExceptionInvalidObjectExceptionMetaExceptionorg.apache.thrift.TException
-
createIschema
void createIschema(ISchema schema) throws AlreadyExistsException, NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
AlreadyExistsExceptionNoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
alterIschema
void alterIschema(AlterISchemaRequest rqst) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
getIschema
ISchema getIschema(ISchemaName name) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
dropIschema
void dropIschema(ISchemaName name) throws NoSuchObjectException, InvalidOperationException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionInvalidOperationExceptionMetaExceptionorg.apache.thrift.TException
-
addSchemaVersion
void addSchemaVersion(SchemaVersion schemaVersion) throws AlreadyExistsException, NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
AlreadyExistsExceptionNoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
getSchemaVersion
SchemaVersion getSchemaVersion(SchemaVersionDescriptor schemaVersion) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
getSchemaLatestVersion
SchemaVersion getSchemaLatestVersion(ISchemaName schemaName) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
getSchemaAllVersions
List<SchemaVersion> getSchemaAllVersions(ISchemaName schemaName) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
dropSchemaVersion
void dropSchemaVersion(SchemaVersionDescriptor schemaVersion) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
getSchemasByCols
FindSchemasByColsResp getSchemasByCols(FindSchemasByColsRqst rqst) throws MetaException, org.apache.thrift.TException - Throws:
MetaExceptionorg.apache.thrift.TException
-
mapSchemaVersionToSerde
void mapSchemaVersionToSerde(MapSchemaVersionToSerdeRequest rqst) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
setSchemaVersionState
void setSchemaVersionState(SetSchemaVersionStateRequest rqst) throws NoSuchObjectException, InvalidOperationException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionInvalidOperationExceptionMetaExceptionorg.apache.thrift.TException
-
addSerde
void addSerde(SerDeInfo serde) throws AlreadyExistsException, MetaException, org.apache.thrift.TException - Throws:
AlreadyExistsExceptionMetaExceptionorg.apache.thrift.TException
-
getSerde
SerDeInfo getSerde(GetSerdeRequest rqst) throws NoSuchObjectException, MetaException, org.apache.thrift.TException - Throws:
NoSuchObjectExceptionMetaExceptionorg.apache.thrift.TException
-
getLockMaterializationRebuild
LockResponse getLockMaterializationRebuild(String dbName, String tableName, long txnId) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
heartbeatLockMaterializationRebuild
boolean heartbeatLockMaterializationRebuild(String dbName, String tableName, long txnId) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
addRuntimeStats
- Throws:
MetaExceptionorg.apache.thrift.TException
-
getRuntimeStats
List<RuntimeStat> getRuntimeStats(GetRuntimeStatsRequest rqst) throws MetaException, org.apache.thrift.TException - Throws:
MetaExceptionorg.apache.thrift.TException
-