Class: Hadoop::API::MetricsRecord

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

Constant Summary collapse

TAGS =
2
METRICS =
3
FIELDS =
{
  TAGS => {:type => ::Thrift::Types::MAP, :name => 'tags', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}},
  METRICS => {:type => ::Thrift::Types::MAP, :name => 'metrics', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::I64}}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



162
# File 'lib/thrift/common_types.rb', line 162

def struct_fields; FIELDS; end

#validateObject



164
165
# File 'lib/thrift/common_types.rb', line 164

def validate
end