Class: Pgoutput::Decoder::Events::Update

Inherits:
Data
  • Object
show all
Defined in:
lib/pgoutput/decoder/events.rb

Overview

Decoded update row-change event class.

Returns:

  • (Class)

Instance Attribute Summary collapse

Instance Attribute Details

#new_valuesObject (readonly)

Returns the value of attribute new_values

Returns:

  • (Object)

    the current value of new_values



34
35
36
# File 'lib/pgoutput/decoder/events.rb', line 34

def new_values
  @new_values
end

#old_keyObject (readonly)

Returns the value of attribute old_key

Returns:

  • (Object)

    the current value of old_key



34
35
36
# File 'lib/pgoutput/decoder/events.rb', line 34

def old_key
  @old_key
end

#old_valuesObject (readonly)

Returns the value of attribute old_values

Returns:

  • (Object)

    the current value of old_values



34
35
36
# File 'lib/pgoutput/decoder/events.rb', line 34

def old_values
  @old_values
end

#relation_idObject (readonly)

Returns the value of attribute relation_id

Returns:

  • (Object)

    the current value of relation_id



34
35
36
# File 'lib/pgoutput/decoder/events.rb', line 34

def relation_id
  @relation_id
end

#schemaObject (readonly)

Returns the value of attribute schema

Returns:

  • (Object)

    the current value of schema



34
35
36
# File 'lib/pgoutput/decoder/events.rb', line 34

def schema
  @schema
end

#tableObject (readonly)

Returns the value of attribute table

Returns:

  • (Object)

    the current value of table



34
35
36
# File 'lib/pgoutput/decoder/events.rb', line 34

def table
  @table
end

#transaction_idObject (readonly)

Returns the value of attribute transaction_id

Returns:

  • (Object)

    the current value of transaction_id



34
35
36
# File 'lib/pgoutput/decoder/events.rb', line 34

def transaction_id
  @transaction_id
end