Class: Hadoop::API::Jobtracker::ThriftJobID

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

Overview

Unique identifier for each job

Constant Summary collapse

JOBTRACKERID =
1
JOBID =
2
ASSTRING =
3
FIELDS =
{
  # Unique id of jobtracker
  JOBTRACKERID => {:type => ::Thrift::Types::STRING, :name => 'jobTrackerID'},
  # Unique (to JT) job id
  JOBID => {:type => ::Thrift::Types::I32, :name => 'jobID'},
  # Flattened as a string
  ASSTRING => {:type => ::Thrift::Types::STRING, :name => 'asString'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



102
103
# File 'lib/thrift/jobtracker_types.rb', line 102

def validate
end