class Yoda::Store::Adapters::Base
@abstract
Public Class Methods
for(path)
click to toggle source
@abstract
# File lib/yoda/store/adapters/base.rb, line 7 def self.for(path) fail NotImplementedError end
type()
click to toggle source
@abstract
# File lib/yoda/store/adapters/base.rb, line 12 def self.type fail NotImplementedError end
Public Instance Methods
batch_write(data, bar)
click to toggle source
@param data [Enumerator<(String, Object)>] @param bar [#increment, nil] @abstract
# File lib/yoda/store/adapters/base.rb, line 59 def batch_write(data, bar) end
clear()
click to toggle source
@abstract
# File lib/yoda/store/adapters/base.rb, line 52 def clear fail NotImplementedError end
delete(address)
click to toggle source
@abstract
# File lib/yoda/store/adapters/base.rb, line 27 def delete(address) fail NotImplementedError end
exist?(address)
click to toggle source
@abstract
# File lib/yoda/store/adapters/base.rb, line 32 def exist?(address) fail NotImplementedError end
get(address)
click to toggle source
@abstract
# File lib/yoda/store/adapters/base.rb, line 17 def get(address) fail NotImplementedError end
keys()
click to toggle source
@abstract
# File lib/yoda/store/adapters/base.rb, line 37 def keys fail NotImplementedError end
put(address, object)
click to toggle source
@abstract
# File lib/yoda/store/adapters/base.rb, line 22 def put(address, object) fail NotImplementedError end
stats()
click to toggle source
@abstract
# File lib/yoda/store/adapters/base.rb, line 42 def stats fail NotImplementedError end
sync()
click to toggle source
@abstract
# File lib/yoda/store/adapters/base.rb, line 47 def sync fail NotImplementedError end