1TCATEST(3)                       Tokyo Cabinet                      TCATEST(3)
2
3
4

NAME

6       tcamgr - the command line utility of the abstract database API
7
8

DESCRIPTION

10       The  command  `tcamgr'  is  a  utility  for  test  and debugging of the
11       abstract database API and its applications.  `name' specifies the  name
12       of a database.  `key' specifies the key of a record.  `value' specifies
13       the value of a  record.   `params'  specifies  the  tuning  parameters.
14       `func' specifies the name of a function.  `arg' specifies the arguments
15       of the function.  `dest' specifies the path of the destination file.
16
17              tcamgr create name
18                     Create a database file.
19              tcamgr inform name
20                     Print miscellaneous information to the standard output.
21              tcamgr put [-sx] [-sep chr] [-dk|-dc|-dai|-dad] name key value
22                     Store a record.
23              tcamgr out [-sx] [-sep chr] name key
24                     Remove a record.
25              tcamgr get [-sx] [-sep chr] [-px] [-pz] name key
26                     Print the value of a record.
27              tcamgr list [-sep chr] [-m num] [-pv] [-px] [-fm str] name
28                     Print keys of all records, separated by line feeds.
29              tcamgr optimize name params
30                     Optimize a database file.
31              tcamgr misc [-sx] [-sep chr] [-px] name func [arg...]
32                     Call a versatile function for miscellaneous operations.
33              tcamgr map [-fm str] name dest
34                     Map records into another B+ tree database.
35              tcamgr version
36                     Print the version information of Tokyo Cabinet.
37
38       Options feature the following.
39
40              -sx : the input data is evaluated as a hexadecimal data string.
41              -sep chr : specify the separator of the input data.
42              -dk : use the function `tcadbputkeep' instead of `tcadbput'.
43              -dc : use the function `tcadbputcat' instead of `tcadbput'.
44              -dai : use the function `tcadbaddint' instead of `tcadbput'.
45              -dad : use the function `tcadbadddouble' instead of `tcadbput'.
46              -px : the output data  is  converted  into  a  hexadecimal  data
47              string.
48              -pz : do not append line feed at the end of the output.
49              -m num : specify the maximum number of the output.
50              -pv : print values of records also.
51              -fm str : specify the prefix of keys.
52
53       This command returns 0 on success, another on failure.
54
55

SEE ALSO

57       tcatest(1), tcadb(3), tokyocabinet(3)
58
59
60
61Man Page                          2009-09-04                        TCATEST(3)
Impressum