TokyoCabinet.Tree – tokyocabinet Reference Manual
Packages
tokyocabinet
TokyoCabinet
Tree
Record
Compare
compare_decimal
compare_int32
compare_int64
compare_lexical
Tree
Tree.load
@get
_dump
add_double
add_int
append
append_string
clear
copy
dump
get_keys
get_string
get_values
iterator_init
iterator_next
iterator_next_string
iterator_value
iterator_value_string
put
put_string
remove
remove_string
replace
replace_string
cmp
cur
msiz
rnum
root
Tree
Object Hierarchy:
Description:
[
Compact
]
[
CCode
( cname =
"TCTREE"
, copy_function =
"tctreedup"
, cprefix =
"tctree"
, free_function =
"tctreedel"
) ]
public
class
Tree
Namespace:
TokyoCabinet
Package:
tokyocabinet
Content:
Classes:
Record
Delegates:
public
delegate
int
Compare
(
uint8
[] a,
uint8
[] b)
Static methods:
public
static
int
compare_decimal
(
uint8
[] a,
uint8
[] b)
public
static
int
compare_int32
(
uint8
[] a,
uint8
[] b)
public
static
int
compare_int64
(
uint8
[] a,
uint8
[] b)
public
static
int
compare_lexical
(
uint8
[] a,
uint8
[] b)
Creation methods:
public
Tree
(
Compare
cmp =
compare_lexical
)
public
Tree.load
(
uint8
[] data,
Compare
cmp =
compare_lexical
)
Methods:
public
unowned
uint8
[]?
@get
(
uint8
[] key)
public
unowned
uint8
[]
_dump
()
public
double
add_double
(
uint8
[] key,
double
num)
public
int
add_int
(
uint8
[] key,
int
num)
public
void
append
(
uint8
[] key,
uint8
[] value)
public
void
append_string
(
string
key,
string
value)
public
void
clear
()
public
Tree
copy
()
public
uint8
[]
dump
()
public
List
get_keys
()
public
unowned
string
?
get_string
(
string
key)
public
List
get_values
()
public
void
iterator_init
()
public
unowned
uint8
[]?
iterator_next
()
public
unowned
string
?
iterator_next_string
()
public
unowned
uint8
[]?
iterator_value
(
uint8
[] key)
public
unowned
string
?
iterator_value_string
(
string
key)
public
bool
put
(
uint8
[] key,
uint8
[] value)
public
bool
put_string
(
string
key,
string
value)
public
bool
remove
(
uint8
[] key)
public
bool
remove_string
(
string
key)
public
void
replace
(
uint8
[] key,
uint8
[] value)
public
void
replace_string
(
string
key,
string
value)
Fields:
public
Compare
cmp
public
Record
cur
public
uint64
msiz
public
uint64
rnum
public
Record
root