Class: PgEventstore::EventGlobalIndex::SubscriptionRepr
Overview
EventGlobalIndex representation that is used in subscriptions
Instance Attribute Summary collapse
Instance Method Summary
collapse
included, #init_default_values, #initialize, #options_hash, #readonly!, #readonly?, #readonly_error
Instance Attribute Details
#event_type_partition_id ⇒ Integer
41
|
# File 'lib/pg_eventstore/event_global_index.rb', line 41
attribute(:event_type_partition_id)
|
#global_position ⇒ Integer
35
|
# File 'lib/pg_eventstore/event_global_index.rb', line 35
attribute(:global_position)
|
#subscription_position ⇒ Integer
38
|
# File 'lib/pg_eventstore/event_global_index.rb', line 38
attribute(:subscription_position)
|
Instance Method Details
#to_subscription_position_attrs ⇒ Hash
44
45
46
|
# File 'lib/pg_eventstore/event_global_index.rb', line 44
def to_subscription_position_attrs
{ global_position:, subscription_position: }
end
|