Class: StrokeDB::InvertedList::TailNode
- Defined in:
- lib/strokedb/data_structures/inverted_list.rb
Overview
also proxy-to-next-chunk node
Instance Attribute Summary collapse
-
#next_list ⇒ Object
Returns the value of attribute next_list.
Attributes inherited from Node
#_serialized_index, #forward, #key, #values
Instance Method Summary collapse
- #<(key) ⇒ Object
- #<=(key) ⇒ Object
-
#initialize ⇒ TailNode
constructor
A new instance of TailNode.
- #to_s ⇒ Object
Methods inherited from Node
Constructor Details
#initialize ⇒ TailNode
Returns a new instance of TailNode.
260 261 262 |
# File 'lib/strokedb/data_structures/inverted_list.rb', line 260 def initialize super 1, nil, nil end |
Instance Attribute Details
#next_list ⇒ Object
Returns the value of attribute next_list.
259 260 261 |
# File 'lib/strokedb/data_structures/inverted_list.rb', line 259 def next_list @next_list end |
Instance Method Details
#<(key) ⇒ Object
263 264 265 |
# File 'lib/strokedb/data_structures/inverted_list.rb', line 263 def <(key) false end |
#<=(key) ⇒ Object
266 267 268 |
# File 'lib/strokedb/data_structures/inverted_list.rb', line 266 def <=(key) false end |
#to_s ⇒ Object
269 270 271 |
# File 'lib/strokedb/data_structures/inverted_list.rb', line 269 def to_s "tail(#{level})" end |