Class: ETL::Row

Inherits:
Hash
  • Object
show all
Defined in:
lib/etl/row.rb

Overview

This class represents a single row currently passing through the ETL pipeline

Constant Summary collapse

CHANGE_TYPES =

All change types

[:insert, :update, :delete]

Instance Attribute Summary collapse

Instance Attribute Details

#change_typeObject

Get the change type, defaults to :insert



13
14
15
# File 'lib/etl/row.rb', line 13

def change_type
  @change_type
end

#sourceObject

Accessor for the originating source



7
8
9
# File 'lib/etl/row.rb', line 7

def source
  @source
end