Class: Hadoop::API::Jobtracker::ThriftTaskInProgressList

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

Overview

Container structure of a list of tasks. This list may have been put together according to some selection criteria. That is, it may not correspond to the mapTasks, or reduceTasks, etc. It may even contain tasks of different types.

Constant Summary collapse

TASKS =
1
NUMTOTALTASKS =
2
FIELDS =
{
  # A (possibly incomplete) list of tasks
  TASKS => {:type => ::Thrift::Types::LIST, :name => 'tasks', :element => {:type => ::Thrift::Types::STRUCT, :class => Hadoop::API::Jobtracker::ThriftTaskInProgress}},
  # The total number of tasks in this full list.
  NUMTOTALTASKS => {:type => ::Thrift::Types::I32, :name => 'numTotalTasks'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



520
521
# File 'lib/thrift/jobtracker_types.rb', line 520

def validate
end