Class: Naf::ByHistoricalJobId

Inherits:
Partitioned::ByIntegerField
  • Object
show all
Defined in:
app/models/naf/by_historical_job_id.rb

Class Method Summary collapse

Class Method Details

.connectionObject

[View source]

69
70
71
# File 'app/models/naf/by_historical_job_id.rb', line 69

def self.connection
  return ::Naf::NafBase.connection
end

.full_table_name_prefixObject

[View source]

73
74
75
# File 'app/models/naf/by_historical_job_id.rb', line 73

def self.full_table_name_prefix
  return ::Naf::NafBase.full_table_name_prefix
end

.partition_integer_fieldInteger

the field to partition on

Returns:

  • (Integer)

    re-routed to Naf::ByHistoricalJobId#self#self.partition_foreign_key

[View source]

65
66
67
# File 'app/models/naf/by_historical_job_id.rb', line 65

def self.partition_integer_field
  return :historical_job_id
end

.partition_num_lead_buffersObject

[View source]

81
82
83
# File 'app/models/naf/by_historical_job_id.rb', line 81

def self.partition_num_lead_buffers
  return ::Naf::HistoricalJob.partition_num_lead_buffers
end

.partition_table_sizeObject

[View source]

77
78
79
# File 'app/models/naf/by_historical_job_id.rb', line 77

def self.partition_table_size
  return ::Naf::HistoricalJob.partition_table_size
end