Common Lisp Package: DB-CLP

README:

FUNCTION

Private

SAVE-PROXY-TREE (BTREE)

Make sure we record the proxy trees

SLOT-PROXY-COMPARE< (A B)

Compare (number symbol); account for nils

SLOT-PROXY-EQUAL (A B)

Compare number & symbol; account for nils

Undocumented

CLP-STORE-SPEC-P (SPEC)

CLP-TEST-AND-CONSTRUCT (SPEC)

DROP-PROXY-TREE (BTREE)

DUP-PROXY-COMPARE< (A B)

DUP-PROXY-EQUAL (A B)

EXISTS (PROXY KEY)

FIND-LAST-DUPLICATE (PROXY START TEST NODE)

GET-ITEM (PROXY KEY)

GET-START-NODE (PROXY VALUE START END FROM-END &OPTIONAL (TEST 'PROXY-EQUAL))

GET-SUCCESSOR-ITEM (PROXY KEY)

INSERT-PROXY-ITEM (PROXY KEY VALUE)

LOAD-PROXY-TREE (BTREE)

MAKE-BTREE-PROXY (&KEY DUPLICATE-KEYS)

MAKE-SLOT-PROXY

PRIMARY-CURSOR-VALUE (IDX-CURSOR PKEY)

PROXY-COMPARE< (A B)

PROXY-EQUAL (A B)

PROXY-FIND-NODE (PROXY START FROM-END TEST)

PROXY-SET-SLOT-VALUE (PROXY OID SLOTNAME VALUE)

PROXY-SLOT-BOUNDP (PROXY OID SLOTNAME)

PROXY-SLOT-VALUE (PROXY OID SLOTNAME)

SET-DATABASE-VERSION (SC)

TX-ADD-INDEX (CLP BT INDEX-NAME KEY-FORM POPULATE)

TX-INDEX-REMOVE-INDEXED-KV (CLP IDX IKEY)

TX-REM-BT-VALUE (CLP BT KEY)

TX-REMOVE-DUP-PAIR (CLP IDX KEY VALUE)

TX-REMOVE-INDEX (CLP BT INDEX-NAME)

TX-REMOVE-INDEX-PAIR (CLP TREE KEY VALUE)

TX-REMOVE-INDEXED-KV (CLP BT KEY)

TX-SET-BT-VALUE (CLP BT KEY VALUE)

TX-SET-DUP-BT-VALUE (CLP BT KEY VALUE)

TX-SET-INDEXED-VALUE (CLP BT KEY VALUE)

UNIQUE-INSERT-ITEM (PROXY KEY VALUE)

MACRO

Private

DEF-WRAPPED-CURSOR-METHOD (NAME ARGS &OPTIONAL OTHER)

Quick sugar to reduce copy & paste

Undocumented

DONE-MAPPING-P

INTERNAL-TRANSACTION (SC FN &BODY ARGS)

WITH-PREV-STORE ((SC) &BODY BODY)

GENERIC-FUNCTION

Public

RESTORE (SYSTEM)

Restore a system from permanent storage

SNAPSHOT (SYSTEM)

Take a snapshot of a system

Private

Undocumented

BUILD-BTREE-INDEX (SC &KEY PRIMARY KEY-FORM)

POPULATE (BT INDEX)

PROXY-SLOT-MAKUNBOUND (PROXY OID SLOTNAME)

TX-UNBIND-SLOT (CLP OID NAME)

TX-WRITE-OBJECT-SLOT (CLP OID NAME VALUE)

SLOT-ACCESSOR

Private

Undocumented

CONTROLLER-PREVALENCE-SYSTEM (OBJECT)

SETFCONTROLLER-PREVALENCE-SYSTEM (NEW-VALUE OBJECT)

CURSOR-NODE (OBJECT)

SETFCURSOR-NODE (NEW-VALUE OBJECT)

INDICES (OBJECT)

SETFINDICES (NEW-VALUE OBJECT)

TREE (OBJECT)

SETFTREE (NEW-VALUE OBJECT)

VARIABLE

Private

*LOAD-TABLE*

Remember all loaded instances for recreation

*LOADING*

Special behavior during snapshot restoration

CLASS

Private

Undocumented

BTREE-PROXY

CLP-BTREE

CLP-BTREE-INDEX

CLP-CONTROLLER

CLP-CURSOR

CLP-DUP-BTREE

CLP-DUP-CURSOR

CLP-INDEX-CURSOR

CLP-INDEXED-BTREE

CLP-PREVALENCE-SYSTEM

SLOT-PROXY