Class: Pgoutput::Decoder::Events::Begin

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

Overview

Decoded transaction begin event class.

Returns:

  • (Class)

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#commit_timestampObject (readonly)

Returns the value of attribute commit_timestamp

Returns:

  • (Object)

    the current value of commit_timestamp



13
14
15
# File 'lib/pgoutput/decoder/events.rb', line 13

def commit_timestamp
  @commit_timestamp
end

#final_lsnObject (readonly)

Returns the value of attribute final_lsn

Returns:

  • (Object)

    the current value of final_lsn



13
14
15
# File 'lib/pgoutput/decoder/events.rb', line 13

def final_lsn
  @final_lsn
end

#transaction_idObject (readonly)

Returns the value of attribute transaction_id

Returns:

  • (Object)

    the current value of transaction_id



13
14
15
# File 'lib/pgoutput/decoder/events.rb', line 13

def transaction_id
  @transaction_id
end

Class Method Details

.newBegin

Parameters:

  • transaction_id (Integer)
  • final_lsn (Integer)
  • commit_timestamp (Integer)

Returns:



60
# File 'sig/pgoutput_decoder.rbs', line 60

def self.new: (Integer transaction_id, Integer final_lsn, Integer commit_timestamp) -> Begin