Class: Innodb::List::Inode

Inherits:
Innodb::List show all
Defined in:
lib/innodb/list.rb

Overview

A list of Inode pages. Objects returned by list methods will be Innodb::Page::Inode objects.

Constant Summary

Constants inherited from Innodb::List

ADDRESS_SIZE, BASE_NODE_SIZE, NODE_SIZE

Instance Attribute Summary

Attributes inherited from Innodb::List

#base, #space

Instance Method Summary collapse

Methods inherited from Innodb::List

#each, #first, get_address, get_base_node, get_node, #include?, #initialize, #last, #length, #list_cursor, #next, #prev

Constructor Details

This class inherits a constructor from Innodb::List

Instance Method Details

#object_from_address(address) ⇒ Object



215
216
217
218
219
# File 'lib/innodb/list.rb', line 215

def object_from_address(address)
  return unless address

  @space.page(address.page)
end