Sha256: b51d09fae486b2752405ac52e8b3f23497bc06cf211d70d477118d79657f9651

Contents?: true

Size: 712 Bytes

Versions: 40

Compression:

Stored size: 712 Bytes

Contents

require 'arc-furnace/source'

module ArcFurnace
  class ErrorHandler

    # Called during a join operation when a source row is missing a value for the join key.
    def missing_join_key(source_row:, node_id:)
      # nothing
    end

    # Called during a join operation when the hash is missing a value for the join key.
    def missing_hash_key(key:, source_row:, node_id:)
      # nothing
    end

    # Called when a hash node is missing a primary key during the build process.
    def missing_primary_key(source_row:, node_id:)
      # nothing
    end

    # Called when a hash node has duplicate source rows
    def duplicate_primary_key(duplicate_row:, key:, node_id:)
      # nothing
    end

  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
arc-furnace-0.1.42 lib/arc-furnace/error_handler.rb
arc-furnace-0.1.41 lib/arc-furnace/error_handler.rb
arc-furnace-0.1.40 lib/arc-furnace/error_handler.rb
arc-furnace-0.1.39 lib/arc-furnace/error_handler.rb
arc-furnace-0.1.38 lib/arc-furnace/error_handler.rb
arc-furnace-0.1.37 lib/arc-furnace/error_handler.rb
arc-furnace-0.1.36 lib/arc-furnace/error_handler.rb
arc-furnace-0.1.35 lib/arc-furnace/error_handler.rb
arc-furnace-0.1.34 lib/arc-furnace/error_handler.rb
arc-furnace-0.1.33 lib/arc-furnace/error_handler.rb
arc-furnace-0.1.32 lib/arc-furnace/error_handler.rb
arc-furnace-0.1.31 lib/arc-furnace/error_handler.rb
arc-furnace-0.1.30 lib/arc-furnace/error_handler.rb
arc-furnace-0.1.29 lib/arc-furnace/error_handler.rb
arc-furnace-0.1.28 lib/arc-furnace/error_handler.rb
arc-furnace-0.1.27 lib/arc-furnace/error_handler.rb
arc-furnace-0.1.26 lib/arc-furnace/error_handler.rb
arc-furnace-0.1.25 lib/arc-furnace/error_handler.rb
arc-furnace-0.1.24 lib/arc-furnace/error_handler.rb
arc-furnace-0.1.23 lib/arc-furnace/error_handler.rb