Class: Hadoop::API::HadoopServiceBase::GetAllMetrics_result

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

Constant Summary collapse

SUCCESS =
0
ERR =
1
FIELDS =
{
  SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => Hadoop::API::MetricsContext}},
  ERR => {:type => ::Thrift::Types::STRUCT, :name => 'err', :class => Hadoop::API::IOException}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



267
# File 'lib/thrift/hadoop_service_base.rb', line 267

def struct_fields; FIELDS; end

#validateObject



269
270
# File 'lib/thrift/hadoop_service_base.rb', line 269

def validate
end