Class: BigqueryMigration

Inherits:
Object
  • Object
show all
Defined in:
lib/bigquery_migration.rb,
lib/bigquery_migration/cli.rb,
lib/bigquery_migration/error.rb,
lib/bigquery_migration/action.rb,
lib/bigquery_migration/logger.rb,
lib/bigquery_migration/schema.rb,
lib/bigquery_migration/version.rb,
lib/bigquery_migration/hash_util.rb,
lib/bigquery_migration/table_data.rb,
lib/bigquery_migration/action_runner.rb,
lib/bigquery_migration/config_loader.rb,
lib/bigquery_migration/time_with_zone.rb,
lib/bigquery_migration/bigquery_wrapper.rb

Defined Under Namespace

Classes: Action, ActionRunner, BigqueryWrapper, CLI, ConfigError, ConfigLoader, Error, HashUtil, JobTimeoutError, LogFormatter, Logger, NotFoundError, Schema, TableData, TimeWithZone

Constant Summary collapse

VERSION =
"0.3.2"

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ BigqueryMigration

Returns a new instance of BigqueryMigration.


16
17
18
# File 'lib/bigquery_migration.rb', line 16

def initialize(*args)
  @wrapper = BigqueryWrapper.new(*args)
end

Class Method Details

.loggerObject


8
9
10
# File 'lib/bigquery_migration.rb', line 8

def self.logger
  @logger ||= Logger.new(STDOUT)
end

.logger=(logger) ⇒ Object


12
13
14
# File 'lib/bigquery_migration.rb', line 12

def self.logger=(logger)
  @logger = logger
end