Module: RDB::ReaderCallbacks

Included in:
DebugCallbacks, Dumper, EmptyCallbacks
Defined in:
lib/rdb/callbacks.rb

Instance Method Summary collapse

Instance Method Details

#accept_key?(state) ⇒ Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/rdb/callbacks.rb', line 3

def accept_key?(state)
  true
end

#end_database(database) ⇒ Object



13
# File 'lib/rdb/callbacks.rb', line 13

def end_database(database); end

#end_hash(key, state) ⇒ Object



41
# File 'lib/rdb/callbacks.rb', line 41

def end_hash(key, state); end

#end_list(key, state) ⇒ Object



23
# File 'lib/rdb/callbacks.rb', line 23

def end_list(key, state); end

#end_rdbObject



9
# File 'lib/rdb/callbacks.rb', line 9

def end_rdb(); end

#end_set(key, state) ⇒ Object



29
# File 'lib/rdb/callbacks.rb', line 29

def end_set(key, state); end

#end_sortedset(key, state) ⇒ Object



35
# File 'lib/rdb/callbacks.rb', line 35

def end_sortedset(key, state); end

#hset(key, field, value, state) ⇒ Object



39
# File 'lib/rdb/callbacks.rb', line 39

def hset(key, field, value, state); end

#pexpireat(key, expiration, state) ⇒ Object



15
# File 'lib/rdb/callbacks.rb', line 15

def pexpireat(key, expiration, state); end

#rpush(key, value, state) ⇒ Object



21
# File 'lib/rdb/callbacks.rb', line 21

def rpush(key, value, state); end

#sadd(key, value, state) ⇒ Object



27
# File 'lib/rdb/callbacks.rb', line 27

def sadd(key, value, state); end

#set(key, value, state) ⇒ Object



17
# File 'lib/rdb/callbacks.rb', line 17

def set(key, value, state); end

#skip_object(key, state) ⇒ Object



43
# File 'lib/rdb/callbacks.rb', line 43

def skip_object(key, state); end

#start_database(database) ⇒ Object



11
# File 'lib/rdb/callbacks.rb', line 11

def start_database(database); end

#start_hash(key, length, state) ⇒ Object



37
# File 'lib/rdb/callbacks.rb', line 37

def start_hash(key, length, state); end

#start_list(key, length, state) ⇒ Object



19
# File 'lib/rdb/callbacks.rb', line 19

def start_list(key, length, state); end

#start_rdb(rdb_version) ⇒ Object



7
# File 'lib/rdb/callbacks.rb', line 7

def start_rdb(rdb_version); end

#start_set(key, length, state) ⇒ Object



25
# File 'lib/rdb/callbacks.rb', line 25

def start_set(key, length, state); end

#start_sortedset(key, length, state) ⇒ Object



31
# File 'lib/rdb/callbacks.rb', line 31

def start_sortedset(key, length, state); end

#zadd(key, score, value, state) ⇒ Object



33
# File 'lib/rdb/callbacks.rb', line 33

def zadd(key, score, value, state); end