Class: Hadoop::API::Jobtracker::ThriftCounterGroup

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

Overview

Counters are organized by group

Constant Summary collapse

NAME =
1
DISPLAYNAME =
2
COUNTERS =
3
FIELDS =
{
  NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
  DISPLAYNAME => {:type => ::Thrift::Types::STRING, :name => 'displayName'},
  COUNTERS => {:type => ::Thrift::Types::MAP, :name => 'counters', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRUCT, :class => Hadoop::API::Jobtracker::ThriftCounter}}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



177
# File 'lib/thrift/jobtracker_types.rb', line 177

def struct_fields; FIELDS; end

#validateObject



179
180
# File 'lib/thrift/jobtracker_types.rb', line 179

def validate
end