Class: Hadoop::API::Jobtracker::ThriftUserJobCounts

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

Overview

Container structure for job counts for a given user

Constant Summary collapse

NPREP =
1
NRUNNING =
2
NSUCCEEDED =
3
NFAILED =
4
NKILLED =
5
FIELDS =
{
  NPREP => {:type => ::Thrift::Types::I32, :name => 'nPrep'},
  NRUNNING => {:type => ::Thrift::Types::I32, :name => 'nRunning'},
  NSUCCEEDED => {:type => ::Thrift::Types::I32, :name => 'nSucceeded'},
  NFAILED => {:type => ::Thrift::Types::I32, :name => 'nFailed'},
  NKILLED => {:type => ::Thrift::Types::I32, :name => 'nKilled'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



604
605
# File 'lib/thrift/jobtracker_types.rb', line 604

def validate
end