GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  LAPUMGR (1)

NAME

lapumgr - the command line utility of the simple API

CONTENTS

Description
See Also

DESCRIPTION

The command ‘lapumgr’ is a utility for test and debugging of the simple API and its applications. ‘path’ specifies the path of a database directory. ‘ernum’ specifies the expected number of records. ‘etnum’ specifies the expected number of tokens. ‘id’ specifies the ID number of a record. ‘text’ specifies the text of a record. ‘word’ specifies a search word. ‘file’ specifies the input file.

lapumgr create [-tl] [-td|-tb|-tt] path [ernum [etnum]]
Create a database directory.

lapumgr inform [-nl|-nb] path
Print miscellaneous information to the standard output.

lapumgr put [-nl|-nb] path id text
Store a record.

lapumgr out [-nl|-nb] path id
Remove a record.

lapumgr get [-nl|-nb] path id
Print the text of a record.

lapumgr search [-nl|-nb] [-eu|-ei|-ed] [-sm|-sp|-ss] [-max num] [-ph] [-pv] path [word...]
Search for records.

lapumgr list [-nl|-nb] [-max num] [-pv] path
Print ID numbers of all records.

lapumgr optimize [-nl|-nb] path
Optimize a database directory.

lapumgr importtsv [-ic num] [-nl|-nb] path [file]
Store records of TSV in each line of a file.

lapumgr version
Print the version information of Tokyo Dystopia.

Options feature the following.

-tl : enable the option ‘JDBTLARGE’.
-td : enable the option ‘JDBTDEFLATE’.
-tb : enable the option ‘JDBTBZIP’.
-tt : enable the option ‘JDBTTCBS’.
-nl : enable the option ‘JDBNOLCK’.
-nb : enable the option ‘JDBLCKNB’.
-eu : use the union expression.
-ei : use the intersection expression.
-ed : use the difference expression.
-sm : use the substring matching mode.
-sp : use the prefix matching mode.
-ss : use the suffix matching mode.
-max num : specify the maximum number of the output.
-ph : print hints also.
-pv : print texts of records also.
-ic num : specify the capacity size of the token cache.

This command returns 0 on success, another on failure.

SEE ALSO

laputest(1), laputa(3)

Search for    or go to Top of page |  Section 1 |  Main Index


Man Page LAPUMGR (1) 2010-08-05

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.