Class: Naf::HistoricalJobAffinityTab
- Inherits:
-
ByHistoricalJobId
- Object
- Partitioned::ByIntegerField
- ByHistoricalJobId
- Naf::HistoricalJobAffinityTab
- Defined in:
- app/models/naf/historical_job_affinity_tab.rb
Instance Method Summary collapse
- #command ⇒ Object
-
#job ⇒ Object
————————- *** Instance Methods *** +++++++++++++++++++++++++.
- #script_type_name ⇒ Object
Methods inherited from ByHistoricalJobId
connection, full_table_name_prefix, partition_integer_field, partition_num_lead_buffers, partition_table_size
Instance Method Details
#command ⇒ Object
56 57 58 |
# File 'app/models/naf/historical_job_affinity_tab.rb', line 56 def command job.command end |
#job ⇒ Object
*** Instance Methods *** +++++++++++++++++++++++++
46 47 48 49 50 |
# File 'app/models/naf/historical_job_affinity_tab.rb', line 46 def job ::Naf::HistoricalJob. from_partition(id). where(id: historical_job_id).first end |
#script_type_name ⇒ Object
52 53 54 |
# File 'app/models/naf/historical_job_affinity_tab.rb', line 52 def script_type_name job.script_type_name end |