Class: PG::Replication::PGOutput::Column

Inherits:
Data
  • Object
show all
Defined in:
lib/pg/replication/pg_output.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#flagsObject (readonly)

Returns the value of attribute flags

Returns:

  • (Object)

    the current value of flags



29
30
31
# File 'lib/pg/replication/pg_output.rb', line 29

def flags
  @flags
end

#modifierObject (readonly)

Returns the value of attribute modifier

Returns:

  • (Object)

    the current value of modifier



29
30
31
# File 'lib/pg/replication/pg_output.rb', line 29

def modifier
  @modifier
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



29
30
31
# File 'lib/pg/replication/pg_output.rb', line 29

def name
  @name
end

#oidObject (readonly)

Returns the value of attribute oid

Returns:

  • (Object)

    the current value of oid



29
30
31
# File 'lib/pg/replication/pg_output.rb', line 29

def oid
  @oid
end

Instance Method Details

#key?Boolean

Returns:

  • (Boolean)


30
31
32
# File 'lib/pg/replication/pg_output.rb', line 30

def key?
  flags == 1
end