class Agama::Adapters::TCCursor
Public Class Methods
new(bptree, type)
click to toggle source
# File lib/agama/adapters/tokyocabinet.rb, line 134 def initialize(bptree, type) @c = BDBCUR::new(bptree) @t = type end
Public Instance Methods
first()
click to toggle source
# File lib/agama/adapters/tokyocabinet.rb, line 139 def first @c.first end
jump(key)
click to toggle source
# File lib/agama/adapters/tokyocabinet.rb, line 147 def jump(key) @c.jump(key) end
key()
click to toggle source
# File lib/agama/adapters/tokyocabinet.rb, line 159 def key @c.key end
last()
click to toggle source
# File lib/agama/adapters/tokyocabinet.rb, line 143 def last @c.last end
next()
click to toggle source
# File lib/agama/adapters/tokyocabinet.rb, line 155 def next @c.next end
prev()
click to toggle source
# File lib/agama/adapters/tokyocabinet.rb, line 151 def prev @c.prev end
value()
click to toggle source
# File lib/agama/adapters/tokyocabinet.rb, line 163 def value @c.val end