Class: Hadoop::API::Jobtracker::ThriftCounter

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

Overview

Counter which represents some custom job metric

Constant Summary collapse

NAME =
1
DISPLAYNAME =
2
VALUE =
3
FIELDS =
{
  NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
  DISPLAYNAME => {:type => ::Thrift::Types::STRING, :name => 'displayName'},
  VALUE => {:type => ::Thrift::Types::I64, :name => 'value'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



158
159
# File 'lib/thrift/jobtracker_types.rb', line 158

def validate
end