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_values ⇒ Object (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_key ⇒ Object (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_values ⇒ Object (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_id ⇒ Object (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

#schema ⇒ Object (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

#table ⇒ Object (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_id ⇒ Object (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