Class: Innodb::Page::FilHeader

Inherits:
Struct
  • Object
show all
Defined in:
lib/innodb/page.rb,
lib/innodb/page.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#checksumObject

Returns the value of attribute checksum

Returns:

  • (Object)

    the current value of checksum



20
21
22
# File 'lib/innodb/page.rb', line 20

def checksum
  @checksum
end

#flush_lsnObject

Returns the value of attribute flush_lsn

Returns:

  • (Object)

    the current value of flush_lsn



20
21
22
# File 'lib/innodb/page.rb', line 20

def flush_lsn
  @flush_lsn
end

#lsnObject

Returns the value of attribute lsn

Returns:

  • (Object)

    the current value of lsn



20
21
22
# File 'lib/innodb/page.rb', line 20

def lsn
  @lsn
end

#nextObject

Returns the value of attribute next

Returns:

  • (Object)

    the current value of next



20
21
22
# File 'lib/innodb/page.rb', line 20

def next
  @next
end

#offsetObject

Returns the value of attribute offset

Returns:

  • (Object)

    the current value of offset



20
21
22
# File 'lib/innodb/page.rb', line 20

def offset
  @offset
end

#prevObject

Returns the value of attribute prev

Returns:

  • (Object)

    the current value of prev



20
21
22
# File 'lib/innodb/page.rb', line 20

def prev
  @prev
end

#space_idObject

Returns the value of attribute space_id

Returns:

  • (Object)

    the current value of space_id



20
21
22
# File 'lib/innodb/page.rb', line 20

def space_id
  @space_id
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



20
21
22
# File 'lib/innodb/page.rb', line 20

def type
  @type
end

Instance Method Details

#lsn_low32Object



33
34
35
# File 'lib/innodb/page.rb', line 33

def lsn_low32
  lsn & 0xffffffff
end