1KCPOLYMGR(1)                     Kyoto Cabinet                    KCPOLYMGR(1)
2
3
4

NAME

6       kcpolymgr - command line interface to manage the polymorphic database
7
8

DESCRIPTION

10       The  command  `kcpolymgr'  is  a  utility for test and debugging of the
11       polymorphic database and its applications.  `path' specifies  the  path
12       of  a  database  file.   `key'  specifies the key of a record.  `value'
13       specifies the value of a record.   `file'  specifies  the  input/output
14       file.  `src' specifies other database files.
15
16              kcpolymgr create [-otr] [-onl|-otl|-onr] path
17                     Creates a database file.
18              kcpolymgr inform [-onl|-otl|-onr] [-st] path
19                     Prints status information.
20              kcpolymgr   set   [-onl|-otl|-onr]  [-add|-app|-rep|-inci|-incd]
21              [-sx] path key value
22                     Stores a record.
23              kcpolymgr remove [-onl|-otl|-onr] [-sx] path key
24                     Removes a record.
25              kcpolymgr get [-onl|-otl|-onr] [-rm] [-sx] [-px] [-pz] path key
26                     Prints the value of a record.
27              kcpolymgr list [-onl|-otl|-onr] [-mp|-mr|-ms] [-des] [-max  num]
28              [-rm] [-sx] [-pv] [-px] path [key]
29                     Prints keys of all records, separated by line feeds.
30              kcpolymgr clear [-onl|-otl|-onr] path
31                     Removes all records of a database.
32              kcpolymgr import [-onl|-otl|-onr] [-sx] path [file]
33                     Imports records from a TSV file.
34              kcpolymgr copy [-onl|-otl|-onr] path file
35                     Copies the whole database.
36              kcpolymgr dump [-onl|-otl|-onr] path [file]
37                     Dumps records into a snapshot file.
38              kcpolymgr load [-otr] [-onl|-otl|-onr] path [file]
39                     Loads records from a snapshot file.
40              kcpolymgr merge [-onl|-otl|-onr] [-add|-app|-rep] path src...
41                     Merge records from other databases.
42              kcpolymgr setbulk [-onl|-otl|-onr] path key value ...
43                     Store records at once.
44              kcpolymgr removebulk [-onl|-otl|-onr] [-sx] path key ...
45                     Remove records at once.
46              kcpolymgr getbulk [-onl|-otl|-onr] [-sx] [-px] path key ...
47                     Retrieve records at once.
48              kcpolymgr check [-onl|-otl|-onr] path
49                     Checks consistency.
50
51       Options feature the following.
52
53              -otr : opens the database with the truncation option.
54              -onl : opens the database with the no locking option.
55              -otl : opens the database with the try locking option.
56              -onr : opens the database with the no auto repair option.
57              -st : prints miscellaneous information.
58              -add : performs adding operation.
59              -app : performs appending operation.
60              -rep : performs replacing operation.
61              -inci : performs integer increment operation.
62              -incd : performs real number increment operation.
63              -sx : the input data is evaluated as a hexadecimal data string.
64              -rm : removes the record.
65              -px  :  the  output  data  is  converted into a hexadecimal data
66              string.
67              -pz : performs not append line feed at the end of the output.
68              -mp : performs prefix matching instead of usual scan.
69              -mr : performs regular  expression  matching  instead  of  usual
70              scan.
71              -ms : performs similar matching instead of usual scan.
72              -des : visits records in descending order.
73              -max num : specifies the maximum number of shown records.
74              -pv : prints values of records also.
75
76       This command returns 0 on success, another on failure.
77
78

SEE ALSO

80       kcpolytest(1), kclangctest(1)
81
82
83
84Man Page                          2012-05-24                      KCPOLYMGR(1)
Impressum