Class: Innodb::Page::Index::RecordHeader
- Inherits:
-
Struct
- Object
- Struct
- Innodb::Page::Index::RecordHeader
- Defined in:
- lib/innodb/page/index.rb,
lib/innodb/page/index.rb
Constant Summary collapse
- RECORD_INFO_MIN_REC_FLAG =
This record is the minimum record at this level of the B-tree.
1
- RECORD_INFO_DELETED_FLAG =
This record has been marked as deleted.
2
Instance Attribute Summary collapse
-
#externs ⇒ Object
Returns the value of attribute externs.
-
#heap_number ⇒ Object
Returns the value of attribute heap_number.
-
#info_flags ⇒ Object
Returns the value of attribute info_flags.
-
#length ⇒ Object
Returns the value of attribute length.
-
#lengths ⇒ Object
Returns the value of attribute lengths.
-
#n_fields ⇒ Object
Returns the value of attribute n_fields.
-
#n_owned ⇒ Object
Returns the value of attribute n_owned.
-
#next ⇒ Object
Returns the value of attribute next.
-
#nulls ⇒ Object
Returns the value of attribute nulls.
-
#offset_size ⇒ Object
Returns the value of attribute offset_size.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#externs ⇒ Object
Returns the value of attribute externs
22 23 24 |
# File 'lib/innodb/page/index.rb', line 22 def externs @externs end |
#heap_number ⇒ Object
Returns the value of attribute heap_number
22 23 24 |
# File 'lib/innodb/page/index.rb', line 22 def heap_number @heap_number end |
#info_flags ⇒ Object
Returns the value of attribute info_flags
22 23 24 |
# File 'lib/innodb/page/index.rb', line 22 def info_flags @info_flags end |
#length ⇒ Object
Returns the value of attribute length
22 23 24 |
# File 'lib/innodb/page/index.rb', line 22 def length @length end |
#lengths ⇒ Object
Returns the value of attribute lengths
22 23 24 |
# File 'lib/innodb/page/index.rb', line 22 def lengths @lengths end |
#n_fields ⇒ Object
Returns the value of attribute n_fields
22 23 24 |
# File 'lib/innodb/page/index.rb', line 22 def n_fields @n_fields end |
#n_owned ⇒ Object
Returns the value of attribute n_owned
22 23 24 |
# File 'lib/innodb/page/index.rb', line 22 def n_owned @n_owned end |
#next ⇒ Object
Returns the value of attribute next
22 23 24 |
# File 'lib/innodb/page/index.rb', line 22 def next @next end |
#nulls ⇒ Object
Returns the value of attribute nulls
22 23 24 |
# File 'lib/innodb/page/index.rb', line 22 def nulls @nulls end |
#offset_size ⇒ Object
Returns the value of attribute offset_size
22 23 24 |
# File 'lib/innodb/page/index.rb', line 22 def offset_size @offset_size end |
#type ⇒ Object
Returns the value of attribute type
22 23 24 |
# File 'lib/innodb/page/index.rb', line 22 def type @type end |
Instance Method Details
#deleted? ⇒ Boolean
48 49 50 |
# File 'lib/innodb/page/index.rb', line 48 def deleted? (info_flags & RECORD_INFO_DELETED_FLAG) != 0 end |
#min_rec? ⇒ Boolean
44 45 46 |
# File 'lib/innodb/page/index.rb', line 44 def min_rec? (info_flags & RECORD_INFO_MIN_REC_FLAG) != 0 end |