Sha256: 68bfc6123746e80fdf0fc8a9101ce13b0d3c16650b849d00d4d02e1d7f4a5561

Contents?: true

Size: 607 Bytes

Versions: 27

Compression:

Stored size: 607 Bytes

Contents

module ETL #:nodoc:
  module Processor #:nodoc:
    # Processor which processes a specific row. Unlike a transformer, which deals with a specific
    # value in the row, row processors can process an entire row at once, which can be used to 
    # explode a single row into multiple rows (for example)
    class RowProcessor < Processor
      # Initialize the processor
      def initialize(control, configuration)
        super
      end
      # Process the specified row. This method must return the row.
      def process(row)
        raise "process_row is an abstract method"
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 7 rubygems

Version Path
aeden-activewarehouse-etl-0.9.1 etl/lib/etl/processor/row_processor.rb
colincasey-activewarehouse-etl-0.9.4 lib/etl/processor/row_processor.rb
colincasey-activewarehouse-etl-0.9.5 lib/etl/processor/row_processor.rb
factorylabs-activewarehouse-etl-0.9.1.2 lib/etl/processor/row_processor.rb
factorylabs-activewarehouse-etl-0.9.1.3 lib/etl/processor/row_processor.rb
factorylabs-activewarehouse-etl-0.9.1.4 lib/etl/processor/row_processor.rb
factorylabs-activewarehouse-etl-0.9.1.5 lib/etl/processor/row_processor.rb
factorylabs-activewarehouse-etl-0.9.1.6 lib/etl/processor/row_processor.rb
factorylabs-activewarehouse-etl-0.9.1.7 lib/etl/processor/row_processor.rb
jayzes-activewarehouse-etl-0.9.1.1 lib/etl/processor/row_processor.rb
jayzes-activewarehouse-etl-0.9.1.2 lib/etl/processor/row_processor.rb
jayzes-activewarehouse-etl-0.9.1 lib/etl/processor/row_processor.rb
activewarehouse-etl-0.9.5.rc1 lib/etl/processor/row_processor.rb
darrell-activewarehouse-etl-0.9.1.6 lib/etl/processor/row_processor.rb
darrell-activewarehouse-etl-0.9.1.4 lib/etl/processor/row_processor.rb
factorylabs-activewarehouse-etl-0.9.1.8 lib/etl/processor/row_processor.rb
balinterdi-activewarehouse-etl-0.9.2 lib/etl/processor/row_processor.rb
activewarehouse-etl-0.7.0 lib/etl/processor/row_processor.rb
activewarehouse-etl-0.8.0 lib/etl/processor/row_processor.rb
activewarehouse-etl-0.7.2 lib/etl/processor/row_processor.rb