Class: Partitioned::PartitionedBase::Configurator::Data
- Inherits:
-
Object
- Object
- Partitioned::PartitionedBase::Configurator::Data
- Defined in:
- lib/partitioned/partitioned_base/configurator/data.rb
Overview
The state configured by the Dsl and read by Reader.
Direct Known Subclasses
Defined Under Namespace
Classes: ForeignKey, Index
Instance Attribute Summary collapse
-
#after_partition_table_create_hooks ⇒ Object
Returns the value of attribute after_partition_table_create_hooks.
-
#base_name ⇒ Object
Returns the value of attribute base_name.
-
#check_constraint ⇒ Object
Returns the value of attribute check_constraint.
-
#encoded_name ⇒ Object
Returns the value of attribute encoded_name.
-
#foreign_keys ⇒ Object
Returns the value of attribute foreign_keys.
-
#indexes ⇒ Object
Returns the value of attribute indexes.
-
#janitorial_archives_needed ⇒ Object
Returns the value of attribute janitorial_archives_needed.
-
#janitorial_creates_needed ⇒ Object
Returns the value of attribute janitorial_creates_needed.
-
#janitorial_drops_needed ⇒ Object
Returns the value of attribute janitorial_drops_needed.
-
#last_partitions_order_by_clause ⇒ Object
Returns the value of attribute last_partitions_order_by_clause.
-
#name_prefix ⇒ Object
Returns the value of attribute name_prefix.
-
#on_field ⇒ Object
Returns the value of attribute on_field.
-
#parent_table_name ⇒ Object
Returns the value of attribute parent_table_name.
-
#parent_table_schema_name ⇒ Object
Returns the value of attribute parent_table_schema_name.
-
#part_name ⇒ Object
Returns the value of attribute part_name.
-
#schema_name ⇒ Object
Returns the value of attribute schema_name.
-
#table_alias_name ⇒ Object
Returns the value of attribute table_alias_name.
-
#table_name ⇒ Object
Returns the value of attribute table_name.
Instance Method Summary collapse
-
#initialize ⇒ Data
constructor
A new instance of Data.
Constructor Details
#initialize ⇒ Data
Returns a new instance of Data.
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
# File 'lib/partitioned/partitioned_base/configurator/data.rb', line 48 def initialize @on_field = nil @indexes = [] @foreign_keys = [] @last_partitions_order_by_clause = nil @schema_name = nil @name_prefix = nil @base_name = nil @part_name = nil @table_name = nil @table_alias_name = nil @parent_table_schema_name = nil @parent_table_name = nil @check_constraint = nil @encoded_name = nil @janitorial_creates_needed = nil @janitorial_archives_needed = nil @janitorial_drops_needed = nil @after_partition_table_create_hooks = [] end |
Instance Attribute Details
#after_partition_table_create_hooks ⇒ Object
Returns the value of attribute after_partition_table_create_hooks.
41 42 43 |
# File 'lib/partitioned/partitioned_base/configurator/data.rb', line 41 def after_partition_table_create_hooks @after_partition_table_create_hooks end |
#base_name ⇒ Object
Returns the value of attribute base_name.
41 42 43 |
# File 'lib/partitioned/partitioned_base/configurator/data.rb', line 41 def base_name @base_name end |
#check_constraint ⇒ Object
Returns the value of attribute check_constraint.
41 42 43 |
# File 'lib/partitioned/partitioned_base/configurator/data.rb', line 41 def check_constraint @check_constraint end |
#encoded_name ⇒ Object
Returns the value of attribute encoded_name.
41 42 43 |
# File 'lib/partitioned/partitioned_base/configurator/data.rb', line 41 def encoded_name @encoded_name end |
#foreign_keys ⇒ Object
Returns the value of attribute foreign_keys.
41 42 43 |
# File 'lib/partitioned/partitioned_base/configurator/data.rb', line 41 def foreign_keys @foreign_keys end |
#indexes ⇒ Object
Returns the value of attribute indexes.
41 42 43 |
# File 'lib/partitioned/partitioned_base/configurator/data.rb', line 41 def indexes @indexes end |
#janitorial_archives_needed ⇒ Object
Returns the value of attribute janitorial_archives_needed.
41 42 43 |
# File 'lib/partitioned/partitioned_base/configurator/data.rb', line 41 def janitorial_archives_needed @janitorial_archives_needed end |
#janitorial_creates_needed ⇒ Object
Returns the value of attribute janitorial_creates_needed.
41 42 43 |
# File 'lib/partitioned/partitioned_base/configurator/data.rb', line 41 def janitorial_creates_needed @janitorial_creates_needed end |
#janitorial_drops_needed ⇒ Object
Returns the value of attribute janitorial_drops_needed.
41 42 43 |
# File 'lib/partitioned/partitioned_base/configurator/data.rb', line 41 def janitorial_drops_needed @janitorial_drops_needed end |
#last_partitions_order_by_clause ⇒ Object
Returns the value of attribute last_partitions_order_by_clause.
41 42 43 |
# File 'lib/partitioned/partitioned_base/configurator/data.rb', line 41 def last_partitions_order_by_clause @last_partitions_order_by_clause end |
#name_prefix ⇒ Object
Returns the value of attribute name_prefix.
41 42 43 |
# File 'lib/partitioned/partitioned_base/configurator/data.rb', line 41 def name_prefix @name_prefix end |
#on_field ⇒ Object
Returns the value of attribute on_field.
41 42 43 |
# File 'lib/partitioned/partitioned_base/configurator/data.rb', line 41 def on_field @on_field end |
#parent_table_name ⇒ Object
Returns the value of attribute parent_table_name.
41 42 43 |
# File 'lib/partitioned/partitioned_base/configurator/data.rb', line 41 def parent_table_name @parent_table_name end |
#parent_table_schema_name ⇒ Object
Returns the value of attribute parent_table_schema_name.
41 42 43 |
# File 'lib/partitioned/partitioned_base/configurator/data.rb', line 41 def parent_table_schema_name @parent_table_schema_name end |
#part_name ⇒ Object
Returns the value of attribute part_name.
41 42 43 |
# File 'lib/partitioned/partitioned_base/configurator/data.rb', line 41 def part_name @part_name end |
#schema_name ⇒ Object
Returns the value of attribute schema_name.
41 42 43 |
# File 'lib/partitioned/partitioned_base/configurator/data.rb', line 41 def schema_name @schema_name end |
#table_alias_name ⇒ Object
Returns the value of attribute table_alias_name.
41 42 43 |
# File 'lib/partitioned/partitioned_base/configurator/data.rb', line 41 def table_alias_name @table_alias_name end |
#table_name ⇒ Object
Returns the value of attribute table_name.
41 42 43 |
# File 'lib/partitioned/partitioned_base/configurator/data.rb', line 41 def table_name @table_name end |