Class: Hadoop::API::MetricsContext

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

Constant Summary collapse

NAME =
1
ISMONITORING =
2
PERIOD =
3
RECORDS =
4
FIELDS =
{
  NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
  ISMONITORING => {:type => ::Thrift::Types::BOOL, :name => 'isMonitoring'},
  PERIOD => {:type => ::Thrift::Types::I32, :name => 'period'},
  RECORDS => {:type => ::Thrift::Types::MAP, :name => 'records', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::LIST, :element => {:type => ::Thrift::Types::STRUCT, :class => Hadoop::API::MetricsRecord}}}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



186
187
# File 'lib/thrift/common_types.rb', line 186

def validate
end