Class: Hive::Thrift::Query

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

Constant Summary collapse

QUERYID =
1
QUERYTYPE =
2
QUERYATTRIBUTES =
3
QUERYCOUNTERS =
4
STAGEGRAPH =
5
STAGELIST =
6
DONE =
7
STARTED =
8
FIELDS =
{
  QUERYID => {:type => ::Thrift::Types::STRING, :name => 'queryId'},
  QUERYTYPE => {:type => ::Thrift::Types::STRING, :name => 'queryType'},
  QUERYATTRIBUTES => {:type => ::Thrift::Types::MAP, :name => 'queryAttributes', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}},
  QUERYCOUNTERS => {:type => ::Thrift::Types::MAP, :name => 'queryCounters', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::I64}},
  STAGEGRAPH => {:type => ::Thrift::Types::STRUCT, :name => 'stageGraph', :class => ::Hive::Thrift::Graph},
  STAGELIST => {:type => ::Thrift::Types::LIST, :name => 'stageList', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Hive::Thrift::Stage}},
  DONE => {:type => ::Thrift::Types::BOOL, :name => 'done'},
  STARTED => {:type => ::Thrift::Types::BOOL, :name => 'started'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject


232
# File 'lib/thrift/queryplan_types.rb', line 232

def struct_fields; FIELDS; end

#validateObject


234
235
# File 'lib/thrift/queryplan_types.rb', line 234

def validate
end