Class: Partitioned::PartitionedBase::Configurator::Data

Inherits:
Object
  • Object
show all
Defined in:
lib/partitioned/partitioned_base/configurator/data.rb

Overview

The state configured by the Dsl and read by Reader.

Direct Known Subclasses

MultiLevel::Configurator::Data

Defined Under Namespace

Classes: ForeignKey, Index

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeData

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_hooksObject

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_nameObject

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_constraintObject

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_nameObject

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_keysObject

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

#indexesObject

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_neededObject

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_neededObject

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_neededObject

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_clauseObject

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_prefixObject

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_fieldObject

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_nameObject

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_nameObject

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_nameObject

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_nameObject

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_nameObject

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_nameObject

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