Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore Maven / Gradle / Ivy
/**
* Autogenerated by Thrift Compiler (0.9.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package org.apache.hadoop.hive.metastore.api;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.thrift.scheme.IScheme;
import org.apache.thrift.scheme.SchemeFactory;
import org.apache.thrift.scheme.StandardScheme;
import org.apache.thrift.scheme.TupleScheme;
import org.apache.thrift.protocol.TTupleProtocol;
import org.apache.thrift.protocol.TProtocolException;
import org.apache.thrift.EncodingUtils;
import org.apache.thrift.TException;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
import java.util.EnumMap;
import java.util.Set;
import java.util.HashSet;
import java.util.EnumSet;
import java.util.Collections;
import java.util.BitSet;
import java.nio.ByteBuffer;
import java.util.Arrays;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class ThriftHiveMetastore {
/**
* This interface is live.
*/
public interface Iface extends com.facebook.fb303.FacebookService.Iface {
public String getMetaConf(String key) throws MetaException, org.apache.thrift.TException;
public void setMetaConf(String key, String value) throws MetaException, org.apache.thrift.TException;
public void create_database(Database database) throws AlreadyExistsException, InvalidObjectException, MetaException, org.apache.thrift.TException;
public Database get_database(String name) throws NoSuchObjectException, MetaException, org.apache.thrift.TException;
public void drop_database(String name, boolean deleteData, boolean cascade) throws NoSuchObjectException, InvalidOperationException, MetaException, org.apache.thrift.TException;
public List get_databases(String pattern) throws MetaException, org.apache.thrift.TException;
public List get_all_databases() throws MetaException, org.apache.thrift.TException;
public void alter_database(String dbname, Database db) throws MetaException, NoSuchObjectException, org.apache.thrift.TException;
public Type get_type(String name) throws MetaException, NoSuchObjectException, org.apache.thrift.TException;
public boolean create_type(Type type) throws AlreadyExistsException, InvalidObjectException, MetaException, org.apache.thrift.TException;
public boolean drop_type(String type) throws MetaException, NoSuchObjectException, org.apache.thrift.TException;
public Map get_type_all(String name) throws MetaException, org.apache.thrift.TException;
public List get_fields(String db_name, String table_name) throws MetaException, UnknownTableException, UnknownDBException, org.apache.thrift.TException;
public List get_fields_with_environment_context(String db_name, String table_name, EnvironmentContext environment_context) throws MetaException, UnknownTableException, UnknownDBException, org.apache.thrift.TException;
public List get_schema(String db_name, String table_name) throws MetaException, UnknownTableException, UnknownDBException, org.apache.thrift.TException;
public List get_schema_with_environment_context(String db_name, String table_name, EnvironmentContext environment_context) throws MetaException, UnknownTableException, UnknownDBException, org.apache.thrift.TException;
public void create_table(Table tbl) throws AlreadyExistsException, InvalidObjectException, MetaException, NoSuchObjectException, org.apache.thrift.TException;
public void create_table_with_environment_context(Table tbl, EnvironmentContext environment_context) throws AlreadyExistsException, InvalidObjectException, MetaException, NoSuchObjectException, org.apache.thrift.TException;
public void drop_table(String dbname, String name, boolean deleteData) throws NoSuchObjectException, MetaException, org.apache.thrift.TException;
public void drop_table_with_environment_context(String dbname, String name, boolean deleteData, EnvironmentContext environment_context) throws NoSuchObjectException, MetaException, org.apache.thrift.TException;
public List get_tables(String db_name, String pattern) throws MetaException, org.apache.thrift.TException;
public List get_all_tables(String db_name) throws MetaException, org.apache.thrift.TException;
public Table get_table(String dbname, String tbl_name) throws MetaException, NoSuchObjectException, org.apache.thrift.TException;
public List get_table_objects_by_name(String dbname, List tbl_names) throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException;
public List get_table_names_by_filter(String dbname, String filter, short max_tables) throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException;
public void alter_table(String dbname, String tbl_name, Table new_tbl) throws InvalidOperationException, MetaException, org.apache.thrift.TException;
public void alter_table_with_environment_context(String dbname, String tbl_name, Table new_tbl, EnvironmentContext environment_context) throws InvalidOperationException, MetaException, org.apache.thrift.TException;
public void alter_table_with_cascade(String dbname, String tbl_name, Table new_tbl, boolean cascade) throws InvalidOperationException, MetaException, org.apache.thrift.TException;
public Partition add_partition(Partition new_part) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException;
public Partition add_partition_with_environment_context(Partition new_part, EnvironmentContext environment_context) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException;
public int add_partitions(List new_parts) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException;
public int add_partitions_pspec(List new_parts) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException;
public Partition append_partition(String db_name, String tbl_name, List part_vals) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException;
public AddPartitionsResult add_partitions_req(AddPartitionsRequest request) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException;
public Partition append_partition_with_environment_context(String db_name, String tbl_name, List part_vals, EnvironmentContext environment_context) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException;
public Partition append_partition_by_name(String db_name, String tbl_name, String part_name) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException;
public Partition append_partition_by_name_with_environment_context(String db_name, String tbl_name, String part_name, EnvironmentContext environment_context) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException;
public boolean drop_partition(String db_name, String tbl_name, List part_vals, boolean deleteData) throws NoSuchObjectException, MetaException, org.apache.thrift.TException;
public boolean drop_partition_with_environment_context(String db_name, String tbl_name, List part_vals, boolean deleteData, EnvironmentContext environment_context) throws NoSuchObjectException, MetaException, org.apache.thrift.TException;
public boolean drop_partition_by_name(String db_name, String tbl_name, String part_name, boolean deleteData) throws NoSuchObjectException, MetaException, org.apache.thrift.TException;
public boolean drop_partition_by_name_with_environment_context(String db_name, String tbl_name, String part_name, boolean deleteData, EnvironmentContext environment_context) throws NoSuchObjectException, MetaException, org.apache.thrift.TException;
public DropPartitionsResult drop_partitions_req(DropPartitionsRequest req) throws NoSuchObjectException, MetaException, org.apache.thrift.TException;
public Partition get_partition(String db_name, String tbl_name, List part_vals) throws MetaException, NoSuchObjectException, org.apache.thrift.TException;
public Partition exchange_partition(Map partitionSpecs, String source_db, String source_table_name, String dest_db, String dest_table_name) throws MetaException, NoSuchObjectException, InvalidObjectException, InvalidInputException, org.apache.thrift.TException;
public Partition get_partition_with_auth(String db_name, String tbl_name, List part_vals, String user_name, List group_names) throws MetaException, NoSuchObjectException, org.apache.thrift.TException;
public Partition get_partition_by_name(String db_name, String tbl_name, String part_name) throws MetaException, NoSuchObjectException, org.apache.thrift.TException;
public List get_partitions(String db_name, String tbl_name, short max_parts) throws NoSuchObjectException, MetaException, org.apache.thrift.TException;
public List get_partitions_with_auth(String db_name, String tbl_name, short max_parts, String user_name, List group_names) throws NoSuchObjectException, MetaException, org.apache.thrift.TException;
public List get_partitions_pspec(String db_name, String tbl_name, int max_parts) throws NoSuchObjectException, MetaException, org.apache.thrift.TException;
public List get_partition_names(String db_name, String tbl_name, short max_parts) throws MetaException, org.apache.thrift.TException;
public List get_partitions_ps(String db_name, String tbl_name, List part_vals, short max_parts) throws MetaException, NoSuchObjectException, org.apache.thrift.TException;
public List get_partitions_ps_with_auth(String db_name, String tbl_name, List part_vals, short max_parts, String user_name, List group_names) throws NoSuchObjectException, MetaException, org.apache.thrift.TException;
public List get_partition_names_ps(String db_name, String tbl_name, List part_vals, short max_parts) throws MetaException, NoSuchObjectException, org.apache.thrift.TException;
public List get_partitions_by_filter(String db_name, String tbl_name, String filter, short max_parts) throws MetaException, NoSuchObjectException, org.apache.thrift.TException;
public List get_part_specs_by_filter(String db_name, String tbl_name, String filter, int max_parts) throws MetaException, NoSuchObjectException, org.apache.thrift.TException;
public PartitionsByExprResult get_partitions_by_expr(PartitionsByExprRequest req) throws MetaException, NoSuchObjectException, org.apache.thrift.TException;
public List get_partitions_by_names(String db_name, String tbl_name, List names) throws MetaException, NoSuchObjectException, org.apache.thrift.TException;
public void alter_partition(String db_name, String tbl_name, Partition new_part) throws InvalidOperationException, MetaException, org.apache.thrift.TException;
public void alter_partitions(String db_name, String tbl_name, List new_parts) throws InvalidOperationException, MetaException, org.apache.thrift.TException;
public void alter_partition_with_environment_context(String db_name, String tbl_name, Partition new_part, EnvironmentContext environment_context) throws InvalidOperationException, MetaException, org.apache.thrift.TException;
public void rename_partition(String db_name, String tbl_name, List part_vals, Partition new_part) throws InvalidOperationException, MetaException, org.apache.thrift.TException;
public boolean partition_name_has_valid_characters(List part_vals, boolean throw_exception) throws MetaException, org.apache.thrift.TException;
public String get_config_value(String name, String defaultValue) throws ConfigValSecurityException, org.apache.thrift.TException;
public List partition_name_to_vals(String part_name) throws MetaException, org.apache.thrift.TException;
public Map partition_name_to_spec(String part_name) throws MetaException, org.apache.thrift.TException;
public void markPartitionForEvent(String db_name, String tbl_name, Map part_vals, PartitionEventType eventType) throws MetaException, NoSuchObjectException, UnknownDBException, UnknownTableException, UnknownPartitionException, InvalidPartitionException, org.apache.thrift.TException;
public boolean isPartitionMarkedForEvent(String db_name, String tbl_name, Map part_vals, PartitionEventType eventType) throws MetaException, NoSuchObjectException, UnknownDBException, UnknownTableException, UnknownPartitionException, InvalidPartitionException, org.apache.thrift.TException;
public Index add_index(Index new_index, Table index_table) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException;
public void alter_index(String dbname, String base_tbl_name, String idx_name, Index new_idx) throws InvalidOperationException, MetaException, org.apache.thrift.TException;
public boolean drop_index_by_name(String db_name, String tbl_name, String index_name, boolean deleteData) throws NoSuchObjectException, MetaException, org.apache.thrift.TException;
public Index get_index_by_name(String db_name, String tbl_name, String index_name) throws MetaException, NoSuchObjectException, org.apache.thrift.TException;
public List get_indexes(String db_name, String tbl_name, short max_indexes) throws NoSuchObjectException, MetaException, org.apache.thrift.TException;
public List get_index_names(String db_name, String tbl_name, short max_indexes) throws MetaException, org.apache.thrift.TException;
public boolean update_table_column_statistics(ColumnStatistics stats_obj) throws NoSuchObjectException, InvalidObjectException, MetaException, InvalidInputException, org.apache.thrift.TException;
public boolean update_partition_column_statistics(ColumnStatistics stats_obj) throws NoSuchObjectException, InvalidObjectException, MetaException, InvalidInputException, org.apache.thrift.TException;
public ColumnStatistics get_table_column_statistics(String db_name, String tbl_name, String col_name) throws NoSuchObjectException, MetaException, InvalidInputException, InvalidObjectException, org.apache.thrift.TException;
public ColumnStatistics get_partition_column_statistics(String db_name, String tbl_name, String part_name, String col_name) throws NoSuchObjectException, MetaException, InvalidInputException, InvalidObjectException, org.apache.thrift.TException;
public TableStatsResult get_table_statistics_req(TableStatsRequest request) throws NoSuchObjectException, MetaException, org.apache.thrift.TException;
public PartitionsStatsResult get_partitions_statistics_req(PartitionsStatsRequest request) throws NoSuchObjectException, MetaException, org.apache.thrift.TException;
public AggrStats get_aggr_stats_for(PartitionsStatsRequest request) throws NoSuchObjectException, MetaException, org.apache.thrift.TException;
public boolean set_aggr_stats_for(SetPartitionsStatsRequest request) throws NoSuchObjectException, InvalidObjectException, MetaException, InvalidInputException, org.apache.thrift.TException;
public boolean delete_partition_column_statistics(String db_name, String tbl_name, String part_name, String col_name) throws NoSuchObjectException, MetaException, InvalidObjectException, InvalidInputException, org.apache.thrift.TException;
public boolean delete_table_column_statistics(String db_name, String tbl_name, String col_name) throws NoSuchObjectException, MetaException, InvalidObjectException, InvalidInputException, org.apache.thrift.TException;
public void create_function(Function func) throws AlreadyExistsException, InvalidObjectException, MetaException, NoSuchObjectException, org.apache.thrift.TException;
public void drop_function(String dbName, String funcName) throws NoSuchObjectException, MetaException, org.apache.thrift.TException;
public void alter_function(String dbName, String funcName, Function newFunc) throws InvalidOperationException, MetaException, org.apache.thrift.TException;
public List get_functions(String dbName, String pattern) throws MetaException, org.apache.thrift.TException;
public Function get_function(String dbName, String funcName) throws MetaException, NoSuchObjectException, org.apache.thrift.TException;
public boolean create_role(Role role) throws MetaException, org.apache.thrift.TException;
public boolean drop_role(String role_name) throws MetaException, org.apache.thrift.TException;
public List get_role_names() throws MetaException, org.apache.thrift.TException;
public boolean grant_role(String role_name, String principal_name, PrincipalType principal_type, String grantor, PrincipalType grantorType, boolean grant_option) throws MetaException, org.apache.thrift.TException;
public boolean revoke_role(String role_name, String principal_name, PrincipalType principal_type) throws MetaException, org.apache.thrift.TException;
public List list_roles(String principal_name, PrincipalType principal_type) throws MetaException, org.apache.thrift.TException;
public GrantRevokeRoleResponse grant_revoke_role(GrantRevokeRoleRequest request) throws MetaException, org.apache.thrift.TException;
public GetPrincipalsInRoleResponse get_principals_in_role(GetPrincipalsInRoleRequest request) throws MetaException, org.apache.thrift.TException;
public GetRoleGrantsForPrincipalResponse get_role_grants_for_principal(GetRoleGrantsForPrincipalRequest request) throws MetaException, org.apache.thrift.TException;
public PrincipalPrivilegeSet get_privilege_set(HiveObjectRef hiveObject, String user_name, List group_names) throws MetaException, org.apache.thrift.TException;
public List list_privileges(String principal_name, PrincipalType principal_type, HiveObjectRef hiveObject) throws MetaException, org.apache.thrift.TException;
public boolean grant_privileges(PrivilegeBag privileges) throws MetaException, org.apache.thrift.TException;
public boolean revoke_privileges(PrivilegeBag privileges) throws MetaException, org.apache.thrift.TException;
public GrantRevokePrivilegeResponse grant_revoke_privileges(GrantRevokePrivilegeRequest request) throws MetaException, org.apache.thrift.TException;
public List set_ugi(String user_name, List group_names) throws MetaException, org.apache.thrift.TException;
public String get_delegation_token(String token_owner, String renewer_kerberos_principal_name) throws MetaException, org.apache.thrift.TException;
public long renew_delegation_token(String token_str_form) throws MetaException, org.apache.thrift.TException;
public void cancel_delegation_token(String token_str_form) throws MetaException, org.apache.thrift.TException;
public GetOpenTxnsResponse get_open_txns() throws org.apache.thrift.TException;
public GetOpenTxnsInfoResponse get_open_txns_info() throws org.apache.thrift.TException;
public OpenTxnsResponse open_txns(OpenTxnRequest rqst) throws org.apache.thrift.TException;
public void abort_txn(AbortTxnRequest rqst) throws NoSuchTxnException, org.apache.thrift.TException;
public void commit_txn(CommitTxnRequest rqst) throws NoSuchTxnException, TxnAbortedException, org.apache.thrift.TException;
public LockResponse lock(LockRequest rqst) throws NoSuchTxnException, TxnAbortedException, org.apache.thrift.TException;
public LockResponse check_lock(CheckLockRequest rqst) throws NoSuchTxnException, TxnAbortedException, NoSuchLockException, org.apache.thrift.TException;
public void unlock(UnlockRequest rqst) throws NoSuchLockException, TxnOpenException, org.apache.thrift.TException;
public ShowLocksResponse show_locks(ShowLocksRequest rqst) throws org.apache.thrift.TException;
public void heartbeat(HeartbeatRequest ids) throws NoSuchLockException, NoSuchTxnException, TxnAbortedException, org.apache.thrift.TException;
public HeartbeatTxnRangeResponse heartbeat_txn_range(HeartbeatTxnRangeRequest txns) throws org.apache.thrift.TException;
public void compact(CompactionRequest rqst) throws org.apache.thrift.TException;
public ShowCompactResponse show_compact(ShowCompactRequest rqst) throws org.apache.thrift.TException;
public void add_dynamic_partitions(AddDynamicPartitions rqst) throws NoSuchTxnException, TxnAbortedException, org.apache.thrift.TException;
public NotificationEventResponse get_next_notification(NotificationEventRequest rqst) throws org.apache.thrift.TException;
public CurrentNotificationEventId get_current_notificationEventId() throws org.apache.thrift.TException;
public FireEventResponse fire_listener_event(FireEventRequest rqst) throws org.apache.thrift.TException;
}
public interface AsyncIface extends com.facebook.fb303.FacebookService .AsyncIface {
public void getMetaConf(String key, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void setMetaConf(String key, String value, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void create_database(Database database, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_database(String name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void drop_database(String name, boolean deleteData, boolean cascade, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_databases(String pattern, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_all_databases(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void alter_database(String dbname, Database db, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_type(String name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void create_type(Type type, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void drop_type(String type, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_type_all(String name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_fields(String db_name, String table_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_fields_with_environment_context(String db_name, String table_name, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_schema(String db_name, String table_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_schema_with_environment_context(String db_name, String table_name, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void create_table(Table tbl, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void create_table_with_environment_context(Table tbl, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void drop_table(String dbname, String name, boolean deleteData, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void drop_table_with_environment_context(String dbname, String name, boolean deleteData, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_tables(String db_name, String pattern, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_all_tables(String db_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_table(String dbname, String tbl_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_table_objects_by_name(String dbname, List tbl_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_table_names_by_filter(String dbname, String filter, short max_tables, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void alter_table(String dbname, String tbl_name, Table new_tbl, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void alter_table_with_environment_context(String dbname, String tbl_name, Table new_tbl, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void alter_table_with_cascade(String dbname, String tbl_name, Table new_tbl, boolean cascade, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void add_partition(Partition new_part, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void add_partition_with_environment_context(Partition new_part, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void add_partitions(List new_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void add_partitions_pspec(List new_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void append_partition(String db_name, String tbl_name, List part_vals, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void add_partitions_req(AddPartitionsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void append_partition_with_environment_context(String db_name, String tbl_name, List part_vals, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void append_partition_by_name(String db_name, String tbl_name, String part_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void append_partition_by_name_with_environment_context(String db_name, String tbl_name, String part_name, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void drop_partition(String db_name, String tbl_name, List part_vals, boolean deleteData, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void drop_partition_with_environment_context(String db_name, String tbl_name, List part_vals, boolean deleteData, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void drop_partition_by_name(String db_name, String tbl_name, String part_name, boolean deleteData, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void drop_partition_by_name_with_environment_context(String db_name, String tbl_name, String part_name, boolean deleteData, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void drop_partitions_req(DropPartitionsRequest req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_partition(String db_name, String tbl_name, List part_vals, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void exchange_partition(Map partitionSpecs, String source_db, String source_table_name, String dest_db, String dest_table_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_partition_with_auth(String db_name, String tbl_name, List part_vals, String user_name, List group_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_partition_by_name(String db_name, String tbl_name, String part_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_partitions(String db_name, String tbl_name, short max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_partitions_with_auth(String db_name, String tbl_name, short max_parts, String user_name, List group_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_partitions_pspec(String db_name, String tbl_name, int max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_partition_names(String db_name, String tbl_name, short max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_partitions_ps(String db_name, String tbl_name, List part_vals, short max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_partitions_ps_with_auth(String db_name, String tbl_name, List part_vals, short max_parts, String user_name, List group_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_partition_names_ps(String db_name, String tbl_name, List part_vals, short max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_partitions_by_filter(String db_name, String tbl_name, String filter, short max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_part_specs_by_filter(String db_name, String tbl_name, String filter, int max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_partitions_by_expr(PartitionsByExprRequest req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_partitions_by_names(String db_name, String tbl_name, List names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void alter_partition(String db_name, String tbl_name, Partition new_part, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void alter_partitions(String db_name, String tbl_name, List new_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void alter_partition_with_environment_context(String db_name, String tbl_name, Partition new_part, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void rename_partition(String db_name, String tbl_name, List part_vals, Partition new_part, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void partition_name_has_valid_characters(List part_vals, boolean throw_exception, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_config_value(String name, String defaultValue, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void partition_name_to_vals(String part_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void partition_name_to_spec(String part_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void markPartitionForEvent(String db_name, String tbl_name, Map part_vals, PartitionEventType eventType, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void isPartitionMarkedForEvent(String db_name, String tbl_name, Map part_vals, PartitionEventType eventType, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void add_index(Index new_index, Table index_table, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void alter_index(String dbname, String base_tbl_name, String idx_name, Index new_idx, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void drop_index_by_name(String db_name, String tbl_name, String index_name, boolean deleteData, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_index_by_name(String db_name, String tbl_name, String index_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_indexes(String db_name, String tbl_name, short max_indexes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_index_names(String db_name, String tbl_name, short max_indexes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void update_table_column_statistics(ColumnStatistics stats_obj, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void update_partition_column_statistics(ColumnStatistics stats_obj, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_table_column_statistics(String db_name, String tbl_name, String col_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_partition_column_statistics(String db_name, String tbl_name, String part_name, String col_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_table_statistics_req(TableStatsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_partitions_statistics_req(PartitionsStatsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_aggr_stats_for(PartitionsStatsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void set_aggr_stats_for(SetPartitionsStatsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void delete_partition_column_statistics(String db_name, String tbl_name, String part_name, String col_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void delete_table_column_statistics(String db_name, String tbl_name, String col_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void create_function(Function func, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void drop_function(String dbName, String funcName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void alter_function(String dbName, String funcName, Function newFunc, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_functions(String dbName, String pattern, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_function(String dbName, String funcName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void create_role(Role role, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void drop_role(String role_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_role_names(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void grant_role(String role_name, String principal_name, PrincipalType principal_type, String grantor, PrincipalType grantorType, boolean grant_option, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void revoke_role(String role_name, String principal_name, PrincipalType principal_type, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void list_roles(String principal_name, PrincipalType principal_type, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void grant_revoke_role(GrantRevokeRoleRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_principals_in_role(GetPrincipalsInRoleRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_role_grants_for_principal(GetRoleGrantsForPrincipalRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_privilege_set(HiveObjectRef hiveObject, String user_name, List group_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void list_privileges(String principal_name, PrincipalType principal_type, HiveObjectRef hiveObject, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void grant_privileges(PrivilegeBag privileges, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void revoke_privileges(PrivilegeBag privileges, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void grant_revoke_privileges(GrantRevokePrivilegeRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void set_ugi(String user_name, List group_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_delegation_token(String token_owner, String renewer_kerberos_principal_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void renew_delegation_token(String token_str_form, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void cancel_delegation_token(String token_str_form, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_open_txns(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_open_txns_info(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void open_txns(OpenTxnRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void abort_txn(AbortTxnRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void commit_txn(CommitTxnRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void lock(LockRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void check_lock(CheckLockRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void unlock(UnlockRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void show_locks(ShowLocksRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void heartbeat(HeartbeatRequest ids, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void heartbeat_txn_range(HeartbeatTxnRangeRequest txns, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void compact(CompactionRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void show_compact(ShowCompactRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void add_dynamic_partitions(AddDynamicPartitions rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_next_notification(NotificationEventRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void get_current_notificationEventId(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void fire_listener_event(FireEventRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
}
public static class Client extends com.facebook.fb303.FacebookService.Client implements Iface {
public static class Factory implements org.apache.thrift.TServiceClientFactory {
public Factory() {}
public Client getClient(org.apache.thrift.protocol.TProtocol prot) {
return new Client(prot);
}
public Client getClient(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot) {
return new Client(iprot, oprot);
}
}
public Client(org.apache.thrift.protocol.TProtocol prot)
{
super(prot, prot);
}
public Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot) {
super(iprot, oprot);
}
public String getMetaConf(String key) throws MetaException, org.apache.thrift.TException
{
send_getMetaConf(key);
return recv_getMetaConf();
}
public void send_getMetaConf(String key) throws org.apache.thrift.TException
{
getMetaConf_args args = new getMetaConf_args();
args.setKey(key);
sendBase("getMetaConf", args);
}
public String recv_getMetaConf() throws MetaException, org.apache.thrift.TException
{
getMetaConf_result result = new getMetaConf_result();
receiveBase(result, "getMetaConf");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getMetaConf failed: unknown result");
}
public void setMetaConf(String key, String value) throws MetaException, org.apache.thrift.TException
{
send_setMetaConf(key, value);
recv_setMetaConf();
}
public void send_setMetaConf(String key, String value) throws org.apache.thrift.TException
{
setMetaConf_args args = new setMetaConf_args();
args.setKey(key);
args.setValue(value);
sendBase("setMetaConf", args);
}
public void recv_setMetaConf() throws MetaException, org.apache.thrift.TException
{
setMetaConf_result result = new setMetaConf_result();
receiveBase(result, "setMetaConf");
if (result.o1 != null) {
throw result.o1;
}
return;
}
public void create_database(Database database) throws AlreadyExistsException, InvalidObjectException, MetaException, org.apache.thrift.TException
{
send_create_database(database);
recv_create_database();
}
public void send_create_database(Database database) throws org.apache.thrift.TException
{
create_database_args args = new create_database_args();
args.setDatabase(database);
sendBase("create_database", args);
}
public void recv_create_database() throws AlreadyExistsException, InvalidObjectException, MetaException, org.apache.thrift.TException
{
create_database_result result = new create_database_result();
receiveBase(result, "create_database");
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
if (result.o3 != null) {
throw result.o3;
}
return;
}
public Database get_database(String name) throws NoSuchObjectException, MetaException, org.apache.thrift.TException
{
send_get_database(name);
return recv_get_database();
}
public void send_get_database(String name) throws org.apache.thrift.TException
{
get_database_args args = new get_database_args();
args.setName(name);
sendBase("get_database", args);
}
public Database recv_get_database() throws NoSuchObjectException, MetaException, org.apache.thrift.TException
{
get_database_result result = new get_database_result();
receiveBase(result, "get_database");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_database failed: unknown result");
}
public void drop_database(String name, boolean deleteData, boolean cascade) throws NoSuchObjectException, InvalidOperationException, MetaException, org.apache.thrift.TException
{
send_drop_database(name, deleteData, cascade);
recv_drop_database();
}
public void send_drop_database(String name, boolean deleteData, boolean cascade) throws org.apache.thrift.TException
{
drop_database_args args = new drop_database_args();
args.setName(name);
args.setDeleteData(deleteData);
args.setCascade(cascade);
sendBase("drop_database", args);
}
public void recv_drop_database() throws NoSuchObjectException, InvalidOperationException, MetaException, org.apache.thrift.TException
{
drop_database_result result = new drop_database_result();
receiveBase(result, "drop_database");
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
if (result.o3 != null) {
throw result.o3;
}
return;
}
public List get_databases(String pattern) throws MetaException, org.apache.thrift.TException
{
send_get_databases(pattern);
return recv_get_databases();
}
public void send_get_databases(String pattern) throws org.apache.thrift.TException
{
get_databases_args args = new get_databases_args();
args.setPattern(pattern);
sendBase("get_databases", args);
}
public List recv_get_databases() throws MetaException, org.apache.thrift.TException
{
get_databases_result result = new get_databases_result();
receiveBase(result, "get_databases");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_databases failed: unknown result");
}
public List get_all_databases() throws MetaException, org.apache.thrift.TException
{
send_get_all_databases();
return recv_get_all_databases();
}
public void send_get_all_databases() throws org.apache.thrift.TException
{
get_all_databases_args args = new get_all_databases_args();
sendBase("get_all_databases", args);
}
public List recv_get_all_databases() throws MetaException, org.apache.thrift.TException
{
get_all_databases_result result = new get_all_databases_result();
receiveBase(result, "get_all_databases");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_all_databases failed: unknown result");
}
public void alter_database(String dbname, Database db) throws MetaException, NoSuchObjectException, org.apache.thrift.TException
{
send_alter_database(dbname, db);
recv_alter_database();
}
public void send_alter_database(String dbname, Database db) throws org.apache.thrift.TException
{
alter_database_args args = new alter_database_args();
args.setDbname(dbname);
args.setDb(db);
sendBase("alter_database", args);
}
public void recv_alter_database() throws MetaException, NoSuchObjectException, org.apache.thrift.TException
{
alter_database_result result = new alter_database_result();
receiveBase(result, "alter_database");
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
return;
}
public Type get_type(String name) throws MetaException, NoSuchObjectException, org.apache.thrift.TException
{
send_get_type(name);
return recv_get_type();
}
public void send_get_type(String name) throws org.apache.thrift.TException
{
get_type_args args = new get_type_args();
args.setName(name);
sendBase("get_type", args);
}
public Type recv_get_type() throws MetaException, NoSuchObjectException, org.apache.thrift.TException
{
get_type_result result = new get_type_result();
receiveBase(result, "get_type");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_type failed: unknown result");
}
public boolean create_type(Type type) throws AlreadyExistsException, InvalidObjectException, MetaException, org.apache.thrift.TException
{
send_create_type(type);
return recv_create_type();
}
public void send_create_type(Type type) throws org.apache.thrift.TException
{
create_type_args args = new create_type_args();
args.setType(type);
sendBase("create_type", args);
}
public boolean recv_create_type() throws AlreadyExistsException, InvalidObjectException, MetaException, org.apache.thrift.TException
{
create_type_result result = new create_type_result();
receiveBase(result, "create_type");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
if (result.o3 != null) {
throw result.o3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "create_type failed: unknown result");
}
public boolean drop_type(String type) throws MetaException, NoSuchObjectException, org.apache.thrift.TException
{
send_drop_type(type);
return recv_drop_type();
}
public void send_drop_type(String type) throws org.apache.thrift.TException
{
drop_type_args args = new drop_type_args();
args.setType(type);
sendBase("drop_type", args);
}
public boolean recv_drop_type() throws MetaException, NoSuchObjectException, org.apache.thrift.TException
{
drop_type_result result = new drop_type_result();
receiveBase(result, "drop_type");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "drop_type failed: unknown result");
}
public Map get_type_all(String name) throws MetaException, org.apache.thrift.TException
{
send_get_type_all(name);
return recv_get_type_all();
}
public void send_get_type_all(String name) throws org.apache.thrift.TException
{
get_type_all_args args = new get_type_all_args();
args.setName(name);
sendBase("get_type_all", args);
}
public Map recv_get_type_all() throws MetaException, org.apache.thrift.TException
{
get_type_all_result result = new get_type_all_result();
receiveBase(result, "get_type_all");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o2 != null) {
throw result.o2;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_type_all failed: unknown result");
}
public List get_fields(String db_name, String table_name) throws MetaException, UnknownTableException, UnknownDBException, org.apache.thrift.TException
{
send_get_fields(db_name, table_name);
return recv_get_fields();
}
public void send_get_fields(String db_name, String table_name) throws org.apache.thrift.TException
{
get_fields_args args = new get_fields_args();
args.setDb_name(db_name);
args.setTable_name(table_name);
sendBase("get_fields", args);
}
public List recv_get_fields() throws MetaException, UnknownTableException, UnknownDBException, org.apache.thrift.TException
{
get_fields_result result = new get_fields_result();
receiveBase(result, "get_fields");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
if (result.o3 != null) {
throw result.o3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_fields failed: unknown result");
}
public List get_fields_with_environment_context(String db_name, String table_name, EnvironmentContext environment_context) throws MetaException, UnknownTableException, UnknownDBException, org.apache.thrift.TException
{
send_get_fields_with_environment_context(db_name, table_name, environment_context);
return recv_get_fields_with_environment_context();
}
public void send_get_fields_with_environment_context(String db_name, String table_name, EnvironmentContext environment_context) throws org.apache.thrift.TException
{
get_fields_with_environment_context_args args = new get_fields_with_environment_context_args();
args.setDb_name(db_name);
args.setTable_name(table_name);
args.setEnvironment_context(environment_context);
sendBase("get_fields_with_environment_context", args);
}
public List recv_get_fields_with_environment_context() throws MetaException, UnknownTableException, UnknownDBException, org.apache.thrift.TException
{
get_fields_with_environment_context_result result = new get_fields_with_environment_context_result();
receiveBase(result, "get_fields_with_environment_context");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
if (result.o3 != null) {
throw result.o3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_fields_with_environment_context failed: unknown result");
}
public List get_schema(String db_name, String table_name) throws MetaException, UnknownTableException, UnknownDBException, org.apache.thrift.TException
{
send_get_schema(db_name, table_name);
return recv_get_schema();
}
public void send_get_schema(String db_name, String table_name) throws org.apache.thrift.TException
{
get_schema_args args = new get_schema_args();
args.setDb_name(db_name);
args.setTable_name(table_name);
sendBase("get_schema", args);
}
public List recv_get_schema() throws MetaException, UnknownTableException, UnknownDBException, org.apache.thrift.TException
{
get_schema_result result = new get_schema_result();
receiveBase(result, "get_schema");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
if (result.o3 != null) {
throw result.o3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_schema failed: unknown result");
}
public List get_schema_with_environment_context(String db_name, String table_name, EnvironmentContext environment_context) throws MetaException, UnknownTableException, UnknownDBException, org.apache.thrift.TException
{
send_get_schema_with_environment_context(db_name, table_name, environment_context);
return recv_get_schema_with_environment_context();
}
public void send_get_schema_with_environment_context(String db_name, String table_name, EnvironmentContext environment_context) throws org.apache.thrift.TException
{
get_schema_with_environment_context_args args = new get_schema_with_environment_context_args();
args.setDb_name(db_name);
args.setTable_name(table_name);
args.setEnvironment_context(environment_context);
sendBase("get_schema_with_environment_context", args);
}
public List recv_get_schema_with_environment_context() throws MetaException, UnknownTableException, UnknownDBException, org.apache.thrift.TException
{
get_schema_with_environment_context_result result = new get_schema_with_environment_context_result();
receiveBase(result, "get_schema_with_environment_context");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
if (result.o3 != null) {
throw result.o3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_schema_with_environment_context failed: unknown result");
}
public void create_table(Table tbl) throws AlreadyExistsException, InvalidObjectException, MetaException, NoSuchObjectException, org.apache.thrift.TException
{
send_create_table(tbl);
recv_create_table();
}
public void send_create_table(Table tbl) throws org.apache.thrift.TException
{
create_table_args args = new create_table_args();
args.setTbl(tbl);
sendBase("create_table", args);
}
public void recv_create_table() throws AlreadyExistsException, InvalidObjectException, MetaException, NoSuchObjectException, org.apache.thrift.TException
{
create_table_result result = new create_table_result();
receiveBase(result, "create_table");
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
if (result.o3 != null) {
throw result.o3;
}
if (result.o4 != null) {
throw result.o4;
}
return;
}
public void create_table_with_environment_context(Table tbl, EnvironmentContext environment_context) throws AlreadyExistsException, InvalidObjectException, MetaException, NoSuchObjectException, org.apache.thrift.TException
{
send_create_table_with_environment_context(tbl, environment_context);
recv_create_table_with_environment_context();
}
public void send_create_table_with_environment_context(Table tbl, EnvironmentContext environment_context) throws org.apache.thrift.TException
{
create_table_with_environment_context_args args = new create_table_with_environment_context_args();
args.setTbl(tbl);
args.setEnvironment_context(environment_context);
sendBase("create_table_with_environment_context", args);
}
public void recv_create_table_with_environment_context() throws AlreadyExistsException, InvalidObjectException, MetaException, NoSuchObjectException, org.apache.thrift.TException
{
create_table_with_environment_context_result result = new create_table_with_environment_context_result();
receiveBase(result, "create_table_with_environment_context");
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
if (result.o3 != null) {
throw result.o3;
}
if (result.o4 != null) {
throw result.o4;
}
return;
}
public void drop_table(String dbname, String name, boolean deleteData) throws NoSuchObjectException, MetaException, org.apache.thrift.TException
{
send_drop_table(dbname, name, deleteData);
recv_drop_table();
}
public void send_drop_table(String dbname, String name, boolean deleteData) throws org.apache.thrift.TException
{
drop_table_args args = new drop_table_args();
args.setDbname(dbname);
args.setName(name);
args.setDeleteData(deleteData);
sendBase("drop_table", args);
}
public void recv_drop_table() throws NoSuchObjectException, MetaException, org.apache.thrift.TException
{
drop_table_result result = new drop_table_result();
receiveBase(result, "drop_table");
if (result.o1 != null) {
throw result.o1;
}
if (result.o3 != null) {
throw result.o3;
}
return;
}
public void drop_table_with_environment_context(String dbname, String name, boolean deleteData, EnvironmentContext environment_context) throws NoSuchObjectException, MetaException, org.apache.thrift.TException
{
send_drop_table_with_environment_context(dbname, name, deleteData, environment_context);
recv_drop_table_with_environment_context();
}
public void send_drop_table_with_environment_context(String dbname, String name, boolean deleteData, EnvironmentContext environment_context) throws org.apache.thrift.TException
{
drop_table_with_environment_context_args args = new drop_table_with_environment_context_args();
args.setDbname(dbname);
args.setName(name);
args.setDeleteData(deleteData);
args.setEnvironment_context(environment_context);
sendBase("drop_table_with_environment_context", args);
}
public void recv_drop_table_with_environment_context() throws NoSuchObjectException, MetaException, org.apache.thrift.TException
{
drop_table_with_environment_context_result result = new drop_table_with_environment_context_result();
receiveBase(result, "drop_table_with_environment_context");
if (result.o1 != null) {
throw result.o1;
}
if (result.o3 != null) {
throw result.o3;
}
return;
}
public List get_tables(String db_name, String pattern) throws MetaException, org.apache.thrift.TException
{
send_get_tables(db_name, pattern);
return recv_get_tables();
}
public void send_get_tables(String db_name, String pattern) throws org.apache.thrift.TException
{
get_tables_args args = new get_tables_args();
args.setDb_name(db_name);
args.setPattern(pattern);
sendBase("get_tables", args);
}
public List recv_get_tables() throws MetaException, org.apache.thrift.TException
{
get_tables_result result = new get_tables_result();
receiveBase(result, "get_tables");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_tables failed: unknown result");
}
public List get_all_tables(String db_name) throws MetaException, org.apache.thrift.TException
{
send_get_all_tables(db_name);
return recv_get_all_tables();
}
public void send_get_all_tables(String db_name) throws org.apache.thrift.TException
{
get_all_tables_args args = new get_all_tables_args();
args.setDb_name(db_name);
sendBase("get_all_tables", args);
}
public List recv_get_all_tables() throws MetaException, org.apache.thrift.TException
{
get_all_tables_result result = new get_all_tables_result();
receiveBase(result, "get_all_tables");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_all_tables failed: unknown result");
}
public Table get_table(String dbname, String tbl_name) throws MetaException, NoSuchObjectException, org.apache.thrift.TException
{
send_get_table(dbname, tbl_name);
return recv_get_table();
}
public void send_get_table(String dbname, String tbl_name) throws org.apache.thrift.TException
{
get_table_args args = new get_table_args();
args.setDbname(dbname);
args.setTbl_name(tbl_name);
sendBase("get_table", args);
}
public Table recv_get_table() throws MetaException, NoSuchObjectException, org.apache.thrift.TException
{
get_table_result result = new get_table_result();
receiveBase(result, "get_table");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_table failed: unknown result");
}
public List get_table_objects_by_name(String dbname, List tbl_names) throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException
{
send_get_table_objects_by_name(dbname, tbl_names);
return recv_get_table_objects_by_name();
}
public void send_get_table_objects_by_name(String dbname, List tbl_names) throws org.apache.thrift.TException
{
get_table_objects_by_name_args args = new get_table_objects_by_name_args();
args.setDbname(dbname);
args.setTbl_names(tbl_names);
sendBase("get_table_objects_by_name", args);
}
public List recv_get_table_objects_by_name() throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException
{
get_table_objects_by_name_result result = new get_table_objects_by_name_result();
receiveBase(result, "get_table_objects_by_name");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
if (result.o3 != null) {
throw result.o3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_table_objects_by_name failed: unknown result");
}
public List get_table_names_by_filter(String dbname, String filter, short max_tables) throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException
{
send_get_table_names_by_filter(dbname, filter, max_tables);
return recv_get_table_names_by_filter();
}
public void send_get_table_names_by_filter(String dbname, String filter, short max_tables) throws org.apache.thrift.TException
{
get_table_names_by_filter_args args = new get_table_names_by_filter_args();
args.setDbname(dbname);
args.setFilter(filter);
args.setMax_tables(max_tables);
sendBase("get_table_names_by_filter", args);
}
public List recv_get_table_names_by_filter() throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException
{
get_table_names_by_filter_result result = new get_table_names_by_filter_result();
receiveBase(result, "get_table_names_by_filter");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
if (result.o3 != null) {
throw result.o3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_table_names_by_filter failed: unknown result");
}
public void alter_table(String dbname, String tbl_name, Table new_tbl) throws InvalidOperationException, MetaException, org.apache.thrift.TException
{
send_alter_table(dbname, tbl_name, new_tbl);
recv_alter_table();
}
public void send_alter_table(String dbname, String tbl_name, Table new_tbl) throws org.apache.thrift.TException
{
alter_table_args args = new alter_table_args();
args.setDbname(dbname);
args.setTbl_name(tbl_name);
args.setNew_tbl(new_tbl);
sendBase("alter_table", args);
}
public void recv_alter_table() throws InvalidOperationException, MetaException, org.apache.thrift.TException
{
alter_table_result result = new alter_table_result();
receiveBase(result, "alter_table");
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
return;
}
public void alter_table_with_environment_context(String dbname, String tbl_name, Table new_tbl, EnvironmentContext environment_context) throws InvalidOperationException, MetaException, org.apache.thrift.TException
{
send_alter_table_with_environment_context(dbname, tbl_name, new_tbl, environment_context);
recv_alter_table_with_environment_context();
}
public void send_alter_table_with_environment_context(String dbname, String tbl_name, Table new_tbl, EnvironmentContext environment_context) throws org.apache.thrift.TException
{
alter_table_with_environment_context_args args = new alter_table_with_environment_context_args();
args.setDbname(dbname);
args.setTbl_name(tbl_name);
args.setNew_tbl(new_tbl);
args.setEnvironment_context(environment_context);
sendBase("alter_table_with_environment_context", args);
}
public void recv_alter_table_with_environment_context() throws InvalidOperationException, MetaException, org.apache.thrift.TException
{
alter_table_with_environment_context_result result = new alter_table_with_environment_context_result();
receiveBase(result, "alter_table_with_environment_context");
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
return;
}
public void alter_table_with_cascade(String dbname, String tbl_name, Table new_tbl, boolean cascade) throws InvalidOperationException, MetaException, org.apache.thrift.TException
{
send_alter_table_with_cascade(dbname, tbl_name, new_tbl, cascade);
recv_alter_table_with_cascade();
}
public void send_alter_table_with_cascade(String dbname, String tbl_name, Table new_tbl, boolean cascade) throws org.apache.thrift.TException
{
alter_table_with_cascade_args args = new alter_table_with_cascade_args();
args.setDbname(dbname);
args.setTbl_name(tbl_name);
args.setNew_tbl(new_tbl);
args.setCascade(cascade);
sendBase("alter_table_with_cascade", args);
}
public void recv_alter_table_with_cascade() throws InvalidOperationException, MetaException, org.apache.thrift.TException
{
alter_table_with_cascade_result result = new alter_table_with_cascade_result();
receiveBase(result, "alter_table_with_cascade");
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
return;
}
public Partition add_partition(Partition new_part) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException
{
send_add_partition(new_part);
return recv_add_partition();
}
public void send_add_partition(Partition new_part) throws org.apache.thrift.TException
{
add_partition_args args = new add_partition_args();
args.setNew_part(new_part);
sendBase("add_partition", args);
}
public Partition recv_add_partition() throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException
{
add_partition_result result = new add_partition_result();
receiveBase(result, "add_partition");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
if (result.o3 != null) {
throw result.o3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "add_partition failed: unknown result");
}
public Partition add_partition_with_environment_context(Partition new_part, EnvironmentContext environment_context) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException
{
send_add_partition_with_environment_context(new_part, environment_context);
return recv_add_partition_with_environment_context();
}
public void send_add_partition_with_environment_context(Partition new_part, EnvironmentContext environment_context) throws org.apache.thrift.TException
{
add_partition_with_environment_context_args args = new add_partition_with_environment_context_args();
args.setNew_part(new_part);
args.setEnvironment_context(environment_context);
sendBase("add_partition_with_environment_context", args);
}
public Partition recv_add_partition_with_environment_context() throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException
{
add_partition_with_environment_context_result result = new add_partition_with_environment_context_result();
receiveBase(result, "add_partition_with_environment_context");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
if (result.o3 != null) {
throw result.o3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "add_partition_with_environment_context failed: unknown result");
}
public int add_partitions(List new_parts) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException
{
send_add_partitions(new_parts);
return recv_add_partitions();
}
public void send_add_partitions(List new_parts) throws org.apache.thrift.TException
{
add_partitions_args args = new add_partitions_args();
args.setNew_parts(new_parts);
sendBase("add_partitions", args);
}
public int recv_add_partitions() throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException
{
add_partitions_result result = new add_partitions_result();
receiveBase(result, "add_partitions");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
if (result.o3 != null) {
throw result.o3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "add_partitions failed: unknown result");
}
public int add_partitions_pspec(List new_parts) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException
{
send_add_partitions_pspec(new_parts);
return recv_add_partitions_pspec();
}
public void send_add_partitions_pspec(List new_parts) throws org.apache.thrift.TException
{
add_partitions_pspec_args args = new add_partitions_pspec_args();
args.setNew_parts(new_parts);
sendBase("add_partitions_pspec", args);
}
public int recv_add_partitions_pspec() throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException
{
add_partitions_pspec_result result = new add_partitions_pspec_result();
receiveBase(result, "add_partitions_pspec");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
if (result.o3 != null) {
throw result.o3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "add_partitions_pspec failed: unknown result");
}
public Partition append_partition(String db_name, String tbl_name, List part_vals) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException
{
send_append_partition(db_name, tbl_name, part_vals);
return recv_append_partition();
}
public void send_append_partition(String db_name, String tbl_name, List part_vals) throws org.apache.thrift.TException
{
append_partition_args args = new append_partition_args();
args.setDb_name(db_name);
args.setTbl_name(tbl_name);
args.setPart_vals(part_vals);
sendBase("append_partition", args);
}
public Partition recv_append_partition() throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException
{
append_partition_result result = new append_partition_result();
receiveBase(result, "append_partition");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
if (result.o3 != null) {
throw result.o3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "append_partition failed: unknown result");
}
public AddPartitionsResult add_partitions_req(AddPartitionsRequest request) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException
{
send_add_partitions_req(request);
return recv_add_partitions_req();
}
public void send_add_partitions_req(AddPartitionsRequest request) throws org.apache.thrift.TException
{
add_partitions_req_args args = new add_partitions_req_args();
args.setRequest(request);
sendBase("add_partitions_req", args);
}
public AddPartitionsResult recv_add_partitions_req() throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException
{
add_partitions_req_result result = new add_partitions_req_result();
receiveBase(result, "add_partitions_req");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
if (result.o3 != null) {
throw result.o3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "add_partitions_req failed: unknown result");
}
public Partition append_partition_with_environment_context(String db_name, String tbl_name, List part_vals, EnvironmentContext environment_context) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException
{
send_append_partition_with_environment_context(db_name, tbl_name, part_vals, environment_context);
return recv_append_partition_with_environment_context();
}
public void send_append_partition_with_environment_context(String db_name, String tbl_name, List part_vals, EnvironmentContext environment_context) throws org.apache.thrift.TException
{
append_partition_with_environment_context_args args = new append_partition_with_environment_context_args();
args.setDb_name(db_name);
args.setTbl_name(tbl_name);
args.setPart_vals(part_vals);
args.setEnvironment_context(environment_context);
sendBase("append_partition_with_environment_context", args);
}
public Partition recv_append_partition_with_environment_context() throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException
{
append_partition_with_environment_context_result result = new append_partition_with_environment_context_result();
receiveBase(result, "append_partition_with_environment_context");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
if (result.o3 != null) {
throw result.o3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "append_partition_with_environment_context failed: unknown result");
}
public Partition append_partition_by_name(String db_name, String tbl_name, String part_name) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException
{
send_append_partition_by_name(db_name, tbl_name, part_name);
return recv_append_partition_by_name();
}
public void send_append_partition_by_name(String db_name, String tbl_name, String part_name) throws org.apache.thrift.TException
{
append_partition_by_name_args args = new append_partition_by_name_args();
args.setDb_name(db_name);
args.setTbl_name(tbl_name);
args.setPart_name(part_name);
sendBase("append_partition_by_name", args);
}
public Partition recv_append_partition_by_name() throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException
{
append_partition_by_name_result result = new append_partition_by_name_result();
receiveBase(result, "append_partition_by_name");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
if (result.o3 != null) {
throw result.o3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "append_partition_by_name failed: unknown result");
}
public Partition append_partition_by_name_with_environment_context(String db_name, String tbl_name, String part_name, EnvironmentContext environment_context) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException
{
send_append_partition_by_name_with_environment_context(db_name, tbl_name, part_name, environment_context);
return recv_append_partition_by_name_with_environment_context();
}
public void send_append_partition_by_name_with_environment_context(String db_name, String tbl_name, String part_name, EnvironmentContext environment_context) throws org.apache.thrift.TException
{
append_partition_by_name_with_environment_context_args args = new append_partition_by_name_with_environment_context_args();
args.setDb_name(db_name);
args.setTbl_name(tbl_name);
args.setPart_name(part_name);
args.setEnvironment_context(environment_context);
sendBase("append_partition_by_name_with_environment_context", args);
}
public Partition recv_append_partition_by_name_with_environment_context() throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException
{
append_partition_by_name_with_environment_context_result result = new append_partition_by_name_with_environment_context_result();
receiveBase(result, "append_partition_by_name_with_environment_context");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
if (result.o3 != null) {
throw result.o3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "append_partition_by_name_with_environment_context failed: unknown result");
}
public boolean drop_partition(String db_name, String tbl_name, List part_vals, boolean deleteData) throws NoSuchObjectException, MetaException, org.apache.thrift.TException
{
send_drop_partition(db_name, tbl_name, part_vals, deleteData);
return recv_drop_partition();
}
public void send_drop_partition(String db_name, String tbl_name, List part_vals, boolean deleteData) throws org.apache.thrift.TException
{
drop_partition_args args = new drop_partition_args();
args.setDb_name(db_name);
args.setTbl_name(tbl_name);
args.setPart_vals(part_vals);
args.setDeleteData(deleteData);
sendBase("drop_partition", args);
}
public boolean recv_drop_partition() throws NoSuchObjectException, MetaException, org.apache.thrift.TException
{
drop_partition_result result = new drop_partition_result();
receiveBase(result, "drop_partition");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "drop_partition failed: unknown result");
}
public boolean drop_partition_with_environment_context(String db_name, String tbl_name, List part_vals, boolean deleteData, EnvironmentContext environment_context) throws NoSuchObjectException, MetaException, org.apache.thrift.TException
{
send_drop_partition_with_environment_context(db_name, tbl_name, part_vals, deleteData, environment_context);
return recv_drop_partition_with_environment_context();
}
public void send_drop_partition_with_environment_context(String db_name, String tbl_name, List part_vals, boolean deleteData, EnvironmentContext environment_context) throws org.apache.thrift.TException
{
drop_partition_with_environment_context_args args = new drop_partition_with_environment_context_args();
args.setDb_name(db_name);
args.setTbl_name(tbl_name);
args.setPart_vals(part_vals);
args.setDeleteData(deleteData);
args.setEnvironment_context(environment_context);
sendBase("drop_partition_with_environment_context", args);
}
public boolean recv_drop_partition_with_environment_context() throws NoSuchObjectException, MetaException, org.apache.thrift.TException
{
drop_partition_with_environment_context_result result = new drop_partition_with_environment_context_result();
receiveBase(result, "drop_partition_with_environment_context");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "drop_partition_with_environment_context failed: unknown result");
}
public boolean drop_partition_by_name(String db_name, String tbl_name, String part_name, boolean deleteData) throws NoSuchObjectException, MetaException, org.apache.thrift.TException
{
send_drop_partition_by_name(db_name, tbl_name, part_name, deleteData);
return recv_drop_partition_by_name();
}
public void send_drop_partition_by_name(String db_name, String tbl_name, String part_name, boolean deleteData) throws org.apache.thrift.TException
{
drop_partition_by_name_args args = new drop_partition_by_name_args();
args.setDb_name(db_name);
args.setTbl_name(tbl_name);
args.setPart_name(part_name);
args.setDeleteData(deleteData);
sendBase("drop_partition_by_name", args);
}
public boolean recv_drop_partition_by_name() throws NoSuchObjectException, MetaException, org.apache.thrift.TException
{
drop_partition_by_name_result result = new drop_partition_by_name_result();
receiveBase(result, "drop_partition_by_name");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "drop_partition_by_name failed: unknown result");
}
public boolean drop_partition_by_name_with_environment_context(String db_name, String tbl_name, String part_name, boolean deleteData, EnvironmentContext environment_context) throws NoSuchObjectException, MetaException, org.apache.thrift.TException
{
send_drop_partition_by_name_with_environment_context(db_name, tbl_name, part_name, deleteData, environment_context);
return recv_drop_partition_by_name_with_environment_context();
}
public void send_drop_partition_by_name_with_environment_context(String db_name, String tbl_name, String part_name, boolean deleteData, EnvironmentContext environment_context) throws org.apache.thrift.TException
{
drop_partition_by_name_with_environment_context_args args = new drop_partition_by_name_with_environment_context_args();
args.setDb_name(db_name);
args.setTbl_name(tbl_name);
args.setPart_name(part_name);
args.setDeleteData(deleteData);
args.setEnvironment_context(environment_context);
sendBase("drop_partition_by_name_with_environment_context", args);
}
public boolean recv_drop_partition_by_name_with_environment_context() throws NoSuchObjectException, MetaException, org.apache.thrift.TException
{
drop_partition_by_name_with_environment_context_result result = new drop_partition_by_name_with_environment_context_result();
receiveBase(result, "drop_partition_by_name_with_environment_context");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "drop_partition_by_name_with_environment_context failed: unknown result");
}
public DropPartitionsResult drop_partitions_req(DropPartitionsRequest req) throws NoSuchObjectException, MetaException, org.apache.thrift.TException
{
send_drop_partitions_req(req);
return recv_drop_partitions_req();
}
public void send_drop_partitions_req(DropPartitionsRequest req) throws org.apache.thrift.TException
{
drop_partitions_req_args args = new drop_partitions_req_args();
args.setReq(req);
sendBase("drop_partitions_req", args);
}
public DropPartitionsResult recv_drop_partitions_req() throws NoSuchObjectException, MetaException, org.apache.thrift.TException
{
drop_partitions_req_result result = new drop_partitions_req_result();
receiveBase(result, "drop_partitions_req");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "drop_partitions_req failed: unknown result");
}
public Partition get_partition(String db_name, String tbl_name, List part_vals) throws MetaException, NoSuchObjectException, org.apache.thrift.TException
{
send_get_partition(db_name, tbl_name, part_vals);
return recv_get_partition();
}
public void send_get_partition(String db_name, String tbl_name, List part_vals) throws org.apache.thrift.TException
{
get_partition_args args = new get_partition_args();
args.setDb_name(db_name);
args.setTbl_name(tbl_name);
args.setPart_vals(part_vals);
sendBase("get_partition", args);
}
public Partition recv_get_partition() throws MetaException, NoSuchObjectException, org.apache.thrift.TException
{
get_partition_result result = new get_partition_result();
receiveBase(result, "get_partition");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_partition failed: unknown result");
}
public Partition exchange_partition(Map partitionSpecs, String source_db, String source_table_name, String dest_db, String dest_table_name) throws MetaException, NoSuchObjectException, InvalidObjectException, InvalidInputException, org.apache.thrift.TException
{
send_exchange_partition(partitionSpecs, source_db, source_table_name, dest_db, dest_table_name);
return recv_exchange_partition();
}
public void send_exchange_partition(Map partitionSpecs, String source_db, String source_table_name, String dest_db, String dest_table_name) throws org.apache.thrift.TException
{
exchange_partition_args args = new exchange_partition_args();
args.setPartitionSpecs(partitionSpecs);
args.setSource_db(source_db);
args.setSource_table_name(source_table_name);
args.setDest_db(dest_db);
args.setDest_table_name(dest_table_name);
sendBase("exchange_partition", args);
}
public Partition recv_exchange_partition() throws MetaException, NoSuchObjectException, InvalidObjectException, InvalidInputException, org.apache.thrift.TException
{
exchange_partition_result result = new exchange_partition_result();
receiveBase(result, "exchange_partition");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
if (result.o3 != null) {
throw result.o3;
}
if (result.o4 != null) {
throw result.o4;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "exchange_partition failed: unknown result");
}
public Partition get_partition_with_auth(String db_name, String tbl_name, List part_vals, String user_name, List group_names) throws MetaException, NoSuchObjectException, org.apache.thrift.TException
{
send_get_partition_with_auth(db_name, tbl_name, part_vals, user_name, group_names);
return recv_get_partition_with_auth();
}
public void send_get_partition_with_auth(String db_name, String tbl_name, List part_vals, String user_name, List group_names) throws org.apache.thrift.TException
{
get_partition_with_auth_args args = new get_partition_with_auth_args();
args.setDb_name(db_name);
args.setTbl_name(tbl_name);
args.setPart_vals(part_vals);
args.setUser_name(user_name);
args.setGroup_names(group_names);
sendBase("get_partition_with_auth", args);
}
public Partition recv_get_partition_with_auth() throws MetaException, NoSuchObjectException, org.apache.thrift.TException
{
get_partition_with_auth_result result = new get_partition_with_auth_result();
receiveBase(result, "get_partition_with_auth");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_partition_with_auth failed: unknown result");
}
public Partition get_partition_by_name(String db_name, String tbl_name, String part_name) throws MetaException, NoSuchObjectException, org.apache.thrift.TException
{
send_get_partition_by_name(db_name, tbl_name, part_name);
return recv_get_partition_by_name();
}
public void send_get_partition_by_name(String db_name, String tbl_name, String part_name) throws org.apache.thrift.TException
{
get_partition_by_name_args args = new get_partition_by_name_args();
args.setDb_name(db_name);
args.setTbl_name(tbl_name);
args.setPart_name(part_name);
sendBase("get_partition_by_name", args);
}
public Partition recv_get_partition_by_name() throws MetaException, NoSuchObjectException, org.apache.thrift.TException
{
get_partition_by_name_result result = new get_partition_by_name_result();
receiveBase(result, "get_partition_by_name");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_partition_by_name failed: unknown result");
}
public List get_partitions(String db_name, String tbl_name, short max_parts) throws NoSuchObjectException, MetaException, org.apache.thrift.TException
{
send_get_partitions(db_name, tbl_name, max_parts);
return recv_get_partitions();
}
public void send_get_partitions(String db_name, String tbl_name, short max_parts) throws org.apache.thrift.TException
{
get_partitions_args args = new get_partitions_args();
args.setDb_name(db_name);
args.setTbl_name(tbl_name);
args.setMax_parts(max_parts);
sendBase("get_partitions", args);
}
public List recv_get_partitions() throws NoSuchObjectException, MetaException, org.apache.thrift.TException
{
get_partitions_result result = new get_partitions_result();
receiveBase(result, "get_partitions");
if (result.isSetSuccess()) {
return result.success;
}
if (result.o1 != null) {
throw result.o1;
}
if (result.o2 != null) {
throw result.o2;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_partitions failed: unknown result");
}
public List get_partitions_with_auth(String db_name, String tbl_name, short max_parts, String user_name, List group_names) throws NoSuchObjectException, MetaException, org.apache.thrift.TException
{
send_get_partitions_with_auth(db_name, tbl_name, max_parts, user_name, group_names);
return recv_get_partitions_with_auth();
}
public void send_get_partitions_with_auth(String db_name, String tbl_name, short max_parts, String user_name, List group_names) throws org.apache.thrift.TException
{
get_partitions_with_auth_args args = new get_partitions_with_auth_args();
args.setDb_name(db_name);
args.setTbl_name(tbl_name);
args.setMax_parts(max_parts);
args.setUser_name(user_name);
args.setGroup_names(group_names);
sendBase("get_partitions_with_auth", args);
}
public List