lib/impala/protocol/thrift_hive_metastore.rb in impala-0.1.6 vs lib/impala/protocol/thrift_hive_metastore.rb in impala-0.2.0
- old
+ new
@@ -1,7 +1,7 @@
#
-# Autogenerated by Thrift Compiler (0.8.0)
+# Autogenerated by Thrift Compiler (0.9.1)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
require 'thrift'
@@ -10,11 +10,11 @@
module Impala
module Protocol
module HiveMetastore
module ThriftHiveMetastore
- class Client < Impala::Protocol::Fb303::FacebookService::Client
+ class Client < ::Impala::Protocol::Fb303::FacebookService::Client
include ::Thrift::Client
def create_database(database)
send_create_database(database)
recv_create_database()
@@ -1158,894 +1158,894 @@
return
end
end
- class Processor < Impala::Protocol::Fb303::FacebookService::Processor
+ class Processor < ::Impala::Protocol::Fb303::FacebookService::Processor
include ::Thrift::Processor
def process_create_database(seqid, iprot, oprot)
args = read_args(iprot, Create_database_args)
result = Create_database_result.new()
begin
@handler.create_database(args.database)
- rescue Impala::Protocol::HiveMetastore::AlreadyExistsException => o1
+ rescue ::Impala::Protocol::HiveMetastore::AlreadyExistsException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::InvalidObjectException => o2
+ rescue ::Impala::Protocol::HiveMetastore::InvalidObjectException => o2
result.o2 = o2
- rescue Impala::Protocol::HiveMetastore::MetaException => o3
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o3
result.o3 = o3
end
write_result(result, oprot, 'create_database', seqid)
end
def process_get_database(seqid, iprot, oprot)
args = read_args(iprot, Get_database_args)
result = Get_database_result.new()
begin
result.success = @handler.get_database(args.name)
- rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
+ rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::MetaException => o2
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
result.o2 = o2
end
write_result(result, oprot, 'get_database', seqid)
end
def process_drop_database(seqid, iprot, oprot)
args = read_args(iprot, Drop_database_args)
result = Drop_database_result.new()
begin
@handler.drop_database(args.name, args.deleteData, args.cascade)
- rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
+ rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::InvalidOperationException => o2
+ rescue ::Impala::Protocol::HiveMetastore::InvalidOperationException => o2
result.o2 = o2
- rescue Impala::Protocol::HiveMetastore::MetaException => o3
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o3
result.o3 = o3
end
write_result(result, oprot, 'drop_database', seqid)
end
def process_get_databases(seqid, iprot, oprot)
args = read_args(iprot, Get_databases_args)
result = Get_databases_result.new()
begin
result.success = @handler.get_databases(args.pattern)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
end
write_result(result, oprot, 'get_databases', seqid)
end
def process_get_all_databases(seqid, iprot, oprot)
args = read_args(iprot, Get_all_databases_args)
result = Get_all_databases_result.new()
begin
result.success = @handler.get_all_databases()
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
end
write_result(result, oprot, 'get_all_databases', seqid)
end
def process_alter_database(seqid, iprot, oprot)
args = read_args(iprot, Alter_database_args)
result = Alter_database_result.new()
begin
@handler.alter_database(args.dbname, args.db)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
+ rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
result.o2 = o2
end
write_result(result, oprot, 'alter_database', seqid)
end
def process_get_type(seqid, iprot, oprot)
args = read_args(iprot, Get_type_args)
result = Get_type_result.new()
begin
result.success = @handler.get_type(args.name)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
+ rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
result.o2 = o2
end
write_result(result, oprot, 'get_type', seqid)
end
def process_create_type(seqid, iprot, oprot)
args = read_args(iprot, Create_type_args)
result = Create_type_result.new()
begin
result.success = @handler.create_type(args.type)
- rescue Impala::Protocol::HiveMetastore::AlreadyExistsException => o1
+ rescue ::Impala::Protocol::HiveMetastore::AlreadyExistsException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::InvalidObjectException => o2
+ rescue ::Impala::Protocol::HiveMetastore::InvalidObjectException => o2
result.o2 = o2
- rescue Impala::Protocol::HiveMetastore::MetaException => o3
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o3
result.o3 = o3
end
write_result(result, oprot, 'create_type', seqid)
end
def process_drop_type(seqid, iprot, oprot)
args = read_args(iprot, Drop_type_args)
result = Drop_type_result.new()
begin
result.success = @handler.drop_type(args.type)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
+ rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
result.o2 = o2
end
write_result(result, oprot, 'drop_type', seqid)
end
def process_get_type_all(seqid, iprot, oprot)
args = read_args(iprot, Get_type_all_args)
result = Get_type_all_result.new()
begin
result.success = @handler.get_type_all(args.name)
- rescue Impala::Protocol::HiveMetastore::MetaException => o2
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
result.o2 = o2
end
write_result(result, oprot, 'get_type_all', seqid)
end
def process_get_fields(seqid, iprot, oprot)
args = read_args(iprot, Get_fields_args)
result = Get_fields_result.new()
begin
result.success = @handler.get_fields(args.db_name, args.table_name)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::UnknownTableException => o2
+ rescue ::Impala::Protocol::HiveMetastore::UnknownTableException => o2
result.o2 = o2
- rescue Impala::Protocol::HiveMetastore::UnknownDBException => o3
+ rescue ::Impala::Protocol::HiveMetastore::UnknownDBException => o3
result.o3 = o3
end
write_result(result, oprot, 'get_fields', seqid)
end
def process_get_schema(seqid, iprot, oprot)
args = read_args(iprot, Get_schema_args)
result = Get_schema_result.new()
begin
result.success = @handler.get_schema(args.db_name, args.table_name)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::UnknownTableException => o2
+ rescue ::Impala::Protocol::HiveMetastore::UnknownTableException => o2
result.o2 = o2
- rescue Impala::Protocol::HiveMetastore::UnknownDBException => o3
+ rescue ::Impala::Protocol::HiveMetastore::UnknownDBException => o3
result.o3 = o3
end
write_result(result, oprot, 'get_schema', seqid)
end
def process_create_table(seqid, iprot, oprot)
args = read_args(iprot, Create_table_args)
result = Create_table_result.new()
begin
@handler.create_table(args.tbl)
- rescue Impala::Protocol::HiveMetastore::AlreadyExistsException => o1
+ rescue ::Impala::Protocol::HiveMetastore::AlreadyExistsException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::InvalidObjectException => o2
+ rescue ::Impala::Protocol::HiveMetastore::InvalidObjectException => o2
result.o2 = o2
- rescue Impala::Protocol::HiveMetastore::MetaException => o3
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o3
result.o3 = o3
- rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o4
+ rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o4
result.o4 = o4
end
write_result(result, oprot, 'create_table', seqid)
end
def process_create_table_with_environment_context(seqid, iprot, oprot)
args = read_args(iprot, Create_table_with_environment_context_args)
result = Create_table_with_environment_context_result.new()
begin
@handler.create_table_with_environment_context(args.tbl, args.environment_context)
- rescue Impala::Protocol::HiveMetastore::AlreadyExistsException => o1
+ rescue ::Impala::Protocol::HiveMetastore::AlreadyExistsException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::InvalidObjectException => o2
+ rescue ::Impala::Protocol::HiveMetastore::InvalidObjectException => o2
result.o2 = o2
- rescue Impala::Protocol::HiveMetastore::MetaException => o3
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o3
result.o3 = o3
- rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o4
+ rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o4
result.o4 = o4
end
write_result(result, oprot, 'create_table_with_environment_context', seqid)
end
def process_drop_table(seqid, iprot, oprot)
args = read_args(iprot, Drop_table_args)
result = Drop_table_result.new()
begin
@handler.drop_table(args.dbname, args.name, args.deleteData)
- rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
+ rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::MetaException => o3
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o3
result.o3 = o3
end
write_result(result, oprot, 'drop_table', seqid)
end
def process_get_tables(seqid, iprot, oprot)
args = read_args(iprot, Get_tables_args)
result = Get_tables_result.new()
begin
result.success = @handler.get_tables(args.db_name, args.pattern)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
end
write_result(result, oprot, 'get_tables', seqid)
end
def process_get_all_tables(seqid, iprot, oprot)
args = read_args(iprot, Get_all_tables_args)
result = Get_all_tables_result.new()
begin
result.success = @handler.get_all_tables(args.db_name)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
end
write_result(result, oprot, 'get_all_tables', seqid)
end
def process_get_table(seqid, iprot, oprot)
args = read_args(iprot, Get_table_args)
result = Get_table_result.new()
begin
result.success = @handler.get_table(args.dbname, args.tbl_name)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
+ rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
result.o2 = o2
end
write_result(result, oprot, 'get_table', seqid)
end
def process_get_table_objects_by_name(seqid, iprot, oprot)
args = read_args(iprot, Get_table_objects_by_name_args)
result = Get_table_objects_by_name_result.new()
begin
result.success = @handler.get_table_objects_by_name(args.dbname, args.tbl_names)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::InvalidOperationException => o2
+ rescue ::Impala::Protocol::HiveMetastore::InvalidOperationException => o2
result.o2 = o2
- rescue Impala::Protocol::HiveMetastore::UnknownDBException => o3
+ rescue ::Impala::Protocol::HiveMetastore::UnknownDBException => o3
result.o3 = o3
end
write_result(result, oprot, 'get_table_objects_by_name', seqid)
end
def process_get_table_names_by_filter(seqid, iprot, oprot)
args = read_args(iprot, Get_table_names_by_filter_args)
result = Get_table_names_by_filter_result.new()
begin
result.success = @handler.get_table_names_by_filter(args.dbname, args.filter, args.max_tables)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::InvalidOperationException => o2
+ rescue ::Impala::Protocol::HiveMetastore::InvalidOperationException => o2
result.o2 = o2
- rescue Impala::Protocol::HiveMetastore::UnknownDBException => o3
+ rescue ::Impala::Protocol::HiveMetastore::UnknownDBException => o3
result.o3 = o3
end
write_result(result, oprot, 'get_table_names_by_filter', seqid)
end
def process_alter_table(seqid, iprot, oprot)
args = read_args(iprot, Alter_table_args)
result = Alter_table_result.new()
begin
@handler.alter_table(args.dbname, args.tbl_name, args.new_tbl)
- rescue Impala::Protocol::HiveMetastore::InvalidOperationException => o1
+ rescue ::Impala::Protocol::HiveMetastore::InvalidOperationException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::MetaException => o2
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
result.o2 = o2
end
write_result(result, oprot, 'alter_table', seqid)
end
def process_alter_table_with_environment_context(seqid, iprot, oprot)
args = read_args(iprot, Alter_table_with_environment_context_args)
result = Alter_table_with_environment_context_result.new()
begin
@handler.alter_table_with_environment_context(args.dbname, args.tbl_name, args.new_tbl, args.environment_context)
- rescue Impala::Protocol::HiveMetastore::InvalidOperationException => o1
+ rescue ::Impala::Protocol::HiveMetastore::InvalidOperationException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::MetaException => o2
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
result.o2 = o2
end
write_result(result, oprot, 'alter_table_with_environment_context', seqid)
end
def process_add_partition(seqid, iprot, oprot)
args = read_args(iprot, Add_partition_args)
result = Add_partition_result.new()
begin
result.success = @handler.add_partition(args.new_part)
- rescue Impala::Protocol::HiveMetastore::InvalidObjectException => o1
+ rescue ::Impala::Protocol::HiveMetastore::InvalidObjectException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::AlreadyExistsException => o2
+ rescue ::Impala::Protocol::HiveMetastore::AlreadyExistsException => o2
result.o2 = o2
- rescue Impala::Protocol::HiveMetastore::MetaException => o3
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o3
result.o3 = o3
end
write_result(result, oprot, 'add_partition', seqid)
end
def process_add_partition_with_environment_context(seqid, iprot, oprot)
args = read_args(iprot, Add_partition_with_environment_context_args)
result = Add_partition_with_environment_context_result.new()
begin
result.success = @handler.add_partition_with_environment_context(args.new_part, args.environment_context)
- rescue Impala::Protocol::HiveMetastore::InvalidObjectException => o1
+ rescue ::Impala::Protocol::HiveMetastore::InvalidObjectException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::AlreadyExistsException => o2
+ rescue ::Impala::Protocol::HiveMetastore::AlreadyExistsException => o2
result.o2 = o2
- rescue Impala::Protocol::HiveMetastore::MetaException => o3
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o3
result.o3 = o3
end
write_result(result, oprot, 'add_partition_with_environment_context', seqid)
end
def process_add_partitions(seqid, iprot, oprot)
args = read_args(iprot, Add_partitions_args)
result = Add_partitions_result.new()
begin
result.success = @handler.add_partitions(args.new_parts)
- rescue Impala::Protocol::HiveMetastore::InvalidObjectException => o1
+ rescue ::Impala::Protocol::HiveMetastore::InvalidObjectException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::AlreadyExistsException => o2
+ rescue ::Impala::Protocol::HiveMetastore::AlreadyExistsException => o2
result.o2 = o2
- rescue Impala::Protocol::HiveMetastore::MetaException => o3
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o3
result.o3 = o3
end
write_result(result, oprot, 'add_partitions', seqid)
end
def process_append_partition(seqid, iprot, oprot)
args = read_args(iprot, Append_partition_args)
result = Append_partition_result.new()
begin
result.success = @handler.append_partition(args.db_name, args.tbl_name, args.part_vals)
- rescue Impala::Protocol::HiveMetastore::InvalidObjectException => o1
+ rescue ::Impala::Protocol::HiveMetastore::InvalidObjectException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::AlreadyExistsException => o2
+ rescue ::Impala::Protocol::HiveMetastore::AlreadyExistsException => o2
result.o2 = o2
- rescue Impala::Protocol::HiveMetastore::MetaException => o3
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o3
result.o3 = o3
end
write_result(result, oprot, 'append_partition', seqid)
end
def process_append_partition_by_name(seqid, iprot, oprot)
args = read_args(iprot, Append_partition_by_name_args)
result = Append_partition_by_name_result.new()
begin
result.success = @handler.append_partition_by_name(args.db_name, args.tbl_name, args.part_name)
- rescue Impala::Protocol::HiveMetastore::InvalidObjectException => o1
+ rescue ::Impala::Protocol::HiveMetastore::InvalidObjectException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::AlreadyExistsException => o2
+ rescue ::Impala::Protocol::HiveMetastore::AlreadyExistsException => o2
result.o2 = o2
- rescue Impala::Protocol::HiveMetastore::MetaException => o3
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o3
result.o3 = o3
end
write_result(result, oprot, 'append_partition_by_name', seqid)
end
def process_drop_partition(seqid, iprot, oprot)
args = read_args(iprot, Drop_partition_args)
result = Drop_partition_result.new()
begin
result.success = @handler.drop_partition(args.db_name, args.tbl_name, args.part_vals, args.deleteData)
- rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
+ rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::MetaException => o2
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
result.o2 = o2
end
write_result(result, oprot, 'drop_partition', seqid)
end
def process_drop_partition_by_name(seqid, iprot, oprot)
args = read_args(iprot, Drop_partition_by_name_args)
result = Drop_partition_by_name_result.new()
begin
result.success = @handler.drop_partition_by_name(args.db_name, args.tbl_name, args.part_name, args.deleteData)
- rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
+ rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::MetaException => o2
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
result.o2 = o2
end
write_result(result, oprot, 'drop_partition_by_name', seqid)
end
def process_get_partition(seqid, iprot, oprot)
args = read_args(iprot, Get_partition_args)
result = Get_partition_result.new()
begin
result.success = @handler.get_partition(args.db_name, args.tbl_name, args.part_vals)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
+ rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
result.o2 = o2
end
write_result(result, oprot, 'get_partition', seqid)
end
def process_get_partition_with_auth(seqid, iprot, oprot)
args = read_args(iprot, Get_partition_with_auth_args)
result = Get_partition_with_auth_result.new()
begin
result.success = @handler.get_partition_with_auth(args.db_name, args.tbl_name, args.part_vals, args.user_name, args.group_names)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
+ rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
result.o2 = o2
end
write_result(result, oprot, 'get_partition_with_auth', seqid)
end
def process_get_partition_by_name(seqid, iprot, oprot)
args = read_args(iprot, Get_partition_by_name_args)
result = Get_partition_by_name_result.new()
begin
result.success = @handler.get_partition_by_name(args.db_name, args.tbl_name, args.part_name)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
+ rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
result.o2 = o2
end
write_result(result, oprot, 'get_partition_by_name', seqid)
end
def process_get_partitions(seqid, iprot, oprot)
args = read_args(iprot, Get_partitions_args)
result = Get_partitions_result.new()
begin
result.success = @handler.get_partitions(args.db_name, args.tbl_name, args.max_parts)
- rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
+ rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::MetaException => o2
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
result.o2 = o2
end
write_result(result, oprot, 'get_partitions', seqid)
end
def process_get_partitions_with_auth(seqid, iprot, oprot)
args = read_args(iprot, Get_partitions_with_auth_args)
result = Get_partitions_with_auth_result.new()
begin
result.success = @handler.get_partitions_with_auth(args.db_name, args.tbl_name, args.max_parts, args.user_name, args.group_names)
- rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
+ rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::MetaException => o2
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
result.o2 = o2
end
write_result(result, oprot, 'get_partitions_with_auth', seqid)
end
def process_get_partition_names(seqid, iprot, oprot)
args = read_args(iprot, Get_partition_names_args)
result = Get_partition_names_result.new()
begin
result.success = @handler.get_partition_names(args.db_name, args.tbl_name, args.max_parts)
- rescue Impala::Protocol::HiveMetastore::MetaException => o2
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
result.o2 = o2
end
write_result(result, oprot, 'get_partition_names', seqid)
end
def process_get_partitions_ps(seqid, iprot, oprot)
args = read_args(iprot, Get_partitions_ps_args)
result = Get_partitions_ps_result.new()
begin
result.success = @handler.get_partitions_ps(args.db_name, args.tbl_name, args.part_vals, args.max_parts)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
+ rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
result.o2 = o2
end
write_result(result, oprot, 'get_partitions_ps', seqid)
end
def process_get_partitions_ps_with_auth(seqid, iprot, oprot)
args = read_args(iprot, Get_partitions_ps_with_auth_args)
result = Get_partitions_ps_with_auth_result.new()
begin
result.success = @handler.get_partitions_ps_with_auth(args.db_name, args.tbl_name, args.part_vals, args.max_parts, args.user_name, args.group_names)
- rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
+ rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::MetaException => o2
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
result.o2 = o2
end
write_result(result, oprot, 'get_partitions_ps_with_auth', seqid)
end
def process_get_partition_names_ps(seqid, iprot, oprot)
args = read_args(iprot, Get_partition_names_ps_args)
result = Get_partition_names_ps_result.new()
begin
result.success = @handler.get_partition_names_ps(args.db_name, args.tbl_name, args.part_vals, args.max_parts)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
+ rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
result.o2 = o2
end
write_result(result, oprot, 'get_partition_names_ps', seqid)
end
def process_get_partitions_by_filter(seqid, iprot, oprot)
args = read_args(iprot, Get_partitions_by_filter_args)
result = Get_partitions_by_filter_result.new()
begin
result.success = @handler.get_partitions_by_filter(args.db_name, args.tbl_name, args.filter, args.max_parts)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
+ rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
result.o2 = o2
end
write_result(result, oprot, 'get_partitions_by_filter', seqid)
end
def process_get_partitions_by_names(seqid, iprot, oprot)
args = read_args(iprot, Get_partitions_by_names_args)
result = Get_partitions_by_names_result.new()
begin
result.success = @handler.get_partitions_by_names(args.db_name, args.tbl_name, args.names)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
+ rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
result.o2 = o2
end
write_result(result, oprot, 'get_partitions_by_names', seqid)
end
def process_alter_partition(seqid, iprot, oprot)
args = read_args(iprot, Alter_partition_args)
result = Alter_partition_result.new()
begin
@handler.alter_partition(args.db_name, args.tbl_name, args.new_part)
- rescue Impala::Protocol::HiveMetastore::InvalidOperationException => o1
+ rescue ::Impala::Protocol::HiveMetastore::InvalidOperationException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::MetaException => o2
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
result.o2 = o2
end
write_result(result, oprot, 'alter_partition', seqid)
end
def process_alter_partition_with_environment_context(seqid, iprot, oprot)
args = read_args(iprot, Alter_partition_with_environment_context_args)
result = Alter_partition_with_environment_context_result.new()
begin
@handler.alter_partition_with_environment_context(args.db_name, args.tbl_name, args.new_part, args.environment_context)
- rescue Impala::Protocol::HiveMetastore::InvalidOperationException => o1
+ rescue ::Impala::Protocol::HiveMetastore::InvalidOperationException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::MetaException => o2
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
result.o2 = o2
end
write_result(result, oprot, 'alter_partition_with_environment_context', seqid)
end
def process_rename_partition(seqid, iprot, oprot)
args = read_args(iprot, Rename_partition_args)
result = Rename_partition_result.new()
begin
@handler.rename_partition(args.db_name, args.tbl_name, args.part_vals, args.new_part)
- rescue Impala::Protocol::HiveMetastore::InvalidOperationException => o1
+ rescue ::Impala::Protocol::HiveMetastore::InvalidOperationException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::MetaException => o2
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
result.o2 = o2
end
write_result(result, oprot, 'rename_partition', seqid)
end
def process_get_config_value(seqid, iprot, oprot)
args = read_args(iprot, Get_config_value_args)
result = Get_config_value_result.new()
begin
result.success = @handler.get_config_value(args.name, args.defaultValue)
- rescue Impala::Protocol::HiveMetastore::ConfigValSecurityException => o1
+ rescue ::Impala::Protocol::HiveMetastore::ConfigValSecurityException => o1
result.o1 = o1
end
write_result(result, oprot, 'get_config_value', seqid)
end
def process_partition_name_to_vals(seqid, iprot, oprot)
args = read_args(iprot, Partition_name_to_vals_args)
result = Partition_name_to_vals_result.new()
begin
result.success = @handler.partition_name_to_vals(args.part_name)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
end
write_result(result, oprot, 'partition_name_to_vals', seqid)
end
def process_partition_name_to_spec(seqid, iprot, oprot)
args = read_args(iprot, Partition_name_to_spec_args)
result = Partition_name_to_spec_result.new()
begin
result.success = @handler.partition_name_to_spec(args.part_name)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
end
write_result(result, oprot, 'partition_name_to_spec', seqid)
end
def process_markPartitionForEvent(seqid, iprot, oprot)
args = read_args(iprot, MarkPartitionForEvent_args)
result = MarkPartitionForEvent_result.new()
begin
@handler.markPartitionForEvent(args.db_name, args.tbl_name, args.part_vals, args.eventType)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
+ rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
result.o2 = o2
- rescue Impala::Protocol::HiveMetastore::UnknownDBException => o3
+ rescue ::Impala::Protocol::HiveMetastore::UnknownDBException => o3
result.o3 = o3
- rescue Impala::Protocol::HiveMetastore::UnknownTableException => o4
+ rescue ::Impala::Protocol::HiveMetastore::UnknownTableException => o4
result.o4 = o4
- rescue Impala::Protocol::HiveMetastore::UnknownPartitionException => o5
+ rescue ::Impala::Protocol::HiveMetastore::UnknownPartitionException => o5
result.o5 = o5
- rescue Impala::Protocol::HiveMetastore::InvalidPartitionException => o6
+ rescue ::Impala::Protocol::HiveMetastore::InvalidPartitionException => o6
result.o6 = o6
end
write_result(result, oprot, 'markPartitionForEvent', seqid)
end
def process_isPartitionMarkedForEvent(seqid, iprot, oprot)
args = read_args(iprot, IsPartitionMarkedForEvent_args)
result = IsPartitionMarkedForEvent_result.new()
begin
result.success = @handler.isPartitionMarkedForEvent(args.db_name, args.tbl_name, args.part_vals, args.eventType)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
+ rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
result.o2 = o2
- rescue Impala::Protocol::HiveMetastore::UnknownDBException => o3
+ rescue ::Impala::Protocol::HiveMetastore::UnknownDBException => o3
result.o3 = o3
- rescue Impala::Protocol::HiveMetastore::UnknownTableException => o4
+ rescue ::Impala::Protocol::HiveMetastore::UnknownTableException => o4
result.o4 = o4
- rescue Impala::Protocol::HiveMetastore::UnknownPartitionException => o5
+ rescue ::Impala::Protocol::HiveMetastore::UnknownPartitionException => o5
result.o5 = o5
- rescue Impala::Protocol::HiveMetastore::InvalidPartitionException => o6
+ rescue ::Impala::Protocol::HiveMetastore::InvalidPartitionException => o6
result.o6 = o6
end
write_result(result, oprot, 'isPartitionMarkedForEvent', seqid)
end
def process_add_index(seqid, iprot, oprot)
args = read_args(iprot, Add_index_args)
result = Add_index_result.new()
begin
result.success = @handler.add_index(args.new_index, args.index_table)
- rescue Impala::Protocol::HiveMetastore::InvalidObjectException => o1
+ rescue ::Impala::Protocol::HiveMetastore::InvalidObjectException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::AlreadyExistsException => o2
+ rescue ::Impala::Protocol::HiveMetastore::AlreadyExistsException => o2
result.o2 = o2
- rescue Impala::Protocol::HiveMetastore::MetaException => o3
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o3
result.o3 = o3
end
write_result(result, oprot, 'add_index', seqid)
end
def process_alter_index(seqid, iprot, oprot)
args = read_args(iprot, Alter_index_args)
result = Alter_index_result.new()
begin
@handler.alter_index(args.dbname, args.base_tbl_name, args.idx_name, args.new_idx)
- rescue Impala::Protocol::HiveMetastore::InvalidOperationException => o1
+ rescue ::Impala::Protocol::HiveMetastore::InvalidOperationException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::MetaException => o2
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
result.o2 = o2
end
write_result(result, oprot, 'alter_index', seqid)
end
def process_drop_index_by_name(seqid, iprot, oprot)
args = read_args(iprot, Drop_index_by_name_args)
result = Drop_index_by_name_result.new()
begin
result.success = @handler.drop_index_by_name(args.db_name, args.tbl_name, args.index_name, args.deleteData)
- rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
+ rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::MetaException => o2
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
result.o2 = o2
end
write_result(result, oprot, 'drop_index_by_name', seqid)
end
def process_get_index_by_name(seqid, iprot, oprot)
args = read_args(iprot, Get_index_by_name_args)
result = Get_index_by_name_result.new()
begin
result.success = @handler.get_index_by_name(args.db_name, args.tbl_name, args.index_name)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
+ rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
result.o2 = o2
end
write_result(result, oprot, 'get_index_by_name', seqid)
end
def process_get_indexes(seqid, iprot, oprot)
args = read_args(iprot, Get_indexes_args)
result = Get_indexes_result.new()
begin
result.success = @handler.get_indexes(args.db_name, args.tbl_name, args.max_indexes)
- rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
+ rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
result.o1 = o1
- rescue Impala::Protocol::HiveMetastore::MetaException => o2
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
result.o2 = o2
end
write_result(result, oprot, 'get_indexes', seqid)
end
def process_get_index_names(seqid, iprot, oprot)
args = read_args(iprot, Get_index_names_args)
result = Get_index_names_result.new()
begin
result.success = @handler.get_index_names(args.db_name, args.tbl_name, args.max_indexes)
- rescue Impala::Protocol::HiveMetastore::MetaException => o2
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
result.o2 = o2
end
write_result(result, oprot, 'get_index_names', seqid)
end
def process_create_role(seqid, iprot, oprot)
args = read_args(iprot, Create_role_args)
result = Create_role_result.new()
begin
result.success = @handler.create_role(args.role)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
end
write_result(result, oprot, 'create_role', seqid)
end
def process_drop_role(seqid, iprot, oprot)
args = read_args(iprot, Drop_role_args)
result = Drop_role_result.new()
begin
result.success = @handler.drop_role(args.role_name)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
end
write_result(result, oprot, 'drop_role', seqid)
end
def process_get_role_names(seqid, iprot, oprot)
args = read_args(iprot, Get_role_names_args)
result = Get_role_names_result.new()
begin
result.success = @handler.get_role_names()
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
end
write_result(result, oprot, 'get_role_names', seqid)
end
def process_grant_role(seqid, iprot, oprot)
args = read_args(iprot, Grant_role_args)
result = Grant_role_result.new()
begin
result.success = @handler.grant_role(args.role_name, args.principal_name, args.principal_type, args.grantor, args.grantorType, args.grant_option)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
end
write_result(result, oprot, 'grant_role', seqid)
end
def process_revoke_role(seqid, iprot, oprot)
args = read_args(iprot, Revoke_role_args)
result = Revoke_role_result.new()
begin
result.success = @handler.revoke_role(args.role_name, args.principal_name, args.principal_type)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
end
write_result(result, oprot, 'revoke_role', seqid)
end
def process_list_roles(seqid, iprot, oprot)
args = read_args(iprot, List_roles_args)
result = List_roles_result.new()
begin
result.success = @handler.list_roles(args.principal_name, args.principal_type)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
end
write_result(result, oprot, 'list_roles', seqid)
end
def process_get_privilege_set(seqid, iprot, oprot)
args = read_args(iprot, Get_privilege_set_args)
result = Get_privilege_set_result.new()
begin
result.success = @handler.get_privilege_set(args.hiveObject, args.user_name, args.group_names)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
end
write_result(result, oprot, 'get_privilege_set', seqid)
end
def process_list_privileges(seqid, iprot, oprot)
args = read_args(iprot, List_privileges_args)
result = List_privileges_result.new()
begin
result.success = @handler.list_privileges(args.principal_name, args.principal_type, args.hiveObject)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
end
write_result(result, oprot, 'list_privileges', seqid)
end
def process_grant_privileges(seqid, iprot, oprot)
args = read_args(iprot, Grant_privileges_args)
result = Grant_privileges_result.new()
begin
result.success = @handler.grant_privileges(args.privileges)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
end
write_result(result, oprot, 'grant_privileges', seqid)
end
def process_revoke_privileges(seqid, iprot, oprot)
args = read_args(iprot, Revoke_privileges_args)
result = Revoke_privileges_result.new()
begin
result.success = @handler.revoke_privileges(args.privileges)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
end
write_result(result, oprot, 'revoke_privileges', seqid)
end
def process_set_ugi(seqid, iprot, oprot)
args = read_args(iprot, Set_ugi_args)
result = Set_ugi_result.new()
begin
result.success = @handler.set_ugi(args.user_name, args.group_names)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
end
write_result(result, oprot, 'set_ugi', seqid)
end
def process_get_delegation_token(seqid, iprot, oprot)
args = read_args(iprot, Get_delegation_token_args)
result = Get_delegation_token_result.new()
begin
result.success = @handler.get_delegation_token(args.token_owner, args.renewer_kerberos_principal_name)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
end
write_result(result, oprot, 'get_delegation_token', seqid)
end
def process_renew_delegation_token(seqid, iprot, oprot)
args = read_args(iprot, Renew_delegation_token_args)
result = Renew_delegation_token_result.new()
begin
result.success = @handler.renew_delegation_token(args.token_str_form)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
end
write_result(result, oprot, 'renew_delegation_token', seqid)
end
def process_cancel_delegation_token(seqid, iprot, oprot)
args = read_args(iprot, Cancel_delegation_token_args)
result = Cancel_delegation_token_result.new()
begin
@handler.cancel_delegation_token(args.token_str_form)
- rescue Impala::Protocol::HiveMetastore::MetaException => o1
+ rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
result.o1 = o1
end
write_result(result, oprot, 'cancel_delegation_token', seqid)
end
@@ -2056,11 +2056,11 @@
class Create_database_args
include ::Thrift::Struct, ::Thrift::Struct_Union
DATABASE = 1
FIELDS = {
- DATABASE => { :type => ::Thrift::Types::STRUCT, :name => 'database', :class => Impala::Protocol::HiveMetastore::Database }
+ DATABASE => {:type => ::Thrift::Types::STRUCT, :name => 'database', :class => ::Impala::Protocol::HiveMetastore::Database}
}
def struct_fields; FIELDS; end
def validate
@@ -2074,13 +2074,13 @@
O1 = 1
O2 = 2
O3 = 3
FIELDS = {
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::AlreadyExistsException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::InvalidObjectException },
- O3 => { :type => ::Thrift::Types::STRUCT, :name => 'o3', :class => Impala::Protocol::HiveMetastore::MetaException }
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::AlreadyExistsException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::InvalidObjectException},
+ O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -2092,11 +2092,11 @@
class Get_database_args
include ::Thrift::Struct, ::Thrift::Struct_Union
NAME = 1
FIELDS = {
- NAME => { :type => ::Thrift::Types::STRING, :name => 'name' }
+ NAME => {:type => ::Thrift::Types::STRING, :name => 'name'}
}
def struct_fields; FIELDS; end
def validate
@@ -2110,13 +2110,13 @@
SUCCESS = 0
O1 = 1
O2 = 2
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::STRUCT, :name => 'success', :class => Impala::Protocol::HiveMetastore::Database },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::NoSuchObjectException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::HiveMetastore::Database},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -2130,13 +2130,13 @@
NAME = 1
DELETEDATA = 2
CASCADE = 3
FIELDS = {
- NAME => { :type => ::Thrift::Types::STRING, :name => 'name' },
- DELETEDATA => { :type => ::Thrift::Types::BOOL, :name => 'deleteData' },
- CASCADE => { :type => ::Thrift::Types::BOOL, :name => 'cascade' }
+ NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
+ DELETEDATA => {:type => ::Thrift::Types::BOOL, :name => 'deleteData'},
+ CASCADE => {:type => ::Thrift::Types::BOOL, :name => 'cascade'}
}
def struct_fields; FIELDS; end
def validate
@@ -2150,13 +2150,13 @@
O1 = 1
O2 = 2
O3 = 3
FIELDS = {
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::NoSuchObjectException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::InvalidOperationException },
- O3 => { :type => ::Thrift::Types::STRUCT, :name => 'o3', :class => Impala::Protocol::HiveMetastore::MetaException }
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::InvalidOperationException},
+ O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -2168,11 +2168,11 @@
class Get_databases_args
include ::Thrift::Struct, ::Thrift::Struct_Union
PATTERN = 1
FIELDS = {
- PATTERN => { :type => ::Thrift::Types::STRING, :name => 'pattern' }
+ PATTERN => {:type => ::Thrift::Types::STRING, :name => 'pattern'}
}
def struct_fields; FIELDS; end
def validate
@@ -2185,12 +2185,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
SUCCESS = 0
O1 = 1
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::LIST, :name => 'success', :element => { :type => ::Thrift::Types::STRING } },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRING}},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -2218,12 +2218,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
SUCCESS = 0
O1 = 1
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::LIST, :name => 'success', :element => { :type => ::Thrift::Types::STRING } },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRING}},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -2236,12 +2236,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
DBNAME = 1
DB = 2
FIELDS = {
- DBNAME => { :type => ::Thrift::Types::STRING, :name => 'dbname' },
- DB => { :type => ::Thrift::Types::STRUCT, :name => 'db', :class => Impala::Protocol::HiveMetastore::Database }
+ DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbname'},
+ DB => {:type => ::Thrift::Types::STRUCT, :name => 'db', :class => ::Impala::Protocol::HiveMetastore::Database}
}
def struct_fields; FIELDS; end
def validate
@@ -2254,12 +2254,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
O1 = 1
O2 = 2
FIELDS = {
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::NoSuchObjectException }
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException}
}
def struct_fields; FIELDS; end
def validate
@@ -2271,11 +2271,11 @@
class Get_type_args
include ::Thrift::Struct, ::Thrift::Struct_Union
NAME = 1
FIELDS = {
- NAME => { :type => ::Thrift::Types::STRING, :name => 'name' }
+ NAME => {:type => ::Thrift::Types::STRING, :name => 'name'}
}
def struct_fields; FIELDS; end
def validate
@@ -2289,13 +2289,13 @@
SUCCESS = 0
O1 = 1
O2 = 2
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::STRUCT, :name => 'success', :class => Impala::Protocol::HiveMetastore::Type },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::NoSuchObjectException }
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::HiveMetastore::Type},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException}
}
def struct_fields; FIELDS; end
def validate
@@ -2307,11 +2307,11 @@
class Create_type_args
include ::Thrift::Struct, ::Thrift::Struct_Union
TYPE = 1
FIELDS = {
- TYPE => { :type => ::Thrift::Types::STRUCT, :name => 'type', :class => Impala::Protocol::HiveMetastore::Type }
+ TYPE => {:type => ::Thrift::Types::STRUCT, :name => 'type', :class => ::Impala::Protocol::HiveMetastore::Type}
}
def struct_fields; FIELDS; end
def validate
@@ -2326,14 +2326,14 @@
O1 = 1
O2 = 2
O3 = 3
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::BOOL, :name => 'success' },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::AlreadyExistsException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::InvalidObjectException },
- O3 => { :type => ::Thrift::Types::STRUCT, :name => 'o3', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::AlreadyExistsException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::InvalidObjectException},
+ O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -2345,11 +2345,11 @@
class Drop_type_args
include ::Thrift::Struct, ::Thrift::Struct_Union
TYPE = 1
FIELDS = {
- TYPE => { :type => ::Thrift::Types::STRING, :name => 'type' }
+ TYPE => {:type => ::Thrift::Types::STRING, :name => 'type'}
}
def struct_fields; FIELDS; end
def validate
@@ -2363,13 +2363,13 @@
SUCCESS = 0
O1 = 1
O2 = 2
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::BOOL, :name => 'success' },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::NoSuchObjectException }
+ SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException}
}
def struct_fields; FIELDS; end
def validate
@@ -2381,11 +2381,11 @@
class Get_type_all_args
include ::Thrift::Struct, ::Thrift::Struct_Union
NAME = 1
FIELDS = {
- NAME => { :type => ::Thrift::Types::STRING, :name => 'name' }
+ NAME => {:type => ::Thrift::Types::STRING, :name => 'name'}
}
def struct_fields; FIELDS; end
def validate
@@ -2398,12 +2398,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
SUCCESS = 0
O2 = 1
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::MAP, :name => 'success', :key => { :type => ::Thrift::Types::STRING }, :value => { :type => ::Thrift::Types::STRUCT, :class => Impala::Protocol::HiveMetastore::Type } },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::Type}},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -2416,12 +2416,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
DB_NAME = 1
TABLE_NAME = 2
FIELDS = {
- DB_NAME => { :type => ::Thrift::Types::STRING, :name => 'db_name' },
- TABLE_NAME => { :type => ::Thrift::Types::STRING, :name => 'table_name' }
+ DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
+ TABLE_NAME => {:type => ::Thrift::Types::STRING, :name => 'table_name'}
}
def struct_fields; FIELDS; end
def validate
@@ -2436,14 +2436,14 @@
O1 = 1
O2 = 2
O3 = 3
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::LIST, :name => 'success', :element => { :type => ::Thrift::Types::STRUCT, :class => Impala::Protocol::HiveMetastore::FieldSchema } },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::UnknownTableException },
- O3 => { :type => ::Thrift::Types::STRUCT, :name => 'o3', :class => Impala::Protocol::HiveMetastore::UnknownDBException }
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::FieldSchema}},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::UnknownTableException},
+ O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::UnknownDBException}
}
def struct_fields; FIELDS; end
def validate
@@ -2456,12 +2456,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
DB_NAME = 1
TABLE_NAME = 2
FIELDS = {
- DB_NAME => { :type => ::Thrift::Types::STRING, :name => 'db_name' },
- TABLE_NAME => { :type => ::Thrift::Types::STRING, :name => 'table_name' }
+ DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
+ TABLE_NAME => {:type => ::Thrift::Types::STRING, :name => 'table_name'}
}
def struct_fields; FIELDS; end
def validate
@@ -2476,14 +2476,14 @@
O1 = 1
O2 = 2
O3 = 3
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::LIST, :name => 'success', :element => { :type => ::Thrift::Types::STRUCT, :class => Impala::Protocol::HiveMetastore::FieldSchema } },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::UnknownTableException },
- O3 => { :type => ::Thrift::Types::STRUCT, :name => 'o3', :class => Impala::Protocol::HiveMetastore::UnknownDBException }
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::FieldSchema}},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::UnknownTableException},
+ O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::UnknownDBException}
}
def struct_fields; FIELDS; end
def validate
@@ -2495,11 +2495,11 @@
class Create_table_args
include ::Thrift::Struct, ::Thrift::Struct_Union
TBL = 1
FIELDS = {
- TBL => { :type => ::Thrift::Types::STRUCT, :name => 'tbl', :class => Impala::Protocol::HiveMetastore::Table }
+ TBL => {:type => ::Thrift::Types::STRUCT, :name => 'tbl', :class => ::Impala::Protocol::HiveMetastore::Table}
}
def struct_fields; FIELDS; end
def validate
@@ -2514,14 +2514,14 @@
O2 = 2
O3 = 3
O4 = 4
FIELDS = {
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::AlreadyExistsException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::InvalidObjectException },
- O3 => { :type => ::Thrift::Types::STRUCT, :name => 'o3', :class => Impala::Protocol::HiveMetastore::MetaException },
- O4 => { :type => ::Thrift::Types::STRUCT, :name => 'o4', :class => Impala::Protocol::HiveMetastore::NoSuchObjectException }
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::AlreadyExistsException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::InvalidObjectException},
+ O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::MetaException},
+ O4 => {:type => ::Thrift::Types::STRUCT, :name => 'o4', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException}
}
def struct_fields; FIELDS; end
def validate
@@ -2534,12 +2534,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
TBL = 1
ENVIRONMENT_CONTEXT = 2
FIELDS = {
- TBL => { :type => ::Thrift::Types::STRUCT, :name => 'tbl', :class => Impala::Protocol::HiveMetastore::Table },
- ENVIRONMENT_CONTEXT => { :type => ::Thrift::Types::STRUCT, :name => 'environment_context', :class => Impala::Protocol::HiveMetastore::EnvironmentContext }
+ TBL => {:type => ::Thrift::Types::STRUCT, :name => 'tbl', :class => ::Impala::Protocol::HiveMetastore::Table},
+ ENVIRONMENT_CONTEXT => {:type => ::Thrift::Types::STRUCT, :name => 'environment_context', :class => ::Impala::Protocol::HiveMetastore::EnvironmentContext}
}
def struct_fields; FIELDS; end
def validate
@@ -2554,14 +2554,14 @@
O2 = 2
O3 = 3
O4 = 4
FIELDS = {
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::AlreadyExistsException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::InvalidObjectException },
- O3 => { :type => ::Thrift::Types::STRUCT, :name => 'o3', :class => Impala::Protocol::HiveMetastore::MetaException },
- O4 => { :type => ::Thrift::Types::STRUCT, :name => 'o4', :class => Impala::Protocol::HiveMetastore::NoSuchObjectException }
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::AlreadyExistsException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::InvalidObjectException},
+ O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::MetaException},
+ O4 => {:type => ::Thrift::Types::STRUCT, :name => 'o4', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException}
}
def struct_fields; FIELDS; end
def validate
@@ -2575,13 +2575,13 @@
DBNAME = 1
NAME = 2
DELETEDATA = 3
FIELDS = {
- DBNAME => { :type => ::Thrift::Types::STRING, :name => 'dbname' },
- NAME => { :type => ::Thrift::Types::STRING, :name => 'name' },
- DELETEDATA => { :type => ::Thrift::Types::BOOL, :name => 'deleteData' }
+ DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbname'},
+ NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
+ DELETEDATA => {:type => ::Thrift::Types::BOOL, :name => 'deleteData'}
}
def struct_fields; FIELDS; end
def validate
@@ -2594,12 +2594,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
O1 = 1
O3 = 2
FIELDS = {
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::NoSuchObjectException },
- O3 => { :type => ::Thrift::Types::STRUCT, :name => 'o3', :class => Impala::Protocol::HiveMetastore::MetaException }
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException},
+ O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -2612,12 +2612,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
DB_NAME = 1
PATTERN = 2
FIELDS = {
- DB_NAME => { :type => ::Thrift::Types::STRING, :name => 'db_name' },
- PATTERN => { :type => ::Thrift::Types::STRING, :name => 'pattern' }
+ DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
+ PATTERN => {:type => ::Thrift::Types::STRING, :name => 'pattern'}
}
def struct_fields; FIELDS; end
def validate
@@ -2630,12 +2630,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
SUCCESS = 0
O1 = 1
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::LIST, :name => 'success', :element => { :type => ::Thrift::Types::STRING } },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRING}},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -2647,11 +2647,11 @@
class Get_all_tables_args
include ::Thrift::Struct, ::Thrift::Struct_Union
DB_NAME = 1
FIELDS = {
- DB_NAME => { :type => ::Thrift::Types::STRING, :name => 'db_name' }
+ DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'}
}
def struct_fields; FIELDS; end
def validate
@@ -2664,12 +2664,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
SUCCESS = 0
O1 = 1
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::LIST, :name => 'success', :element => { :type => ::Thrift::Types::STRING } },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRING}},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -2682,12 +2682,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
DBNAME = 1
TBL_NAME = 2
FIELDS = {
- DBNAME => { :type => ::Thrift::Types::STRING, :name => 'dbname' },
- TBL_NAME => { :type => ::Thrift::Types::STRING, :name => 'tbl_name' }
+ DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbname'},
+ TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'}
}
def struct_fields; FIELDS; end
def validate
@@ -2701,13 +2701,13 @@
SUCCESS = 0
O1 = 1
O2 = 2
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::STRUCT, :name => 'success', :class => Impala::Protocol::HiveMetastore::Table },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::NoSuchObjectException }
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::HiveMetastore::Table},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException}
}
def struct_fields; FIELDS; end
def validate
@@ -2720,12 +2720,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
DBNAME = 1
TBL_NAMES = 2
FIELDS = {
- DBNAME => { :type => ::Thrift::Types::STRING, :name => 'dbname' },
- TBL_NAMES => { :type => ::Thrift::Types::LIST, :name => 'tbl_names', :element => { :type => ::Thrift::Types::STRING } }
+ DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbname'},
+ TBL_NAMES => {:type => ::Thrift::Types::LIST, :name => 'tbl_names', :element => {:type => ::Thrift::Types::STRING}}
}
def struct_fields; FIELDS; end
def validate
@@ -2740,14 +2740,14 @@
O1 = 1
O2 = 2
O3 = 3
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::LIST, :name => 'success', :element => { :type => ::Thrift::Types::STRUCT, :class => Impala::Protocol::HiveMetastore::Table } },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::InvalidOperationException },
- O3 => { :type => ::Thrift::Types::STRUCT, :name => 'o3', :class => Impala::Protocol::HiveMetastore::UnknownDBException }
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::Table}},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::InvalidOperationException},
+ O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::UnknownDBException}
}
def struct_fields; FIELDS; end
def validate
@@ -2761,13 +2761,13 @@
DBNAME = 1
FILTER = 2
MAX_TABLES = 3
FIELDS = {
- DBNAME => { :type => ::Thrift::Types::STRING, :name => 'dbname' },
- FILTER => { :type => ::Thrift::Types::STRING, :name => 'filter' },
- MAX_TABLES => { :type => ::Thrift::Types::I16, :name => 'max_tables', :default => -1 }
+ DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbname'},
+ FILTER => {:type => ::Thrift::Types::STRING, :name => 'filter'},
+ MAX_TABLES => {:type => ::Thrift::Types::I16, :name => 'max_tables', :default => -1}
}
def struct_fields; FIELDS; end
def validate
@@ -2782,14 +2782,14 @@
O1 = 1
O2 = 2
O3 = 3
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::LIST, :name => 'success', :element => { :type => ::Thrift::Types::STRING } },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::InvalidOperationException },
- O3 => { :type => ::Thrift::Types::STRUCT, :name => 'o3', :class => Impala::Protocol::HiveMetastore::UnknownDBException }
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRING}},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::InvalidOperationException},
+ O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::UnknownDBException}
}
def struct_fields; FIELDS; end
def validate
@@ -2803,13 +2803,13 @@
DBNAME = 1
TBL_NAME = 2
NEW_TBL = 3
FIELDS = {
- DBNAME => { :type => ::Thrift::Types::STRING, :name => 'dbname' },
- TBL_NAME => { :type => ::Thrift::Types::STRING, :name => 'tbl_name' },
- NEW_TBL => { :type => ::Thrift::Types::STRUCT, :name => 'new_tbl', :class => Impala::Protocol::HiveMetastore::Table }
+ DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbname'},
+ TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
+ NEW_TBL => {:type => ::Thrift::Types::STRUCT, :name => 'new_tbl', :class => ::Impala::Protocol::HiveMetastore::Table}
}
def struct_fields; FIELDS; end
def validate
@@ -2822,12 +2822,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
O1 = 1
O2 = 2
FIELDS = {
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::InvalidOperationException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::MetaException }
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::InvalidOperationException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -2842,14 +2842,14 @@
TBL_NAME = 2
NEW_TBL = 3
ENVIRONMENT_CONTEXT = 4
FIELDS = {
- DBNAME => { :type => ::Thrift::Types::STRING, :name => 'dbname' },
- TBL_NAME => { :type => ::Thrift::Types::STRING, :name => 'tbl_name' },
- NEW_TBL => { :type => ::Thrift::Types::STRUCT, :name => 'new_tbl', :class => Impala::Protocol::HiveMetastore::Table },
- ENVIRONMENT_CONTEXT => { :type => ::Thrift::Types::STRUCT, :name => 'environment_context', :class => Impala::Protocol::HiveMetastore::EnvironmentContext }
+ DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbname'},
+ TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
+ NEW_TBL => {:type => ::Thrift::Types::STRUCT, :name => 'new_tbl', :class => ::Impala::Protocol::HiveMetastore::Table},
+ ENVIRONMENT_CONTEXT => {:type => ::Thrift::Types::STRUCT, :name => 'environment_context', :class => ::Impala::Protocol::HiveMetastore::EnvironmentContext}
}
def struct_fields; FIELDS; end
def validate
@@ -2862,12 +2862,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
O1 = 1
O2 = 2
FIELDS = {
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::InvalidOperationException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::MetaException }
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::InvalidOperationException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -2879,11 +2879,11 @@
class Add_partition_args
include ::Thrift::Struct, ::Thrift::Struct_Union
NEW_PART = 1
FIELDS = {
- NEW_PART => { :type => ::Thrift::Types::STRUCT, :name => 'new_part', :class => Impala::Protocol::HiveMetastore::Partition }
+ NEW_PART => {:type => ::Thrift::Types::STRUCT, :name => 'new_part', :class => ::Impala::Protocol::HiveMetastore::Partition}
}
def struct_fields; FIELDS; end
def validate
@@ -2898,14 +2898,14 @@
O1 = 1
O2 = 2
O3 = 3
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::STRUCT, :name => 'success', :class => Impala::Protocol::HiveMetastore::Partition },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::InvalidObjectException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::AlreadyExistsException },
- O3 => { :type => ::Thrift::Types::STRUCT, :name => 'o3', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::HiveMetastore::Partition},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::InvalidObjectException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::AlreadyExistsException},
+ O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -2918,12 +2918,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
NEW_PART = 1
ENVIRONMENT_CONTEXT = 2
FIELDS = {
- NEW_PART => { :type => ::Thrift::Types::STRUCT, :name => 'new_part', :class => Impala::Protocol::HiveMetastore::Partition },
- ENVIRONMENT_CONTEXT => { :type => ::Thrift::Types::STRUCT, :name => 'environment_context', :class => Impala::Protocol::HiveMetastore::EnvironmentContext }
+ NEW_PART => {:type => ::Thrift::Types::STRUCT, :name => 'new_part', :class => ::Impala::Protocol::HiveMetastore::Partition},
+ ENVIRONMENT_CONTEXT => {:type => ::Thrift::Types::STRUCT, :name => 'environment_context', :class => ::Impala::Protocol::HiveMetastore::EnvironmentContext}
}
def struct_fields; FIELDS; end
def validate
@@ -2938,14 +2938,14 @@
O1 = 1
O2 = 2
O3 = 3
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::STRUCT, :name => 'success', :class => Impala::Protocol::HiveMetastore::Partition },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::InvalidObjectException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::AlreadyExistsException },
- O3 => { :type => ::Thrift::Types::STRUCT, :name => 'o3', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::HiveMetastore::Partition},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::InvalidObjectException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::AlreadyExistsException},
+ O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -2957,11 +2957,11 @@
class Add_partitions_args
include ::Thrift::Struct, ::Thrift::Struct_Union
NEW_PARTS = 1
FIELDS = {
- NEW_PARTS => { :type => ::Thrift::Types::LIST, :name => 'new_parts', :element => { :type => ::Thrift::Types::STRUCT, :class => Impala::Protocol::HiveMetastore::Partition } }
+ NEW_PARTS => {:type => ::Thrift::Types::LIST, :name => 'new_parts', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::Partition}}
}
def struct_fields; FIELDS; end
def validate
@@ -2976,14 +2976,14 @@
O1 = 1
O2 = 2
O3 = 3
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::I32, :name => 'success' },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::InvalidObjectException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::AlreadyExistsException },
- O3 => { :type => ::Thrift::Types::STRUCT, :name => 'o3', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::I32, :name => 'success'},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::InvalidObjectException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::AlreadyExistsException},
+ O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -2997,13 +2997,13 @@
DB_NAME = 1
TBL_NAME = 2
PART_VALS = 3
FIELDS = {
- DB_NAME => { :type => ::Thrift::Types::STRING, :name => 'db_name' },
- TBL_NAME => { :type => ::Thrift::Types::STRING, :name => 'tbl_name' },
- PART_VALS => { :type => ::Thrift::Types::LIST, :name => 'part_vals', :element => { :type => ::Thrift::Types::STRING } }
+ DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
+ TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
+ PART_VALS => {:type => ::Thrift::Types::LIST, :name => 'part_vals', :element => {:type => ::Thrift::Types::STRING}}
}
def struct_fields; FIELDS; end
def validate
@@ -3018,14 +3018,14 @@
O1 = 1
O2 = 2
O3 = 3
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::STRUCT, :name => 'success', :class => Impala::Protocol::HiveMetastore::Partition },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::InvalidObjectException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::AlreadyExistsException },
- O3 => { :type => ::Thrift::Types::STRUCT, :name => 'o3', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::HiveMetastore::Partition},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::InvalidObjectException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::AlreadyExistsException},
+ O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -3039,13 +3039,13 @@
DB_NAME = 1
TBL_NAME = 2
PART_NAME = 3
FIELDS = {
- DB_NAME => { :type => ::Thrift::Types::STRING, :name => 'db_name' },
- TBL_NAME => { :type => ::Thrift::Types::STRING, :name => 'tbl_name' },
- PART_NAME => { :type => ::Thrift::Types::STRING, :name => 'part_name' }
+ DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
+ TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
+ PART_NAME => {:type => ::Thrift::Types::STRING, :name => 'part_name'}
}
def struct_fields; FIELDS; end
def validate
@@ -3060,14 +3060,14 @@
O1 = 1
O2 = 2
O3 = 3
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::STRUCT, :name => 'success', :class => Impala::Protocol::HiveMetastore::Partition },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::InvalidObjectException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::AlreadyExistsException },
- O3 => { :type => ::Thrift::Types::STRUCT, :name => 'o3', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::HiveMetastore::Partition},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::InvalidObjectException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::AlreadyExistsException},
+ O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -3082,14 +3082,14 @@
TBL_NAME = 2
PART_VALS = 3
DELETEDATA = 4
FIELDS = {
- DB_NAME => { :type => ::Thrift::Types::STRING, :name => 'db_name' },
- TBL_NAME => { :type => ::Thrift::Types::STRING, :name => 'tbl_name' },
- PART_VALS => { :type => ::Thrift::Types::LIST, :name => 'part_vals', :element => { :type => ::Thrift::Types::STRING } },
- DELETEDATA => { :type => ::Thrift::Types::BOOL, :name => 'deleteData' }
+ DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
+ TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
+ PART_VALS => {:type => ::Thrift::Types::LIST, :name => 'part_vals', :element => {:type => ::Thrift::Types::STRING}},
+ DELETEDATA => {:type => ::Thrift::Types::BOOL, :name => 'deleteData'}
}
def struct_fields; FIELDS; end
def validate
@@ -3103,13 +3103,13 @@
SUCCESS = 0
O1 = 1
O2 = 2
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::BOOL, :name => 'success' },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::NoSuchObjectException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -3124,14 +3124,14 @@
TBL_NAME = 2
PART_NAME = 3
DELETEDATA = 4
FIELDS = {
- DB_NAME => { :type => ::Thrift::Types::STRING, :name => 'db_name' },
- TBL_NAME => { :type => ::Thrift::Types::STRING, :name => 'tbl_name' },
- PART_NAME => { :type => ::Thrift::Types::STRING, :name => 'part_name' },
- DELETEDATA => { :type => ::Thrift::Types::BOOL, :name => 'deleteData' }
+ DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
+ TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
+ PART_NAME => {:type => ::Thrift::Types::STRING, :name => 'part_name'},
+ DELETEDATA => {:type => ::Thrift::Types::BOOL, :name => 'deleteData'}
}
def struct_fields; FIELDS; end
def validate
@@ -3145,13 +3145,13 @@
SUCCESS = 0
O1 = 1
O2 = 2
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::BOOL, :name => 'success' },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::NoSuchObjectException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -3165,13 +3165,13 @@
DB_NAME = 1
TBL_NAME = 2
PART_VALS = 3
FIELDS = {
- DB_NAME => { :type => ::Thrift::Types::STRING, :name => 'db_name' },
- TBL_NAME => { :type => ::Thrift::Types::STRING, :name => 'tbl_name' },
- PART_VALS => { :type => ::Thrift::Types::LIST, :name => 'part_vals', :element => { :type => ::Thrift::Types::STRING } }
+ DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
+ TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
+ PART_VALS => {:type => ::Thrift::Types::LIST, :name => 'part_vals', :element => {:type => ::Thrift::Types::STRING}}
}
def struct_fields; FIELDS; end
def validate
@@ -3185,13 +3185,13 @@
SUCCESS = 0
O1 = 1
O2 = 2
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::STRUCT, :name => 'success', :class => Impala::Protocol::HiveMetastore::Partition },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::NoSuchObjectException }
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::HiveMetastore::Partition},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException}
}
def struct_fields; FIELDS; end
def validate
@@ -3207,15 +3207,15 @@
PART_VALS = 3
USER_NAME = 4
GROUP_NAMES = 5
FIELDS = {
- DB_NAME => { :type => ::Thrift::Types::STRING, :name => 'db_name' },
- TBL_NAME => { :type => ::Thrift::Types::STRING, :name => 'tbl_name' },
- PART_VALS => { :type => ::Thrift::Types::LIST, :name => 'part_vals', :element => { :type => ::Thrift::Types::STRING } },
- USER_NAME => { :type => ::Thrift::Types::STRING, :name => 'user_name' },
- GROUP_NAMES => { :type => ::Thrift::Types::LIST, :name => 'group_names', :element => { :type => ::Thrift::Types::STRING } }
+ DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
+ TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
+ PART_VALS => {:type => ::Thrift::Types::LIST, :name => 'part_vals', :element => {:type => ::Thrift::Types::STRING}},
+ USER_NAME => {:type => ::Thrift::Types::STRING, :name => 'user_name'},
+ GROUP_NAMES => {:type => ::Thrift::Types::LIST, :name => 'group_names', :element => {:type => ::Thrift::Types::STRING}}
}
def struct_fields; FIELDS; end
def validate
@@ -3229,13 +3229,13 @@
SUCCESS = 0
O1 = 1
O2 = 2
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::STRUCT, :name => 'success', :class => Impala::Protocol::HiveMetastore::Partition },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::NoSuchObjectException }
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::HiveMetastore::Partition},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException}
}
def struct_fields; FIELDS; end
def validate
@@ -3249,13 +3249,13 @@
DB_NAME = 1
TBL_NAME = 2
PART_NAME = 3
FIELDS = {
- DB_NAME => { :type => ::Thrift::Types::STRING, :name => 'db_name' },
- TBL_NAME => { :type => ::Thrift::Types::STRING, :name => 'tbl_name' },
- PART_NAME => { :type => ::Thrift::Types::STRING, :name => 'part_name' }
+ DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
+ TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
+ PART_NAME => {:type => ::Thrift::Types::STRING, :name => 'part_name'}
}
def struct_fields; FIELDS; end
def validate
@@ -3269,13 +3269,13 @@
SUCCESS = 0
O1 = 1
O2 = 2
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::STRUCT, :name => 'success', :class => Impala::Protocol::HiveMetastore::Partition },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::NoSuchObjectException }
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::HiveMetastore::Partition},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException}
}
def struct_fields; FIELDS; end
def validate
@@ -3289,13 +3289,13 @@
DB_NAME = 1
TBL_NAME = 2
MAX_PARTS = 3
FIELDS = {
- DB_NAME => { :type => ::Thrift::Types::STRING, :name => 'db_name' },
- TBL_NAME => { :type => ::Thrift::Types::STRING, :name => 'tbl_name' },
- MAX_PARTS => { :type => ::Thrift::Types::I16, :name => 'max_parts', :default => -1 }
+ DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
+ TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
+ MAX_PARTS => {:type => ::Thrift::Types::I16, :name => 'max_parts', :default => -1}
}
def struct_fields; FIELDS; end
def validate
@@ -3309,13 +3309,13 @@
SUCCESS = 0
O1 = 1
O2 = 2
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::LIST, :name => 'success', :element => { :type => ::Thrift::Types::STRUCT, :class => Impala::Protocol::HiveMetastore::Partition } },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::NoSuchObjectException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::Partition}},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -3331,15 +3331,15 @@
MAX_PARTS = 3
USER_NAME = 4
GROUP_NAMES = 5
FIELDS = {
- DB_NAME => { :type => ::Thrift::Types::STRING, :name => 'db_name' },
- TBL_NAME => { :type => ::Thrift::Types::STRING, :name => 'tbl_name' },
- MAX_PARTS => { :type => ::Thrift::Types::I16, :name => 'max_parts', :default => -1 },
- USER_NAME => { :type => ::Thrift::Types::STRING, :name => 'user_name' },
- GROUP_NAMES => { :type => ::Thrift::Types::LIST, :name => 'group_names', :element => { :type => ::Thrift::Types::STRING } }
+ DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
+ TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
+ MAX_PARTS => {:type => ::Thrift::Types::I16, :name => 'max_parts', :default => -1},
+ USER_NAME => {:type => ::Thrift::Types::STRING, :name => 'user_name'},
+ GROUP_NAMES => {:type => ::Thrift::Types::LIST, :name => 'group_names', :element => {:type => ::Thrift::Types::STRING}}
}
def struct_fields; FIELDS; end
def validate
@@ -3353,13 +3353,13 @@
SUCCESS = 0
O1 = 1
O2 = 2
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::LIST, :name => 'success', :element => { :type => ::Thrift::Types::STRUCT, :class => Impala::Protocol::HiveMetastore::Partition } },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::NoSuchObjectException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::Partition}},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -3373,13 +3373,13 @@
DB_NAME = 1
TBL_NAME = 2
MAX_PARTS = 3
FIELDS = {
- DB_NAME => { :type => ::Thrift::Types::STRING, :name => 'db_name' },
- TBL_NAME => { :type => ::Thrift::Types::STRING, :name => 'tbl_name' },
- MAX_PARTS => { :type => ::Thrift::Types::I16, :name => 'max_parts', :default => -1 }
+ DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
+ TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
+ MAX_PARTS => {:type => ::Thrift::Types::I16, :name => 'max_parts', :default => -1}
}
def struct_fields; FIELDS; end
def validate
@@ -3392,12 +3392,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
SUCCESS = 0
O2 = 1
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::LIST, :name => 'success', :element => { :type => ::Thrift::Types::STRING } },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRING}},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -3412,14 +3412,14 @@
TBL_NAME = 2
PART_VALS = 3
MAX_PARTS = 4
FIELDS = {
- DB_NAME => { :type => ::Thrift::Types::STRING, :name => 'db_name' },
- TBL_NAME => { :type => ::Thrift::Types::STRING, :name => 'tbl_name' },
- PART_VALS => { :type => ::Thrift::Types::LIST, :name => 'part_vals', :element => { :type => ::Thrift::Types::STRING } },
- MAX_PARTS => { :type => ::Thrift::Types::I16, :name => 'max_parts', :default => -1 }
+ DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
+ TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
+ PART_VALS => {:type => ::Thrift::Types::LIST, :name => 'part_vals', :element => {:type => ::Thrift::Types::STRING}},
+ MAX_PARTS => {:type => ::Thrift::Types::I16, :name => 'max_parts', :default => -1}
}
def struct_fields; FIELDS; end
def validate
@@ -3433,13 +3433,13 @@
SUCCESS = 0
O1 = 1
O2 = 2
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::LIST, :name => 'success', :element => { :type => ::Thrift::Types::STRUCT, :class => Impala::Protocol::HiveMetastore::Partition } },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::NoSuchObjectException }
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::Partition}},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException}
}
def struct_fields; FIELDS; end
def validate
@@ -3456,16 +3456,16 @@
MAX_PARTS = 4
USER_NAME = 5
GROUP_NAMES = 6
FIELDS = {
- DB_NAME => { :type => ::Thrift::Types::STRING, :name => 'db_name' },
- TBL_NAME => { :type => ::Thrift::Types::STRING, :name => 'tbl_name' },
- PART_VALS => { :type => ::Thrift::Types::LIST, :name => 'part_vals', :element => { :type => ::Thrift::Types::STRING } },
- MAX_PARTS => { :type => ::Thrift::Types::I16, :name => 'max_parts', :default => -1 },
- USER_NAME => { :type => ::Thrift::Types::STRING, :name => 'user_name' },
- GROUP_NAMES => { :type => ::Thrift::Types::LIST, :name => 'group_names', :element => { :type => ::Thrift::Types::STRING } }
+ DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
+ TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
+ PART_VALS => {:type => ::Thrift::Types::LIST, :name => 'part_vals', :element => {:type => ::Thrift::Types::STRING}},
+ MAX_PARTS => {:type => ::Thrift::Types::I16, :name => 'max_parts', :default => -1},
+ USER_NAME => {:type => ::Thrift::Types::STRING, :name => 'user_name'},
+ GROUP_NAMES => {:type => ::Thrift::Types::LIST, :name => 'group_names', :element => {:type => ::Thrift::Types::STRING}}
}
def struct_fields; FIELDS; end
def validate
@@ -3479,13 +3479,13 @@
SUCCESS = 0
O1 = 1
O2 = 2
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::LIST, :name => 'success', :element => { :type => ::Thrift::Types::STRUCT, :class => Impala::Protocol::HiveMetastore::Partition } },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::NoSuchObjectException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::Partition}},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -3500,14 +3500,14 @@
TBL_NAME = 2
PART_VALS = 3
MAX_PARTS = 4
FIELDS = {
- DB_NAME => { :type => ::Thrift::Types::STRING, :name => 'db_name' },
- TBL_NAME => { :type => ::Thrift::Types::STRING, :name => 'tbl_name' },
- PART_VALS => { :type => ::Thrift::Types::LIST, :name => 'part_vals', :element => { :type => ::Thrift::Types::STRING } },
- MAX_PARTS => { :type => ::Thrift::Types::I16, :name => 'max_parts', :default => -1 }
+ DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
+ TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
+ PART_VALS => {:type => ::Thrift::Types::LIST, :name => 'part_vals', :element => {:type => ::Thrift::Types::STRING}},
+ MAX_PARTS => {:type => ::Thrift::Types::I16, :name => 'max_parts', :default => -1}
}
def struct_fields; FIELDS; end
def validate
@@ -3521,13 +3521,13 @@
SUCCESS = 0
O1 = 1
O2 = 2
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::LIST, :name => 'success', :element => { :type => ::Thrift::Types::STRING } },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::NoSuchObjectException }
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRING}},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException}
}
def struct_fields; FIELDS; end
def validate
@@ -3542,14 +3542,14 @@
TBL_NAME = 2
FILTER = 3
MAX_PARTS = 4
FIELDS = {
- DB_NAME => { :type => ::Thrift::Types::STRING, :name => 'db_name' },
- TBL_NAME => { :type => ::Thrift::Types::STRING, :name => 'tbl_name' },
- FILTER => { :type => ::Thrift::Types::STRING, :name => 'filter' },
- MAX_PARTS => { :type => ::Thrift::Types::I16, :name => 'max_parts', :default => -1 }
+ DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
+ TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
+ FILTER => {:type => ::Thrift::Types::STRING, :name => 'filter'},
+ MAX_PARTS => {:type => ::Thrift::Types::I16, :name => 'max_parts', :default => -1}
}
def struct_fields; FIELDS; end
def validate
@@ -3563,13 +3563,13 @@
SUCCESS = 0
O1 = 1
O2 = 2
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::LIST, :name => 'success', :element => { :type => ::Thrift::Types::STRUCT, :class => Impala::Protocol::HiveMetastore::Partition } },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::NoSuchObjectException }
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::Partition}},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException}
}
def struct_fields; FIELDS; end
def validate
@@ -3583,13 +3583,13 @@
DB_NAME = 1
TBL_NAME = 2
NAMES = 3
FIELDS = {
- DB_NAME => { :type => ::Thrift::Types::STRING, :name => 'db_name' },
- TBL_NAME => { :type => ::Thrift::Types::STRING, :name => 'tbl_name' },
- NAMES => { :type => ::Thrift::Types::LIST, :name => 'names', :element => { :type => ::Thrift::Types::STRING } }
+ DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
+ TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
+ NAMES => {:type => ::Thrift::Types::LIST, :name => 'names', :element => {:type => ::Thrift::Types::STRING}}
}
def struct_fields; FIELDS; end
def validate
@@ -3603,13 +3603,13 @@
SUCCESS = 0
O1 = 1
O2 = 2
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::LIST, :name => 'success', :element => { :type => ::Thrift::Types::STRUCT, :class => Impala::Protocol::HiveMetastore::Partition } },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::NoSuchObjectException }
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::Partition}},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException}
}
def struct_fields; FIELDS; end
def validate
@@ -3623,13 +3623,13 @@
DB_NAME = 1
TBL_NAME = 2
NEW_PART = 3
FIELDS = {
- DB_NAME => { :type => ::Thrift::Types::STRING, :name => 'db_name' },
- TBL_NAME => { :type => ::Thrift::Types::STRING, :name => 'tbl_name' },
- NEW_PART => { :type => ::Thrift::Types::STRUCT, :name => 'new_part', :class => Impala::Protocol::HiveMetastore::Partition }
+ DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
+ TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
+ NEW_PART => {:type => ::Thrift::Types::STRUCT, :name => 'new_part', :class => ::Impala::Protocol::HiveMetastore::Partition}
}
def struct_fields; FIELDS; end
def validate
@@ -3642,12 +3642,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
O1 = 1
O2 = 2
FIELDS = {
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::InvalidOperationException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::MetaException }
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::InvalidOperationException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -3662,14 +3662,14 @@
TBL_NAME = 2
NEW_PART = 3
ENVIRONMENT_CONTEXT = 4
FIELDS = {
- DB_NAME => { :type => ::Thrift::Types::STRING, :name => 'db_name' },
- TBL_NAME => { :type => ::Thrift::Types::STRING, :name => 'tbl_name' },
- NEW_PART => { :type => ::Thrift::Types::STRUCT, :name => 'new_part', :class => Impala::Protocol::HiveMetastore::Partition },
- ENVIRONMENT_CONTEXT => { :type => ::Thrift::Types::STRUCT, :name => 'environment_context', :class => Impala::Protocol::HiveMetastore::EnvironmentContext }
+ DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
+ TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
+ NEW_PART => {:type => ::Thrift::Types::STRUCT, :name => 'new_part', :class => ::Impala::Protocol::HiveMetastore::Partition},
+ ENVIRONMENT_CONTEXT => {:type => ::Thrift::Types::STRUCT, :name => 'environment_context', :class => ::Impala::Protocol::HiveMetastore::EnvironmentContext}
}
def struct_fields; FIELDS; end
def validate
@@ -3682,12 +3682,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
O1 = 1
O2 = 2
FIELDS = {
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::InvalidOperationException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::MetaException }
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::InvalidOperationException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -3702,14 +3702,14 @@
TBL_NAME = 2
PART_VALS = 3
NEW_PART = 4
FIELDS = {
- DB_NAME => { :type => ::Thrift::Types::STRING, :name => 'db_name' },
- TBL_NAME => { :type => ::Thrift::Types::STRING, :name => 'tbl_name' },
- PART_VALS => { :type => ::Thrift::Types::LIST, :name => 'part_vals', :element => { :type => ::Thrift::Types::STRING } },
- NEW_PART => { :type => ::Thrift::Types::STRUCT, :name => 'new_part', :class => Impala::Protocol::HiveMetastore::Partition }
+ DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
+ TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
+ PART_VALS => {:type => ::Thrift::Types::LIST, :name => 'part_vals', :element => {:type => ::Thrift::Types::STRING}},
+ NEW_PART => {:type => ::Thrift::Types::STRUCT, :name => 'new_part', :class => ::Impala::Protocol::HiveMetastore::Partition}
}
def struct_fields; FIELDS; end
def validate
@@ -3722,12 +3722,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
O1 = 1
O2 = 2
FIELDS = {
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::InvalidOperationException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::MetaException }
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::InvalidOperationException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -3740,12 +3740,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
NAME = 1
DEFAULTVALUE = 2
FIELDS = {
- NAME => { :type => ::Thrift::Types::STRING, :name => 'name' },
- DEFAULTVALUE => { :type => ::Thrift::Types::STRING, :name => 'defaultValue' }
+ NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
+ DEFAULTVALUE => {:type => ::Thrift::Types::STRING, :name => 'defaultValue'}
}
def struct_fields; FIELDS; end
def validate
@@ -3758,12 +3758,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
SUCCESS = 0
O1 = 1
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::STRING, :name => 'success' },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::ConfigValSecurityException }
+ SUCCESS => {:type => ::Thrift::Types::STRING, :name => 'success'},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::ConfigValSecurityException}
}
def struct_fields; FIELDS; end
def validate
@@ -3775,11 +3775,11 @@
class Partition_name_to_vals_args
include ::Thrift::Struct, ::Thrift::Struct_Union
PART_NAME = 1
FIELDS = {
- PART_NAME => { :type => ::Thrift::Types::STRING, :name => 'part_name' }
+ PART_NAME => {:type => ::Thrift::Types::STRING, :name => 'part_name'}
}
def struct_fields; FIELDS; end
def validate
@@ -3792,12 +3792,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
SUCCESS = 0
O1 = 1
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::LIST, :name => 'success', :element => { :type => ::Thrift::Types::STRING } },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRING}},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -3809,11 +3809,11 @@
class Partition_name_to_spec_args
include ::Thrift::Struct, ::Thrift::Struct_Union
PART_NAME = 1
FIELDS = {
- PART_NAME => { :type => ::Thrift::Types::STRING, :name => 'part_name' }
+ PART_NAME => {:type => ::Thrift::Types::STRING, :name => 'part_name'}
}
def struct_fields; FIELDS; end
def validate
@@ -3826,12 +3826,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
SUCCESS = 0
O1 = 1
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::MAP, :name => 'success', :key => { :type => ::Thrift::Types::STRING }, :value => { :type => ::Thrift::Types::STRING } },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -3846,20 +3846,20 @@
TBL_NAME = 2
PART_VALS = 3
EVENTTYPE = 4
FIELDS = {
- DB_NAME => { :type => ::Thrift::Types::STRING, :name => 'db_name' },
- TBL_NAME => { :type => ::Thrift::Types::STRING, :name => 'tbl_name' },
- PART_VALS => { :type => ::Thrift::Types::MAP, :name => 'part_vals', :key => { :type => ::Thrift::Types::STRING }, :value => { :type => ::Thrift::Types::STRING } },
- EVENTTYPE => { :type => ::Thrift::Types::I32, :name => 'eventType', :enum_class => Impala::Protocol::HiveMetastore::PartitionEventType }
+ DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
+ TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
+ PART_VALS => {:type => ::Thrift::Types::MAP, :name => 'part_vals', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}},
+ EVENTTYPE => {:type => ::Thrift::Types::I32, :name => 'eventType', :enum_class => ::Impala::Protocol::HiveMetastore::PartitionEventType}
}
def struct_fields; FIELDS; end
def validate
- unless @eventType.nil? || Impala::Protocol::HiveMetastore::PartitionEventType::VALID_VALUES.include?(@eventType)
+ unless @eventType.nil? || ::Impala::Protocol::HiveMetastore::PartitionEventType::VALID_VALUES.include?(@eventType)
raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field eventType!')
end
end
::Thrift::Struct.generate_accessors self
@@ -3873,16 +3873,16 @@
O4 = 4
O5 = 5
O6 = 6
FIELDS = {
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::NoSuchObjectException },
- O3 => { :type => ::Thrift::Types::STRUCT, :name => 'o3', :class => Impala::Protocol::HiveMetastore::UnknownDBException },
- O4 => { :type => ::Thrift::Types::STRUCT, :name => 'o4', :class => Impala::Protocol::HiveMetastore::UnknownTableException },
- O5 => { :type => ::Thrift::Types::STRUCT, :name => 'o5', :class => Impala::Protocol::HiveMetastore::UnknownPartitionException },
- O6 => { :type => ::Thrift::Types::STRUCT, :name => 'o6', :class => Impala::Protocol::HiveMetastore::InvalidPartitionException }
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException},
+ O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::UnknownDBException},
+ O4 => {:type => ::Thrift::Types::STRUCT, :name => 'o4', :class => ::Impala::Protocol::HiveMetastore::UnknownTableException},
+ O5 => {:type => ::Thrift::Types::STRUCT, :name => 'o5', :class => ::Impala::Protocol::HiveMetastore::UnknownPartitionException},
+ O6 => {:type => ::Thrift::Types::STRUCT, :name => 'o6', :class => ::Impala::Protocol::HiveMetastore::InvalidPartitionException}
}
def struct_fields; FIELDS; end
def validate
@@ -3897,20 +3897,20 @@
TBL_NAME = 2
PART_VALS = 3
EVENTTYPE = 4
FIELDS = {
- DB_NAME => { :type => ::Thrift::Types::STRING, :name => 'db_name' },
- TBL_NAME => { :type => ::Thrift::Types::STRING, :name => 'tbl_name' },
- PART_VALS => { :type => ::Thrift::Types::MAP, :name => 'part_vals', :key => { :type => ::Thrift::Types::STRING }, :value => { :type => ::Thrift::Types::STRING } },
- EVENTTYPE => { :type => ::Thrift::Types::I32, :name => 'eventType', :enum_class => Impala::Protocol::HiveMetastore::PartitionEventType }
+ DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
+ TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
+ PART_VALS => {:type => ::Thrift::Types::MAP, :name => 'part_vals', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}},
+ EVENTTYPE => {:type => ::Thrift::Types::I32, :name => 'eventType', :enum_class => ::Impala::Protocol::HiveMetastore::PartitionEventType}
}
def struct_fields; FIELDS; end
def validate
- unless @eventType.nil? || Impala::Protocol::HiveMetastore::PartitionEventType::VALID_VALUES.include?(@eventType)
+ unless @eventType.nil? || ::Impala::Protocol::HiveMetastore::PartitionEventType::VALID_VALUES.include?(@eventType)
raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field eventType!')
end
end
::Thrift::Struct.generate_accessors self
@@ -3925,17 +3925,17 @@
O4 = 4
O5 = 5
O6 = 6
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::BOOL, :name => 'success' },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::NoSuchObjectException },
- O3 => { :type => ::Thrift::Types::STRUCT, :name => 'o3', :class => Impala::Protocol::HiveMetastore::UnknownDBException },
- O4 => { :type => ::Thrift::Types::STRUCT, :name => 'o4', :class => Impala::Protocol::HiveMetastore::UnknownTableException },
- O5 => { :type => ::Thrift::Types::STRUCT, :name => 'o5', :class => Impala::Protocol::HiveMetastore::UnknownPartitionException },
- O6 => { :type => ::Thrift::Types::STRUCT, :name => 'o6', :class => Impala::Protocol::HiveMetastore::InvalidPartitionException }
+ SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException},
+ O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::UnknownDBException},
+ O4 => {:type => ::Thrift::Types::STRUCT, :name => 'o4', :class => ::Impala::Protocol::HiveMetastore::UnknownTableException},
+ O5 => {:type => ::Thrift::Types::STRUCT, :name => 'o5', :class => ::Impala::Protocol::HiveMetastore::UnknownPartitionException},
+ O6 => {:type => ::Thrift::Types::STRUCT, :name => 'o6', :class => ::Impala::Protocol::HiveMetastore::InvalidPartitionException}
}
def struct_fields; FIELDS; end
def validate
@@ -3948,12 +3948,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
NEW_INDEX = 1
INDEX_TABLE = 2
FIELDS = {
- NEW_INDEX => { :type => ::Thrift::Types::STRUCT, :name => 'new_index', :class => Impala::Protocol::HiveMetastore::Index },
- INDEX_TABLE => { :type => ::Thrift::Types::STRUCT, :name => 'index_table', :class => Impala::Protocol::HiveMetastore::Table }
+ NEW_INDEX => {:type => ::Thrift::Types::STRUCT, :name => 'new_index', :class => ::Impala::Protocol::HiveMetastore::Index},
+ INDEX_TABLE => {:type => ::Thrift::Types::STRUCT, :name => 'index_table', :class => ::Impala::Protocol::HiveMetastore::Table}
}
def struct_fields; FIELDS; end
def validate
@@ -3968,14 +3968,14 @@
O1 = 1
O2 = 2
O3 = 3
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::STRUCT, :name => 'success', :class => Impala::Protocol::HiveMetastore::Index },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::InvalidObjectException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::AlreadyExistsException },
- O3 => { :type => ::Thrift::Types::STRUCT, :name => 'o3', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::HiveMetastore::Index},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::InvalidObjectException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::AlreadyExistsException},
+ O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -3990,14 +3990,14 @@
BASE_TBL_NAME = 2
IDX_NAME = 3
NEW_IDX = 4
FIELDS = {
- DBNAME => { :type => ::Thrift::Types::STRING, :name => 'dbname' },
- BASE_TBL_NAME => { :type => ::Thrift::Types::STRING, :name => 'base_tbl_name' },
- IDX_NAME => { :type => ::Thrift::Types::STRING, :name => 'idx_name' },
- NEW_IDX => { :type => ::Thrift::Types::STRUCT, :name => 'new_idx', :class => Impala::Protocol::HiveMetastore::Index }
+ DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbname'},
+ BASE_TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'base_tbl_name'},
+ IDX_NAME => {:type => ::Thrift::Types::STRING, :name => 'idx_name'},
+ NEW_IDX => {:type => ::Thrift::Types::STRUCT, :name => 'new_idx', :class => ::Impala::Protocol::HiveMetastore::Index}
}
def struct_fields; FIELDS; end
def validate
@@ -4010,12 +4010,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
O1 = 1
O2 = 2
FIELDS = {
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::InvalidOperationException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::MetaException }
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::InvalidOperationException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -4030,14 +4030,14 @@
TBL_NAME = 2
INDEX_NAME = 3
DELETEDATA = 4
FIELDS = {
- DB_NAME => { :type => ::Thrift::Types::STRING, :name => 'db_name' },
- TBL_NAME => { :type => ::Thrift::Types::STRING, :name => 'tbl_name' },
- INDEX_NAME => { :type => ::Thrift::Types::STRING, :name => 'index_name' },
- DELETEDATA => { :type => ::Thrift::Types::BOOL, :name => 'deleteData' }
+ DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
+ TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
+ INDEX_NAME => {:type => ::Thrift::Types::STRING, :name => 'index_name'},
+ DELETEDATA => {:type => ::Thrift::Types::BOOL, :name => 'deleteData'}
}
def struct_fields; FIELDS; end
def validate
@@ -4051,13 +4051,13 @@
SUCCESS = 0
O1 = 1
O2 = 2
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::BOOL, :name => 'success' },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::NoSuchObjectException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -4071,13 +4071,13 @@
DB_NAME = 1
TBL_NAME = 2
INDEX_NAME = 3
FIELDS = {
- DB_NAME => { :type => ::Thrift::Types::STRING, :name => 'db_name' },
- TBL_NAME => { :type => ::Thrift::Types::STRING, :name => 'tbl_name' },
- INDEX_NAME => { :type => ::Thrift::Types::STRING, :name => 'index_name' }
+ DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
+ TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
+ INDEX_NAME => {:type => ::Thrift::Types::STRING, :name => 'index_name'}
}
def struct_fields; FIELDS; end
def validate
@@ -4091,13 +4091,13 @@
SUCCESS = 0
O1 = 1
O2 = 2
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::STRUCT, :name => 'success', :class => Impala::Protocol::HiveMetastore::Index },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::NoSuchObjectException }
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::HiveMetastore::Index},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException}
}
def struct_fields; FIELDS; end
def validate
@@ -4111,13 +4111,13 @@
DB_NAME = 1
TBL_NAME = 2
MAX_INDEXES = 3
FIELDS = {
- DB_NAME => { :type => ::Thrift::Types::STRING, :name => 'db_name' },
- TBL_NAME => { :type => ::Thrift::Types::STRING, :name => 'tbl_name' },
- MAX_INDEXES => { :type => ::Thrift::Types::I16, :name => 'max_indexes', :default => -1 }
+ DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
+ TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
+ MAX_INDEXES => {:type => ::Thrift::Types::I16, :name => 'max_indexes', :default => -1}
}
def struct_fields; FIELDS; end
def validate
@@ -4131,13 +4131,13 @@
SUCCESS = 0
O1 = 1
O2 = 2
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::LIST, :name => 'success', :element => { :type => ::Thrift::Types::STRUCT, :class => Impala::Protocol::HiveMetastore::Index } },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::NoSuchObjectException },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::Index}},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -4151,13 +4151,13 @@
DB_NAME = 1
TBL_NAME = 2
MAX_INDEXES = 3
FIELDS = {
- DB_NAME => { :type => ::Thrift::Types::STRING, :name => 'db_name' },
- TBL_NAME => { :type => ::Thrift::Types::STRING, :name => 'tbl_name' },
- MAX_INDEXES => { :type => ::Thrift::Types::I16, :name => 'max_indexes', :default => -1 }
+ DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
+ TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
+ MAX_INDEXES => {:type => ::Thrift::Types::I16, :name => 'max_indexes', :default => -1}
}
def struct_fields; FIELDS; end
def validate
@@ -4170,12 +4170,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
SUCCESS = 0
O2 = 1
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::LIST, :name => 'success', :element => { :type => ::Thrift::Types::STRING } },
- O2 => { :type => ::Thrift::Types::STRUCT, :name => 'o2', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRING}},
+ O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -4187,11 +4187,11 @@
class Create_role_args
include ::Thrift::Struct, ::Thrift::Struct_Union
ROLE = 1
FIELDS = {
- ROLE => { :type => ::Thrift::Types::STRUCT, :name => 'role', :class => Impala::Protocol::HiveMetastore::Role }
+ ROLE => {:type => ::Thrift::Types::STRUCT, :name => 'role', :class => ::Impala::Protocol::HiveMetastore::Role}
}
def struct_fields; FIELDS; end
def validate
@@ -4204,12 +4204,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
SUCCESS = 0
O1 = 1
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::BOOL, :name => 'success' },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -4221,11 +4221,11 @@
class Drop_role_args
include ::Thrift::Struct, ::Thrift::Struct_Union
ROLE_NAME = 1
FIELDS = {
- ROLE_NAME => { :type => ::Thrift::Types::STRING, :name => 'role_name' }
+ ROLE_NAME => {:type => ::Thrift::Types::STRING, :name => 'role_name'}
}
def struct_fields; FIELDS; end
def validate
@@ -4238,12 +4238,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
SUCCESS = 0
O1 = 1
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::BOOL, :name => 'success' },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -4271,12 +4271,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
SUCCESS = 0
O1 = 1
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::LIST, :name => 'success', :element => { :type => ::Thrift::Types::STRING } },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRING}},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -4293,25 +4293,25 @@
GRANTOR = 4
GRANTORTYPE = 5
GRANT_OPTION = 6
FIELDS = {
- ROLE_NAME => { :type => ::Thrift::Types::STRING, :name => 'role_name' },
- PRINCIPAL_NAME => { :type => ::Thrift::Types::STRING, :name => 'principal_name' },
- PRINCIPAL_TYPE => { :type => ::Thrift::Types::I32, :name => 'principal_type', :enum_class => Impala::Protocol::HiveMetastore::PrincipalType },
- GRANTOR => { :type => ::Thrift::Types::STRING, :name => 'grantor' },
- GRANTORTYPE => { :type => ::Thrift::Types::I32, :name => 'grantorType', :enum_class => Impala::Protocol::HiveMetastore::PrincipalType },
- GRANT_OPTION => { :type => ::Thrift::Types::BOOL, :name => 'grant_option' }
+ ROLE_NAME => {:type => ::Thrift::Types::STRING, :name => 'role_name'},
+ PRINCIPAL_NAME => {:type => ::Thrift::Types::STRING, :name => 'principal_name'},
+ PRINCIPAL_TYPE => {:type => ::Thrift::Types::I32, :name => 'principal_type', :enum_class => ::Impala::Protocol::HiveMetastore::PrincipalType},
+ GRANTOR => {:type => ::Thrift::Types::STRING, :name => 'grantor'},
+ GRANTORTYPE => {:type => ::Thrift::Types::I32, :name => 'grantorType', :enum_class => ::Impala::Protocol::HiveMetastore::PrincipalType},
+ GRANT_OPTION => {:type => ::Thrift::Types::BOOL, :name => 'grant_option'}
}
def struct_fields; FIELDS; end
def validate
- unless @principal_type.nil? || Impala::Protocol::HiveMetastore::PrincipalType::VALID_VALUES.include?(@principal_type)
+ unless @principal_type.nil? || ::Impala::Protocol::HiveMetastore::PrincipalType::VALID_VALUES.include?(@principal_type)
raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field principal_type!')
end
- unless @grantorType.nil? || Impala::Protocol::HiveMetastore::PrincipalType::VALID_VALUES.include?(@grantorType)
+ unless @grantorType.nil? || ::Impala::Protocol::HiveMetastore::PrincipalType::VALID_VALUES.include?(@grantorType)
raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field grantorType!')
end
end
::Thrift::Struct.generate_accessors self
@@ -4321,12 +4321,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
SUCCESS = 0
O1 = 1
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::BOOL, :name => 'success' },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -4340,19 +4340,19 @@
ROLE_NAME = 1
PRINCIPAL_NAME = 2
PRINCIPAL_TYPE = 3
FIELDS = {
- ROLE_NAME => { :type => ::Thrift::Types::STRING, :name => 'role_name' },
- PRINCIPAL_NAME => { :type => ::Thrift::Types::STRING, :name => 'principal_name' },
- PRINCIPAL_TYPE => { :type => ::Thrift::Types::I32, :name => 'principal_type', :enum_class => Impala::Protocol::HiveMetastore::PrincipalType }
+ ROLE_NAME => {:type => ::Thrift::Types::STRING, :name => 'role_name'},
+ PRINCIPAL_NAME => {:type => ::Thrift::Types::STRING, :name => 'principal_name'},
+ PRINCIPAL_TYPE => {:type => ::Thrift::Types::I32, :name => 'principal_type', :enum_class => ::Impala::Protocol::HiveMetastore::PrincipalType}
}
def struct_fields; FIELDS; end
def validate
- unless @principal_type.nil? || Impala::Protocol::HiveMetastore::PrincipalType::VALID_VALUES.include?(@principal_type)
+ unless @principal_type.nil? || ::Impala::Protocol::HiveMetastore::PrincipalType::VALID_VALUES.include?(@principal_type)
raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field principal_type!')
end
end
::Thrift::Struct.generate_accessors self
@@ -4362,12 +4362,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
SUCCESS = 0
O1 = 1
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::BOOL, :name => 'success' },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -4380,18 +4380,18 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
PRINCIPAL_NAME = 1
PRINCIPAL_TYPE = 2
FIELDS = {
- PRINCIPAL_NAME => { :type => ::Thrift::Types::STRING, :name => 'principal_name' },
- PRINCIPAL_TYPE => { :type => ::Thrift::Types::I32, :name => 'principal_type', :enum_class => Impala::Protocol::HiveMetastore::PrincipalType }
+ PRINCIPAL_NAME => {:type => ::Thrift::Types::STRING, :name => 'principal_name'},
+ PRINCIPAL_TYPE => {:type => ::Thrift::Types::I32, :name => 'principal_type', :enum_class => ::Impala::Protocol::HiveMetastore::PrincipalType}
}
def struct_fields; FIELDS; end
def validate
- unless @principal_type.nil? || Impala::Protocol::HiveMetastore::PrincipalType::VALID_VALUES.include?(@principal_type)
+ unless @principal_type.nil? || ::Impala::Protocol::HiveMetastore::PrincipalType::VALID_VALUES.include?(@principal_type)
raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field principal_type!')
end
end
::Thrift::Struct.generate_accessors self
@@ -4401,12 +4401,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
SUCCESS = 0
O1 = 1
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::LIST, :name => 'success', :element => { :type => ::Thrift::Types::STRUCT, :class => Impala::Protocol::HiveMetastore::Role } },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::Role}},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -4420,13 +4420,13 @@
HIVEOBJECT = 1
USER_NAME = 2
GROUP_NAMES = 3
FIELDS = {
- HIVEOBJECT => { :type => ::Thrift::Types::STRUCT, :name => 'hiveObject', :class => Impala::Protocol::HiveMetastore::HiveObjectRef },
- USER_NAME => { :type => ::Thrift::Types::STRING, :name => 'user_name' },
- GROUP_NAMES => { :type => ::Thrift::Types::LIST, :name => 'group_names', :element => { :type => ::Thrift::Types::STRING } }
+ HIVEOBJECT => {:type => ::Thrift::Types::STRUCT, :name => 'hiveObject', :class => ::Impala::Protocol::HiveMetastore::HiveObjectRef},
+ USER_NAME => {:type => ::Thrift::Types::STRING, :name => 'user_name'},
+ GROUP_NAMES => {:type => ::Thrift::Types::LIST, :name => 'group_names', :element => {:type => ::Thrift::Types::STRING}}
}
def struct_fields; FIELDS; end
def validate
@@ -4439,12 +4439,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
SUCCESS = 0
O1 = 1
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::STRUCT, :name => 'success', :class => Impala::Protocol::HiveMetastore::PrincipalPrivilegeSet },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::HiveMetastore::PrincipalPrivilegeSet},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -4458,19 +4458,19 @@
PRINCIPAL_NAME = 1
PRINCIPAL_TYPE = 2
HIVEOBJECT = 3
FIELDS = {
- PRINCIPAL_NAME => { :type => ::Thrift::Types::STRING, :name => 'principal_name' },
- PRINCIPAL_TYPE => { :type => ::Thrift::Types::I32, :name => 'principal_type', :enum_class => Impala::Protocol::HiveMetastore::PrincipalType },
- HIVEOBJECT => { :type => ::Thrift::Types::STRUCT, :name => 'hiveObject', :class => Impala::Protocol::HiveMetastore::HiveObjectRef }
+ PRINCIPAL_NAME => {:type => ::Thrift::Types::STRING, :name => 'principal_name'},
+ PRINCIPAL_TYPE => {:type => ::Thrift::Types::I32, :name => 'principal_type', :enum_class => ::Impala::Protocol::HiveMetastore::PrincipalType},
+ HIVEOBJECT => {:type => ::Thrift::Types::STRUCT, :name => 'hiveObject', :class => ::Impala::Protocol::HiveMetastore::HiveObjectRef}
}
def struct_fields; FIELDS; end
def validate
- unless @principal_type.nil? || Impala::Protocol::HiveMetastore::PrincipalType::VALID_VALUES.include?(@principal_type)
+ unless @principal_type.nil? || ::Impala::Protocol::HiveMetastore::PrincipalType::VALID_VALUES.include?(@principal_type)
raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field principal_type!')
end
end
::Thrift::Struct.generate_accessors self
@@ -4480,12 +4480,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
SUCCESS = 0
O1 = 1
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::LIST, :name => 'success', :element => { :type => ::Thrift::Types::STRUCT, :class => Impala::Protocol::HiveMetastore::HiveObjectPrivilege } },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::HiveObjectPrivilege}},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -4497,11 +4497,11 @@
class Grant_privileges_args
include ::Thrift::Struct, ::Thrift::Struct_Union
PRIVILEGES = 1
FIELDS = {
- PRIVILEGES => { :type => ::Thrift::Types::STRUCT, :name => 'privileges', :class => Impala::Protocol::HiveMetastore::PrivilegeBag }
+ PRIVILEGES => {:type => ::Thrift::Types::STRUCT, :name => 'privileges', :class => ::Impala::Protocol::HiveMetastore::PrivilegeBag}
}
def struct_fields; FIELDS; end
def validate
@@ -4514,12 +4514,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
SUCCESS = 0
O1 = 1
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::BOOL, :name => 'success' },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -4531,11 +4531,11 @@
class Revoke_privileges_args
include ::Thrift::Struct, ::Thrift::Struct_Union
PRIVILEGES = 1
FIELDS = {
- PRIVILEGES => { :type => ::Thrift::Types::STRUCT, :name => 'privileges', :class => Impala::Protocol::HiveMetastore::PrivilegeBag }
+ PRIVILEGES => {:type => ::Thrift::Types::STRUCT, :name => 'privileges', :class => ::Impala::Protocol::HiveMetastore::PrivilegeBag}
}
def struct_fields; FIELDS; end
def validate
@@ -4548,12 +4548,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
SUCCESS = 0
O1 = 1
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::BOOL, :name => 'success' },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -4566,12 +4566,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
USER_NAME = 1
GROUP_NAMES = 2
FIELDS = {
- USER_NAME => { :type => ::Thrift::Types::STRING, :name => 'user_name' },
- GROUP_NAMES => { :type => ::Thrift::Types::LIST, :name => 'group_names', :element => { :type => ::Thrift::Types::STRING } }
+ USER_NAME => {:type => ::Thrift::Types::STRING, :name => 'user_name'},
+ GROUP_NAMES => {:type => ::Thrift::Types::LIST, :name => 'group_names', :element => {:type => ::Thrift::Types::STRING}}
}
def struct_fields; FIELDS; end
def validate
@@ -4584,12 +4584,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
SUCCESS = 0
O1 = 1
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::LIST, :name => 'success', :element => { :type => ::Thrift::Types::STRING } },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRING}},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -4602,12 +4602,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
TOKEN_OWNER = 1
RENEWER_KERBEROS_PRINCIPAL_NAME = 2
FIELDS = {
- TOKEN_OWNER => { :type => ::Thrift::Types::STRING, :name => 'token_owner' },
- RENEWER_KERBEROS_PRINCIPAL_NAME => { :type => ::Thrift::Types::STRING, :name => 'renewer_kerberos_principal_name' }
+ TOKEN_OWNER => {:type => ::Thrift::Types::STRING, :name => 'token_owner'},
+ RENEWER_KERBEROS_PRINCIPAL_NAME => {:type => ::Thrift::Types::STRING, :name => 'renewer_kerberos_principal_name'}
}
def struct_fields; FIELDS; end
def validate
@@ -4620,12 +4620,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
SUCCESS = 0
O1 = 1
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::STRING, :name => 'success' },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::STRING, :name => 'success'},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -4637,11 +4637,11 @@
class Renew_delegation_token_args
include ::Thrift::Struct, ::Thrift::Struct_Union
TOKEN_STR_FORM = 1
FIELDS = {
- TOKEN_STR_FORM => { :type => ::Thrift::Types::STRING, :name => 'token_str_form' }
+ TOKEN_STR_FORM => {:type => ::Thrift::Types::STRING, :name => 'token_str_form'}
}
def struct_fields; FIELDS; end
def validate
@@ -4654,12 +4654,12 @@
include ::Thrift::Struct, ::Thrift::Struct_Union
SUCCESS = 0
O1 = 1
FIELDS = {
- SUCCESS => { :type => ::Thrift::Types::I64, :name => 'success' },
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException }
+ SUCCESS => {:type => ::Thrift::Types::I64, :name => 'success'},
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate
@@ -4671,11 +4671,11 @@
class Cancel_delegation_token_args
include ::Thrift::Struct, ::Thrift::Struct_Union
TOKEN_STR_FORM = 1
FIELDS = {
- TOKEN_STR_FORM => { :type => ::Thrift::Types::STRING, :name => 'token_str_form' }
+ TOKEN_STR_FORM => {:type => ::Thrift::Types::STRING, :name => 'token_str_form'}
}
def struct_fields; FIELDS; end
def validate
@@ -4687,10 +4687,10 @@
class Cancel_delegation_token_result
include ::Thrift::Struct, ::Thrift::Struct_Union
O1 = 1
FIELDS = {
- O1 => { :type => ::Thrift::Types::STRUCT, :name => 'o1', :class => Impala::Protocol::HiveMetastore::MetaException }
+ O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
}
def struct_fields; FIELDS; end
def validate