r13305@Rob-Kinyons-PowerBook: rob | 2006-05-18 15:18:06 -0400
[dbsrgits/DBM-Deep.git] / API_Change.txt
CommitLineData
c3aafc14 1# These are the calls into ::Engine
2::Deep:
3 _init:
4 setup_fh($self)
5 optimize:
6 setup_fh($self)
7 STORE:
8 old:
9 apply_digest($key)
10 find_blist( $self->_base_offset, $md5, { create => 1 } )
11 add_bucket( $tag, $md5, $key, $value, undef, $orig_key )
12 new:
13 write_value( $key, $value );
14 FETCH:
15 old:
16 apply_digest($key)
17 find_blist( $self->_base_offset, $md5 )
18 get_bucket_value( $tag, $md5, $orig_key )
19 new:
20 read_value( $key )
21 DELETE:
22 old:
23 apply_digest($key)
24 find_blist( $self->_base_offset, $md5 )
25 get_bucket_value( $tag, $md5, $orig_key )
26 delete_bucket( $tag, $md5, $orig_key )
27 new:
28 delete_key( $key )
29 EXiSTS:
30 old:
31 apply_digest($key)
32 find_blist( $self->_base_offset, $md5 )
33 bucket_exists( $tag, $md5 )
34 new:
35 exists_key( $key )
36 CLEAR:
37 old:
38 apply_digest($key)
39 find_blist( $self->_base_offset, $md5 )
40 delete_bucket( $tag, $md5, $key )
41 new:
42 delete_key( $key )
43::Array:
44::Hash:
45 FIRSTKEY:
46 old:
47 get_next_key($self)
48 new:
49 get_next_key()
50 NEXTKEY:
51 old:
52 apply_digest($prev_key)
53 get_next_key($self, $prev_md5)
54 new:
55 get_next_key($prev_key)
56::File: