Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Started defining classes for CLOS API * Corrected library loading problem with #:tokyocabinet-sys
- Loading branch information
Showing
3 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
* Intro | ||
|
||
TokyoCabinet is a set of database + network server + reverse index | ||
(for full-text search) libraries, implemented in C and built for | ||
speed. They represent non-relational wing of databases, though | ||
TokyoCabinet does have table-based storage with queries on tables (in | ||
a way, that mirrors basically what 90% of people use MySQL for ;-) ) | ||
|
||
cl-tc is a set of SWIG-generated CFFI bindings for TokyoCabinet | ||
library and in future, TokyoTyrant and TokyoDystopia. Currently | ||
available bindings are 1-to-1 mapping of TokyoCabinet’s C API, | ||
available in package tokyocabinet-sys. They will be used to make a | ||
nice, CLOS-y API which will reside in package tokyocabinet, however, | ||
it’s still not written :) | ||
|
||
* How to use | ||
|
||
Just symlink ASDF definition file into your registry (or load it or | ||
add it manually to registry, your pick) and use asdf to load it. | ||
|
||
Currently only the C API is available, through direct bindings in | ||
#:TOKYOCABINET-SYS package. Proper CL api coming soon. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
(in-package :tokyocabinet) | ||
|
||
(defclass database () | ||
((connection :accessor get-connection :initarg :connection) | ||
(db-type :accessor get-db-type :initarg :db-type))) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters