Class: ThriftHive::FetchN_result

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/thrift/thrift_hive.rb

Constant Summary collapse

SUCCESS =
0
EX =
1
FIELDS =
{
  SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRING}},
  EX => {:type => ::Thrift::Types::STRUCT, :name => 'ex', :class => HiveServerException}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



330
# File 'lib/thrift/thrift_hive.rb', line 330

def struct_fields; FIELDS; end

#validateObject



332
333
# File 'lib/thrift/thrift_hive.rb', line 332

def validate
end