class Tableflip::Strategy

Attributes

actions[RW]

Properties ===========================================================

block_size[RW]
complete[RW]
config_path[RW]
debug_queries[RW]
encoding[RW]
exclude_columns[RW]
fuzz_intensity[RW]
message[RW]
migrate_method[RW]
persist[RW]
source_env[RW]
tables[RW]
target_env[RW]
where[RW]

Public Class Methods

new() { |self| ... } click to toggle source

Instance Methods =====================================================

# File lib/tableflip/strategy.rb, line 26
def initialize
  @actions = [ ]
  @tables = [ ]
  @exclude_columns = [ ]
  @fuzz_intensity = 1
  @block_size = 10000
  @migrate_method = :replace

  yield(self) if (block_given?)
end

Public Instance Methods

complete?() click to toggle source
# File lib/tableflip/strategy.rb, line 41
def complete?
  !!@complete
end
debug_queries?() click to toggle source
# File lib/tableflip/strategy.rb, line 45
def debug_queries?
  !!@debug_queries
end
persist?() click to toggle source
# File lib/tableflip/strategy.rb, line 37
def persist?
  !!@persist
end