Class: Pcrd::Replication::Pgoutput::Messages::Relation
- Inherits:
-
Data
- Object
- Data
- Pcrd::Replication::Pgoutput::Messages::Relation
- Defined in:
- lib/pcrd/replication/pgoutput/messages.rb
Overview
R — relation (table schema snapshot) id: Integer — relation OID namespace: String — schema name (empty for pg_catalog) name: String — table name replica_identity: String — one of ‘d’, ‘n’, ‘f’, ‘i’ columns: Array<RelationColumn>
Instance Attribute Summary collapse
-
#columns ⇒ Object
readonly
Returns the value of attribute columns.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#namespace ⇒ Object
readonly
Returns the value of attribute namespace.
-
#replica_identity ⇒ Object
readonly
Returns the value of attribute replica_identity.
Instance Attribute Details
#columns ⇒ Object (readonly)
Returns the value of attribute columns
40 41 42 |
# File 'lib/pcrd/replication/pgoutput/messages.rb', line 40 def columns @columns end |
#id ⇒ Object (readonly)
Returns the value of attribute id
40 41 42 |
# File 'lib/pcrd/replication/pgoutput/messages.rb', line 40 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name
40 41 42 |
# File 'lib/pcrd/replication/pgoutput/messages.rb', line 40 def name @name end |
#namespace ⇒ Object (readonly)
Returns the value of attribute namespace
40 41 42 |
# File 'lib/pcrd/replication/pgoutput/messages.rb', line 40 def namespace @namespace end |
#replica_identity ⇒ Object (readonly)
Returns the value of attribute replica_identity
40 41 42 |
# File 'lib/pcrd/replication/pgoutput/messages.rb', line 40 def replica_identity @replica_identity end |