Class: PgParty::Config
- Inherits:
-
Object
- Object
- PgParty::Config
- Defined in:
- lib/pg_party/config.rb
Instance Attribute Summary collapse
-
#caching ⇒ Object
Returns the value of attribute caching.
-
#caching_ttl ⇒ Object
Returns the value of attribute caching_ttl.
-
#create_template_tables ⇒ Object
Returns the value of attribute create_template_tables.
-
#create_with_primary_key ⇒ Object
Returns the value of attribute create_with_primary_key.
-
#include_subpartitions_in_partition_list ⇒ Object
Returns the value of attribute include_subpartitions_in_partition_list.
-
#schema_exclude_partitions ⇒ Object
Returns the value of attribute schema_exclude_partitions.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
13 14 15 16 17 18 19 20 |
# File 'lib/pg_party/config.rb', line 13 def initialize @caching = true @caching_ttl = -1 @schema_exclude_partitions = true @create_template_tables = true @create_with_primary_key = false @include_subpartitions_in_partition_list = false end |
Instance Attribute Details
#caching ⇒ Object
Returns the value of attribute caching.
5 6 7 |
# File 'lib/pg_party/config.rb', line 5 def caching @caching end |
#caching_ttl ⇒ Object
Returns the value of attribute caching_ttl.
5 6 7 |
# File 'lib/pg_party/config.rb', line 5 def caching_ttl @caching_ttl end |
#create_template_tables ⇒ Object
Returns the value of attribute create_template_tables.
5 6 7 |
# File 'lib/pg_party/config.rb', line 5 def create_template_tables @create_template_tables end |
#create_with_primary_key ⇒ Object
Returns the value of attribute create_with_primary_key.
5 6 7 |
# File 'lib/pg_party/config.rb', line 5 def create_with_primary_key @create_with_primary_key end |
#include_subpartitions_in_partition_list ⇒ Object
Returns the value of attribute include_subpartitions_in_partition_list.
5 6 7 |
# File 'lib/pg_party/config.rb', line 5 def include_subpartitions_in_partition_list @include_subpartitions_in_partition_list end |
#schema_exclude_partitions ⇒ Object
Returns the value of attribute schema_exclude_partitions.
5 6 7 |
# File 'lib/pg_party/config.rb', line 5 def schema_exclude_partitions @schema_exclude_partitions end |