Class: Innodb::List::Xdes
- Inherits:
-
Innodb::List
- Object
- Innodb::List
- Innodb::List::Xdes
- Defined in:
- lib/innodb/list.rb
Overview
A list of extent descriptor entries. Objects returned by list methods will be Innodb::Xdes objects.
Constant Summary
Constants inherited from Innodb::List
ADDRESS_SIZE, BASE_NODE_SIZE, NODE_SIZE
Instance Attribute Summary
Attributes inherited from Innodb::List
Instance Method Summary collapse
Methods inherited from Innodb::List
#each, #empty?, #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
207 208 209 210 211 212 213 214 |
# File 'lib/innodb/list.rb', line 207 def object_from_address(address) return unless address page = @space.page(address.page) return unless page Innodb::Xdes.new(page, page.cursor(address.offset - 8)) end |