Class: Chicago::ETL::SchemaTableStageBuilder

Inherits:
StageBuilder show all
Defined in:
lib/chicago/etl/schema_table_stage_builder.rb

Overview

Provides DSL methods for building a DataSetBatchStage.

Clients shouldn’t need to instantiate this directly, but instead call the protected methods in the context of defining a Pipeline

Instance Method Summary collapse

Methods inherited from StageBuilder

#initialize

Constructor Details

This class inherits a constructor from Chicago::ETL::StageBuilder

Instance Method Details

#build(name, options, &block) ⇒ Object



10
11
12
13
14
15
# File 'lib/chicago/etl/schema_table_stage_builder.rb', line 10

def build(name, options, &block)
  @wrapped_builder = SchemaSinksAndTransformationsBuilder.
    new(@db, schema_table(name, options))

  super
end