The bknr-datastore Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The bknr-datastore Reference Manual

This is the bknr-datastore Reference Manual, version 0, generated automatically by Declt version 2.3 "Robert April" on Wed Mar 14 02:58:42 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

bknr.datastore

Precompiled bknr (and bknr.datastore) documentation can be found at bknr's home-page. Uncompiled documentation is enclosed in this repository.

installing through quicklisp

Please use Quicklisp to install bknr-datastore


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Next: , Previous: , Up: Systems   [Contents][Index]

2.1 bknr.data.impex

Maintainer

Manuel Odendahl <manuel@bl0rg.net>

Author

Hans Huebner <hans@huebner.org>

License

BSD

Description

baikonour - launchpad for lisp satellites

Version

0

Dependencies
Source

bknr.data.impex.asd (file)

Component

data (module)


Next: , Previous: , Up: Systems   [Contents][Index]

2.2 bknr.datastore

Maintainer

Hans Huebner <hans@huebner.org>

Author

Hans Huebner <hans@huebner.org>

License

BSD

Description

baikonour - launchpad for lisp satellites

Version

0

Dependencies
Source

bknr.datastore.asd (file)

Component

data (module)


Next: , Previous: , Up: Systems   [Contents][Index]

2.3 bknr.impex

Maintainer

Manuel Odendahl <manuel@bl0rg.net>

Author

Manuel Odendahl <manuel@bl0rg.net>

License

BSD

Description

BKNR XML import/export

Long Description
Version

0

Dependencies
Source

bknr.impex.asd (file)

Component

xml-impex (module)


Next: , Previous: , Up: Systems   [Contents][Index]

2.4 bknr.xml

Maintainer

Manuel Odendahl <manuel@bl0rg.net>

Author

Hans Huebner <hans@huebner.org>

License

BSD

Description

baikonour - launchpad for lisp satellites

Version

0

Dependencies
Source

bknr.xml.asd (file)

Component

xml (module)


Next: , Previous: , Up: Systems   [Contents][Index]

2.5 bknr.indices

Maintainer

Manuel Odendahl <manuel@bl0rg.net>

Author

Manuel Odendahl <manuel@bl0rg.net>

License

BSD

Description

CLOS class indices

Long Description
Version

0

Dependencies
Source

bknr.indices.asd (file)

Component

indices (module)


Next: , Previous: , Up: Systems   [Contents][Index]

2.6 bknr.utils

Maintainer

Manuel Odendahl <manuel@bl0rg.net>

Author

Hans Huebner <hans@huebner.org>

License

BSD

Description

baikonour - launchpad for lisp satellites

Version

0

Dependencies
Source

bknr.utils.asd (file)

Components

Previous: , Up: Systems   [Contents][Index]

2.7 bknr.skip-list

Maintainer

Manuel Odendahl <manuel@bl0rg.net>

Author

Manuel Odendahl <manuel@bl0rg.net>

License

BSD

Description

Skiplist implementation for bknr

Version

0

Source

bknr.skip-list.asd (file)

Component

skip-list (module)


Next: , Previous: , Up: Top   [Contents][Index]

3 Modules

Modules are listed depth-first from the system components tree.


Next: , Previous: , Up: Modules   [Contents][Index]

3.1 bknr.data.impex/data

Parent

bknr.data.impex (system)

Location

data/

Component

xml-object.lisp (file)


Next: , Previous: , Up: Modules   [Contents][Index]

3.2 bknr.datastore/data

Parent

bknr.datastore (system)

Location

data/

Components

Next: , Previous: , Up: Modules   [Contents][Index]

3.3 bknr.impex/xml-impex

Parent

bknr.impex (system)

Location

xml-impex/

Components

Next: , Previous: , Up: Modules   [Contents][Index]

3.4 bknr.xml/xml

Parent

bknr.xml (system)

Location

xml/

Components

Next: , Previous: , Up: Modules   [Contents][Index]

3.5 bknr.indices/indices

Parent

bknr.indices (system)

Location

indices/

Components

Next: , Previous: , Up: Modules   [Contents][Index]

3.6 bknr.utils/statistics

Parent

bknr.utils (system)

Location

statistics/

Components

Next: , Previous: , Up: Modules   [Contents][Index]

3.7 bknr.utils/utils

Parent

bknr.utils (system)

Location

utils/

Components

Previous: , Up: Modules   [Contents][Index]

3.8 bknr.skip-list/skip-list

Parent

bknr.skip-list (system)

Location

skip-list/

Components

Next: , Previous: , Up: Top   [Contents][Index]

4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

4.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.1 bknr.data.impex.asd

Location

bknr.data.impex.asd

Systems

bknr.data.impex (system)

Packages

bknr.data.impex.system


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.2 bknr.datastore.asd

Location

bknr.datastore.asd

Systems

bknr.datastore (system)

Packages

bknr.datastore.system


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.3 bknr.impex.asd

Location

bknr.impex.asd

Systems

bknr.impex (system)

Packages

bknr.impex.system


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.4 bknr.xml.asd

Location

bknr.xml.asd

Systems

bknr.xml (system)

Packages

bknr.xml.system


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.5 bknr.indices.asd

Location

bknr.indices.asd

Systems

bknr.indices (system)

Packages

bknr.indices.system


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.6 bknr.utils.asd

Location

bknr.utils.asd

Systems

bknr.utils (system)

Packages

bknr.utils.system


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.7 bknr.skip-list.asd

Location

bknr.skip-list.asd

Systems

bknr.skip-list (system)

Packages

bknr.skip-list.system


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.8 bknr.data.impex/data/xml-object.lisp

Parent

data (module)

Location

data/xml-object.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.9 bknr.datastore/data/package.lisp

Parent

data (module)

Location

data/package.lisp

Packages

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.10 bknr.datastore/data/encoding.lisp

Dependency

package.lisp (file)

Parent

data (module)

Location

data/encoding.lisp

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.11 bknr.datastore/data/txn.lisp

Dependencies
Parent

data (module)

Location

data/txn.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.12 bknr.datastore/data/object.lisp

Dependencies
Parent

data (module)

Location

data/object.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.13 bknr.datastore/data/object-tests.lisp

Dependencies
Parent

data (module)

Location

data/object-tests.lisp

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.14 bknr.datastore/data/json.lisp

Dependency

object.lisp (file)

Parent

data (module)

Location

data/json.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.15 bknr.datastore/data/blob.lisp

Dependencies
Parent

data (module)

Location

data/blob.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.16 bknr.impex/xml-impex/package.lisp

Parent

xml-impex (module)

Location

xml-impex/package.lisp

Packages

bknr.impex


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.17 bknr.impex/xml-impex/xml-class.lisp

Dependency

package.lisp (file)

Parent

xml-impex (module)

Location

xml-impex/xml-class.lisp

Exported Definitions

xml-class (class)

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.18 bknr.impex/xml-impex/xml-import.lisp

Dependencies
Parent

xml-impex (module)

Location

xml-impex/xml-import.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.19 bknr.impex/xml-impex/xml-export.lisp

Dependencies
Parent

xml-impex (module)

Location

xml-impex/xml-export.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.20 bknr.xml/xml/package.lisp

Parent

xml (module)

Location

xml/package.lisp

Packages

bknr.xml


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.21 bknr.xml/xml/xml.lisp

Dependency

package.lisp (file)

Parent

xml (module)

Location

xml/xml.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.22 bknr.indices/indices/package.lisp

Parent

indices (module)

Location

indices/package.lisp

Packages

bknr.indices


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.23 bknr.indices/indices/protocol.lisp

Dependency

package.lisp (file)

Parent

indices (module)

Location

indices/protocol.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.24 bknr.indices/indices/indices.lisp

Dependencies
Parent

indices (module)

Location

indices/indices.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.25 bknr.indices/indices/indexed-class.lisp

Dependencies
Parent

indices (module)

Location

indices/indexed-class.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.26 bknr.indices/indices/category-index.lisp

Dependencies
Parent

indices (module)

Location

indices/category-index.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.27 bknr.utils/statistics/package.lisp

Parent

statistics (module)

Location

statistics/package.lisp

Packages

bknr.statistics


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.28 bknr.utils/statistics/runtime-statistics.lisp

Dependency

package.lisp (file)

Parent

statistics (module)

Location

statistics/runtime-statistics.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.29 bknr.utils/utils/package.lisp

Parent

utils (module)

Location

utils/package.lisp

Packages

bknr.utils


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.30 bknr.utils/utils/utils.lisp

Dependency

package.lisp (file)

Parent

utils (module)

Location

utils/utils.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.31 bknr.utils/utils/class.lisp

Dependencies
Parent

utils (module)

Location

utils/class.lisp

Exported Definitions

define-bknr-class (macro)

Internal Definitions

compute-bknr-slot (function)


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.32 bknr.utils/utils/smbpasswd.lisp

Dependency

utils.lisp (file)

Parent

utils (module)

Location

utils/smbpasswd.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.33 bknr.utils/utils/actor.lisp

Dependencies
Parent

utils (module)

Location

utils/actor.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.34 bknr.utils/utils/reader.lisp

Dependency

utils.lisp (file)

Parent

utils (module)

Location

utils/reader.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.35 bknr.utils/utils/crypt-md5.lisp

Dependency

utils.lisp (file)

Parent

utils (module)

Location

utils/crypt-md5.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.36 bknr.utils/utils/capability.lisp

Dependency

utils.lisp (file)

Parent

utils (module)

Location

utils/capability.lisp

Exported Definitions

make-capability-string (function)

Internal Definitions

*capability-count* (special variable)


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.37 bknr.utils/utils/make-fdf-file.lisp

Dependency

utils.lisp (file)

Parent

utils (module)

Location

utils/make-fdf-file.lisp

Exported Definitions

make-fdf-file (function)

Internal Definitions

pdf-quote-string (function)


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.38 bknr.utils/utils/date-calc.lisp

Parent

utils (module)

Location

utils/date-calc.lisp

Packages

date-calc

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.39 bknr.utils/utils/parse-time.lisp

Parent

utils (module)

Location

utils/parse-time.lisp

Exported Definitions

parse-time (function)

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.40 bknr.utils/utils/acl-mp-compat.lisp

Dependency

package.lisp (file)

Parent

utils (module)

Location

utils/acl-mp-compat.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.41 bknr.skip-list/skip-list/package.lisp

Parent

skip-list (module)

Location

skip-list/package.lisp

Packages

bknr.skip-list


Previous: , Up: Lisp files   [Contents][Index]

4.1.42 bknr.skip-list/skip-list/skip-list.lisp

Dependency

package.lisp (file)

Parent

skip-list (module)

Location

skip-list/skip-list.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

5 Packages

Packages are listed by definition order.


Next: , Previous: , Up: Packages   [Contents][Index]

5.1 bknr.data.impex.system

Source

bknr.data.impex.asd

Use List

Next: , Previous: , Up: Packages   [Contents][Index]

5.2 bknr.datastore.system

Source

bknr.datastore.asd

Use List

Next: , Previous: , Up: Packages   [Contents][Index]

5.3 bknr.datastore.tests

Source

package.lisp (file)

Use List
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.4 bknr.datastore

Source

package.lisp (file)

Use List
Used By List

bknr.datastore.tests

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.5 bknr.impex.system

Source

bknr.impex.asd

Use List

Next: , Previous: , Up: Packages   [Contents][Index]

5.6 bknr.impex

Source

package.lisp (file)

Use List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.7 bknr.xml.system

Source

bknr.xml.asd

Use List

Next: , Previous: , Up: Packages   [Contents][Index]

5.8 bknr.xml

Source

package.lisp (file)

Use List
Used By List

bknr.impex

Exported Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.9 bknr.indices.system

Source

bknr.indices.asd

Use List

Next: , Previous: , Up: Packages   [Contents][Index]

5.10 bknr.indices

Source

package.lisp (file)

Use List
Used By List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.11 bknr.utils.system

Source

bknr.utils.asd

Use List

Next: , Previous: , Up: Packages   [Contents][Index]

5.12 bknr.statistics

Source

package.lisp (file)

Use List
Used By List

bknr.datastore

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.13 bknr.utils

Source

package.lisp (file)

Use List
Used By List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.14 date-calc

Source

date-calc.lisp (file)

Use List

common-lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.15 bknr.skip-list.system

Source

bknr.skip-list.asd

Use List

Previous: , Up: Packages   [Contents][Index]

5.16 bknr.skip-list

Source

package.lisp (file)

Use List

common-lisp

Used By List

bknr.indices

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

6.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.1 Special variables

Special Variable: *indexed-class-override*
Package

bknr.indices

Source

indexed-class.lisp (file)

Special Variable: *json-ignore-slots*
Package

bknr.datastore

Source

json.lisp (file)

Special Variable: *language*
Package

date-calc

Source

date-calc.lisp (file)

Special Variable: *store*
Package

bknr.datastore

Source

txn.lisp (file)

Special Variable: *store-debug*

Trace and time execution of transactions

Package

bknr.datastore

Source

txn.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.2 Macros

Macro: define-bknr-class CLASS (&rest SUPERCLASSES) SLOTS &rest CLASS-OPTIONS
Package

bknr.utils

Source

class.lisp (file)

Macro: define-persistent-class CLASS (&rest SUPERCLASSES) SLOTS &rest CLASS-OPTIONS
Package

bknr.datastore

Source

object.lisp (file)

Macro: defpersistent-class CLASS (&rest SUPERCLASSES) SLOTS &rest CLASS-OPTIONS
Package

bknr.datastore

Source

object.lisp (file)

Macro: deftransaction NAME (&rest ARGS) &rest BODY

Define a transaction function tx-NAME and a function NAME executing tx-NAME in the context of the current store. The arguments to NAME will be serialized to the transaction-log, and must be supported by the binary encoder. tx-NAME will be called during a roll-forward to repeat any effects that the transaction function had on the persistent store.

Package

bknr.datastore

Source

txn.lisp (file)

Macro: mp-with-lock-held (LOCK) &body BODY
Package

bknr.utils

Source

acl-mp-compat.lisp (file)

Macro: mp-with-recursive-lock-held (LOCK) &body BODY
Package

bknr.utils

Source

acl-mp-compat.lisp (file)

Macro: print-store-object (OBJECT STREAM &key TYPE) &body BODY
Package

bknr.datastore

Source

object.lisp (file)

Macro: with-json-ignore-slots (&rest SLOTS) &body BODY
Package

bknr.datastore

Source

json.lisp (file)

Macro: with-open-blob (S BLOB &rest ARGS) &rest BODY
Package

bknr.datastore

Source

blob.lisp (file)

Macro: with-statistics-log (TABLE &rest STATISTIC-NAMES) &rest BODY
Package

bknr.statistics

Source

runtime-statistics.lisp (file)

Macro: with-store-guard (&optional STORE) &rest BODY

Execute BODY in the context of the guard of STORE.

Package

bknr.datastore

Source

txn.lisp (file)

Macro: with-temporary-file (VAR &rest ARGS) &body BODY
Package

bknr.utils

Source

utils.lisp (file)

Macro: with-transaction (&optional LABEL) &body BODY
Package

bknr.datastore

Source

txn.lisp (file)

Macro: with-xml-export () &body BODY
Package

bknr.impex

Source

xml-export.lisp (file)

Macro: with-xml-export* (&key OUTPUT INDENTATION CANONICAL) &body BODY
Package

bknr.impex

Source

xml-export.lisp (file)

Macro: write-to-xml OBJECT &key NAME OUTPUT INDENTATION CANONICAL
Package

bknr.impex

Source

xml-export.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.3 Functions

Function: add-delta-days YEAR MONTH DAY DELTA

This function returns (values year month day) such that it is YEAR MONTH DAY plus DELTA days

Package

date-calc

Source

date-calc.lisp (file)

Function: add-delta-dhms YEAR MONTH DAY HOUR MIN SEC DD DH DM DS

This function serves to add a days, hours, minutes and seconds offset to a given date and time (YEAR MONTH DAY HOUR MINUTE SECOND DDAY DHOUR DMINUTE DSECOND), in order to answer questions like "today and now plus 7 days but minus 5 hours and then plus 30 minutes, what date and time gives that?". Returns: (values y m d h min sec)

Package

date-calc

Source

date-calc.lisp (file)

Function: add-delta-ym YEAR MONTH DAY DY DM

This function adds DYEAR and DMONTH offset to YEAR MONTH DAY.

Package

date-calc

Source

date-calc.lisp (file)

Function: add-delta-ymd YEAR MONTH DAY DY DM DD

This function adds DYEAR DMONTH and DDAY offset to YEAR MONTH DAY.

Package

date-calc

Source

date-calc.lisp (file)

Function: add-delta-ymdhms YEAR MONTH DAY HOUR MIN SEC DYEAR DMONTH DDAY DH DM DS

This function is the same as add-delta-ymd except that a time offset may be given in addition to the year, month and day offset

Package

date-calc

Source

date-calc.lisp (file)

Function: add-year-month YEAR MONTH DY DM

This function adds DYEAR and DMONTH offset to YEAR and MONTH.

Package

date-calc

Source

date-calc.lisp (file)

Function: all-store-objects ()
Package

bknr.datastore

Source

/home/quickbuilder/common-lisp/quickref/map-declt.lisp

Function: assoc-to-keywords ARGS
Package

bknr.utils

Source

utils.lisp (file)

Function: assoc-values ITEM ALIST &key TEST
Package

bknr.utils

Source

utils.lisp (file)

Function: bknr-read S &optional EOF-ERROR-P EOF-VALUE COLLECT-WHITESPACE
Package

bknr.utils

Source

reader.lisp (file)

Function: bknr-read-delimited-list S ENDCHAR &optional EOF-ERROR-P EOF-VALUE COLLECT-WHITESPACE
Package

bknr.utils

Source

reader.lisp (file)

Function: blob-subsystem ()
Package

bknr.datastore

Source

blob.lisp (file)

Function: business-to-standard YEAR WEEK DOW

This function converts a given date from business notation YEAR WEEK DOW to standard notation year month day. DOW is not CL conform.

Package

date-calc

Source

date-calc.lisp (file)

Function: cascading-delete-object OBJECT

Delete the OBJECT and all objects that reference it and that are eligible to cascading deletes, as indicated by the result of calling CASCADE-DELETE-P. Generate error if there are references to the objects that are not eligible to cascading deletes.

Package

bknr.datastore

Source

object.lisp (file)

Function: center STRING WIDTH

Return a string that is WIDTH long with STRING centered in it.

Package

date-calc

Source

date-calc.lisp (file)

Function: change-slot-values OBJECT &rest SLOTS-AND-VALUES

This function is the deprecated way to set slots of persistent objects.

Package

bknr.datastore

Source

object.lisp (file)

Function: check-business-p YEAR WEEK DOW

This function returns true if the given three numerical values YEAR WEEK DOW constitute a valid date in business format, and nil otherwise. Beware that this function does NOT compute whether a given date is a business day (i.e., Monday to Friday)! To do so, use (< (day-of-week year month day) 6) instead. DOW not CL conform.

Package

date-calc

Source

date-calc.lisp (file)

Function: check-date YEAR MONTH DAY

This function returns t if the given three numerical values YEAR MONTH DAY constitute a valid date, and nil otherwise.

Package

date-calc

Source

date-calc.lisp (file)

Function: check-time-p HOUR MIN SEC

This function returns t if the given three numerical values HOUR MIN SEC constitute a valid time, and nil otherwise.

Package

date-calc

Source

date-calc.lisp (file)

Function: cl-business-to-standard YEAR WEEK DOW

This function converts a given date from business notation YEAR WEEK DOW to standard notation year month day. DOW is CL conform.

Package

date-calc

Source

date-calc.lisp (file)

Function: cl-check-business-p YEAR WEEK DOW

This function returns true if the given three numerical values YEAR WEEK DOW constitute a valid date in business format for CL (Monday=0), and nil otherwise. DOW is CL conform.

Package

date-calc

Source

date-calc.lisp (file)

Function: cl-day-of-week YEAR MONTH DAY

This function returns the DOW of YEAR MONTH DAY. DOW CL conform.

Package

date-calc

Source

date-calc.lisp (file)

Function: cl-decode-day-of-week STR

Returns number of weekday. STR can partially name the Weekday. DOW is CL conform.

Package

date-calc

Source

date-calc.lisp (file)

Function: cl-nth-weekday-of-month-year YEAR MONTH DOW N

This function returns the (year month day) of the N-th day of week DOW in the given MONTH and YEAR; such as, for example, the 3rd Thursday of a given month and year. DOW is CL conform.

Package

date-calc

Source

date-calc.lisp (file)

Function: cl-standard-to-business YEAR MONTH DAY

This function converts a given date from standard notation YEAR MONTH DAY to business notation year week day of week. DOW is CL conform.

Package

date-calc

Source

date-calc.lisp (file)

Function: cl-system-clock GMT TIME

This function returns (values year month day hour min sec doy dow dst) based on current system clock. DOW is CL conform.

Package

date-calc

Source

date-calc.lisp (file)

Function: cl-weeks-in-year YEAR

This function returns the number of weeks in the given YEAR for CL DOW conform numbering (Monday=0)., i.e., either 52 or 53.

Package

date-calc

Source

date-calc.lisp (file)

Function: class-instances CLASS
Package

bknr.datastore

Source

object.lisp (file)

Function: class-subclasses CLASS

Return a list of the names of all subclasses of a given class.

Package

bknr.utils

Source

utils.lisp (file)

Function: close-store ()
Package

bknr.datastore

Source

txn.lisp (file)

Function: convert-utf8-to-latin1 STRING &key IGNORE-ERRORS
Package

bknr.utils

Source

utils.lisp (file)

Function: count-multiple OBJECTS &rest KEYS
Package

bknr.utils

Source

utils.lisp (file)

Function: crypt-md5 PW SALT
Package

bknr.utils

Source

crypt-md5.lisp (file)

Function: current-transaction-timestamp ()
Package

bknr.datastore

Source

txn.lisp (file)

Function: date-to-days YEAR MONTH DAY

This function returns the (absolute) number of the day of the given date, where counting starts at the 1.Jan 1.

Package

date-calc

Source

date-calc.lisp (file)

Function: date-to-text YEAR MONTH DAY

Return a pretty print string of YEAR MONTH DAY in DOW-TXT(SHORT) DAY MONTH YEAR with a little bit of sorting for language.

Package

date-calc

Source

date-calc.lisp (file)

Function: date-to-text-long YEAR MONTH DAY

Return a pretty print string of YEAR MONTH DAY in DOW-TXT(LONG) DAY MONTH YEAR with a little bit of sorting for language.

Package

date-calc

Source

date-calc.lisp (file)

Function: day-interval DAY MONTH YEAR

Returns two values, the first and last second of the given day

Package

bknr.utils

Source

utils.lisp (file)

Function: day-of-week YEAR MONTH DAY

This function returns the DOW of YEAR MONTH DAY. DOW not CL conform.

Package

date-calc

Source

date-calc.lisp (file)

Function: day-of-year YEAR MONTH DAY

This function returns the sum of the number of days in the months starting with January up to and including MONTH in the given year YEAR. 0 on failure.

Package

date-calc

Source

date-calc.lisp (file)

Function: days-in-month YEAR MONTH

This function returns the number of days in the given MONTH of the given YEAR.

Package

date-calc

Source

date-calc.lisp (file)

Function: days-in-year YEAR &optional MONTH

This function returns the number of days in the given YEAR and optional MONTH. If MONTH is [1..12], return the number of days in that YEAR as of the last of that MONTH.

Package

date-calc

Source

date-calc.lisp (file)

Function: daytag ()
Package

bknr.utils

Source

utils.lisp (file)

Function: decode-day-of-week STR

Returns number of weekday. STR can partially name the Weekday. DOW is not CL conform.

Package

date-calc

Source

date-calc.lisp (file)

Function: decode-language NUM

Returns the Language of number NUM.

Package

date-calc

Source

date-calc.lisp (file)

Function: decode-month STR

Returns number of month. STR can partially name the month. Computes a (search ...:test #’char-equal).

Package

date-calc

Source

date-calc.lisp (file)

Function: delete-first OBJ LIST &key TEST
Package

bknr.utils

Source

utils.lisp (file)

Function: delete-object OBJECT
Package

bknr.datastore

Source

object.lisp (file)

Function: delete-objects &rest OBJECTS
Package

bknr.datastore

Source

object.lisp (file)

Function: delta-days YEAR1 MONTH1 DAY1 YEAR2 MONTH2 DAY2

This function returns the difference in days between Y1 M1 D1 and Y2 M2 D2.

Package

date-calc

Source

date-calc.lisp (file)

Function: delta-dhms YEAR1 MONTH1 DAY1 HOUR1 MIN1 SEC1 YEAR2 MONTH2 DAY2 HOUR2 MIN2 SEC2

Returns the difference in (values d h m s) between the two given dates with times (Y1 M1 D1 H1 MIN1 SEC1 and Y2 M2 D2 H2 MIN2 SEC2).

Package

date-calc

Source

date-calc.lisp (file)

Function: delta-hms HOUR1 MIN1 SEC1 HOUR2 MIN2 SEC2

This function returns the difference of H1 M1 S1 and H2 M2 S2 in (values d h m s).

Package

date-calc

Source

date-calc.lisp (file)

Function: delta-ymd YEAR1 MONTH1 DAY1 YEAR2 MONTH2 DAY2

This function returns the difference (values YEAR MONTH DAYS) between the two dates Y1M1D1 and Y2M2D2.

Package

date-calc

Source

date-calc.lisp (file)

Function: delta-ymdhms YEAR1 MONTH1 DAY1 HOUR1 MIN1 SEC1 YEAR2 MONTH2 DAY2 HOUR2 MIN2 SEC2

This function returns the difference (values YEAR MONTH DAYS HOUR MINUTE SEC) between the two dates Y1 M1 D1 H1 MI1 S1 and Y2 M2 D2 H2 MI2 S2.

Package

date-calc

Source

date-calc.lisp (file)

Function: directory-empty-p PATHNAME
Package

bknr.utils

Source

utils.lisp (file)

Function: eval-initargs INITARGS
Package

bknr.utils

Source

utils.lisp (file)

Function: execute TRANSACTION

Interface routine to execute a transaction, called through the deftransaction macro and by subsystems. Executes the transaction either with the store or with the currently active transaction, if any.

Package

bknr.datastore

Source

txn.lisp (file)

Function: file-contents PATHNAME &key ELEMENT-TYPE EXTERNAL-FORMAT
Package

bknr.utils

Source

utils.lisp (file)

Function: find-all ITEM SEQUENCE &rest KEYWORD-ARGS &key TEST TEST-NOT &allow-other-keys

Find all those elements of sequence that match item, according to the keywords. Doesn’t alter sequence.

Package

bknr.utils

Source

utils.lisp (file)

Function: find-child XML NODE-NAME
Package

bknr.xml

Source

xml.lisp (file)

Function: find-children XML NODE-NAME
Package

bknr.xml

Source

xml.lisp (file)

Function: find-matching-strings REGEXP STRINGS &key CASE-SENSITIVE
Package

bknr.utils

Source

utils.lisp (file)

Function: find-neighbourhood ELT LIST DEPTH &key TEST
Package

bknr.utils

Source

utils.lisp (file)

Function: find-store-object ID-OR-NAME &key CLASS QUERY-FUNCTION KEY-SLOT-NAME

Mock up implementation of find-store-object API as in the old datastore. Note: QUERY-FUNCTION will only be used if ID-OR-NAME is neither an integer nor a string designating an integer.

Package

bknr.datastore

Source

object.lisp (file)

Function: fixed-window YEAR

Convert two digit YEAR to four digit YEAR; YEAR<=70 -> 2000+YEAR; YEAR<100&&>70 -> 1900+YEAR.

Package

date-calc

Source

date-calc.lisp (file)

Function: format-date-time &optional UNIVERSAL-TIME &key STREAM SHOW-YEAR SHOW-MONTH SHOW-DATE SHOW-TIME SHOW-WEEKDAY SHOW-SECONDS VMS-STYLE US-STYLE MAIL-STYLE XML-STYLE JS-STYLE
Package

bknr.utils

Source

utils.lisp (file)

Function: format-duration DURATION
Package

bknr.utils

Source

utils.lisp (file)

Function: format-time-interval SECONDS
Package

bknr.utils

Source

utils.lisp (file)

Function: genlist FROM TO
Package

bknr.utils

Source

utils.lisp (file)

Function: get-daytime TIME
Package

bknr.utils

Source

utils.lisp (file)

Function: get-hourtime TIME
Package

bknr.utils

Source

utils.lisp (file)

Function: get-monthtime TIME
Package

bknr.utils

Source

utils.lisp (file)

Function: gmtime ()
Package

date-calc

Source

date-calc.lisp (file)

Function: group-by LIST NUM
Package

bknr.utils

Source

utils.lisp (file)

Function: group-on LIST &key TEST KEY INCLUDE-KEY
Package

bknr.utils

Source

utils.lisp (file)

Function: hash-keys HASH
Package

bknr.utils

Source

utils.lisp (file)

Function: hash-to-hex VECTOR
Package

bknr.utils

Source

utils.lisp (file)

Function: hash-to-list HASH &key KEY COMPARE NUM
Package

bknr.utils

Source

utils.lisp (file)

Function: hash-values HASH
Package

bknr.utils

Source

utils.lisp (file)

Function: hostname &key STRIP-DOMAIN
Package

bknr.utils

Source

utils.lisp (file)

Function: image-content-type TYPE-SYMBOL

Return the MIME type of the image - If the type-symbol is a string, it is assumed that the string specifies the MIME type.

Package

bknr.utils

Source

utils.lisp (file)

Function: image-type-symbol CONTENT-TYPE
Package

bknr.utils

Source

utils.lisp (file)

Function: in-transaction-p ()
Package

bknr.datastore

Source

txn.lisp (file)

Function: incf-hash KEY HASH &optional DELTA
Package

bknr.utils

Source

utils.lisp (file)

Function: index-create CLASS-NAME &rest INITARGS

Instantiate the index object with class CLASS-NAME with INITARGS.

Package

bknr.indices

Source

protocol.lisp (file)

Function: insert-at-index IDX L ELT
Package

bknr.utils

Source

utils.lisp (file)

Function: iso-lc CHAR

Returns lower case CHAR.

Package

date-calc

Source

date-calc.lisp (file)

Function: iso-uc CHAR

Returns upper case CHAR.

Package

date-calc

Source

date-calc.lisp (file)

Function: leap-year YEAR

This function returns 1 if the given YEAR is a leap year and 0 otherwise.

Package

date-calc

Source

date-calc.lisp (file)

Function: leap-year-p YEAR

This function returns t if the given YEAR is a leap year and nil otherwise.

Package

date-calc

Source

date-calc.lisp (file)

Function: localtime ()
Package

date-calc

Source

date-calc.lisp (file)

Function: make-blob-from-file PATHNAME &optional CLASS &rest INITARGS
Package

bknr.datastore

Source

blob.lisp (file)

Function: make-capability-string ()

return new unique capabilty as a string

Package

bknr.utils

Source

capability.lisp (file)

Function: make-extendable-string ()

Creates a resizable string.

Package

bknr.utils

Source

utils.lisp (file)

Function: make-fdf-file FILE-NAME &rest KEYS-AND-VALUES
Package

bknr.utils

Source

make-fdf-file.lisp (file)

Function: make-keyword-from-string STRING
Package

bknr.utils

Source

utils.lisp (file)

Function: make-statistics-table ()
Package

bknr.statistics

Source

runtime-statistics.lisp (file)

Function: make-temporary-pathname &key DEFAULTS NAME
Package

bknr.utils

Source

utils.lisp (file)

Function: map-store-objects FUN
Package

bknr.datastore

Source

/home/quickbuilder/common-lisp/quickref/map-declt.lisp

Function: md5-string INPUT-STRING
Package

bknr.utils

Source

utils.lisp (file)

Function: monday-of-week WEEK YEAR

Return (values year month day) where month and day correspond to the Monday of WEEK in YEAR

Package

date-calc

Source

date-calc.lisp (file)

Function: month-interval MONTH YEAR

Returns two values, the first and last second of the given month

Package

bknr.utils

Source

utils.lisp (file)

Function: month-num-days MONTH YEAR
Package

bknr.utils

Source

utils.lisp (file)

Function: move-file FILE1 FILE2
Package

bknr.utils

Source

utils.lisp (file)

Function: mp-make-lock &optional NAME
Package

bknr.utils

Source

acl-mp-compat.lisp (file)

Function: next-day COUNT &key START
Package

bknr.utils

Source

utils.lisp (file)

Function: node-attribute XML ATTRIBUTE-NAME
Package

bknr.xml

Source

xml.lisp (file)

Function: node-child-string-body XML NODE-NAME
Package

bknr.xml

Source

xml.lisp (file)

Function: node-children-nodes XML
Package

bknr.xml

Source

xml.lisp (file)

Function: node-string-body XML
Package

bknr.xml

Source

xml.lisp (file)

Function: node-to-html NODE &optional STREAM
Package

bknr.xml

Source

xml.lisp (file)

Function: normalize-dhms DAY HOUR MIN SEC

This function takes four arbitrary values for days, hours, minutes and seconds (which may have different signs) and renormalizes them so that the values for hours, minutes and seconds will lie in the ranges [-23..23], [-59..59] and [-59..59], respectively, and so that they have the same sign.

Package

date-calc

Source

date-calc.lisp (file)

Function: now ()

This function returns (hour minute second) for right now.

Package

date-calc

Source

date-calc.lisp (file)

Function: nrotate LIST
Package

bknr.utils

Source

utils.lisp (file)

Function: nth-weekday-of-month-year YEAR MONTH DOW N

This function returns the (year month day) of the N-th day of week DOW in the given MONTH and YEAR; such as, for example, the 3rd Thursday of a given month and year. DOW is not CL conform.

Package

date-calc

Source

date-calc.lisp (file)

Function: open-store DIRECTORY &key CLASS-NAME SUBSYSTEMS
Package

bknr.datastore

Source

txn.lisp (file)

Function: parent-categories CATEGORY
Package

bknr.indices

Source

category-index.lisp (file)

Function: parent-category CATEGORY
Package

bknr.indices

Source

category-index.lisp (file)

Function: parent-directory PATHNAME
Package

bknr.utils

Source

utils.lisp (file)

Function: parse-time TIME-STRING &key START END ERROR-ON-MISMATCH PATTERNS DEFAULT-SECONDS DEFAULT-MINUTES DEFAULT-HOURS DEFAULT-DAY DEFAULT-MONTH DEFAULT-YEAR DEFAULT-ZONE DEFAULT-WEEKDAY

Tries very hard to make sense out of the argument time-string and returns a single integer representing the universal time if successful. If not, it returns nil. If the :error-on-mismatch keyword is true, parse-time will signal an error instead of returning nil. Default values for each part of the time/date can be specified by the appropriate :default- keyword. These keywords can be given a numeric value or the keyword :current to set them to the current value. The default-default values are 00:00:00 on the current date, current time-zone.

Package

bknr.utils

Source

parse-time.lisp (file)

Function: parse-xml-file XML-FILE CLASSES &key RECODER IMPORTER-CLASS
Package

bknr.impex

Source

xml-import.lisp (file)

Function: pathname-content-type PATHNAME
Package

bknr.utils

Source

utils.lisp (file)

Function: pathname-type-symbol PATHNAME
Package

bknr.utils

Source

utils.lisp (file)

Function: persistent-change-class OBJECT CLASS &rest ARGS
Package

bknr.datastore

Source

object.lisp (file)

Function: previous-day COUNT &key START
Package

bknr.utils

Source

utils.lisp (file)

Function: random-elts CHOICES NUM
Package

bknr.utils

Source

utils.lisp (file)

Function: randomize-list L
Package

bknr.utils

Source

utils.lisp (file)

Function: read-delimited STREAM TOKEN

Reads stream up to delimiter.

Package

bknr.utils

Source

utils.lisp (file)

Function: read-file STREAM

Reads entire contents of stream into a string.

Package

bknr.utils

Source

utils.lisp (file)

Function: remove-keys KEYS ARGS
Package

bknr.utils

Source

utils.lisp (file)

Function: restore &optional UNTIL
Package

bknr.datastore

Source

txn.lisp (file)

Function: run-shell-command COMMAND S
Package

bknr.utils

Source

utils.lisp (file)

Function: run-shell-command-to-string CONTROL-STRING &rest ARGS

Interpolate ARGS into CONTROL-STRING as if by FORMAT, and synchronously execute the result using a Bourne-compatible shell. Returns the output and the shell’s exit code.

Package

bknr.utils

Source

utils.lisp (file)

Function: scale-bytes BYTE-COUNT
Package

bknr.utils

Source

utils.lisp (file)

Function: set-smb-password USERNAME PASSWORD &key CREATE
Package

bknr.utils

Source

smbpasswd.lisp (file)

Function: shift-until LIST NUM &key TEST
Package

bknr.utils

Source

utils.lisp (file)

Function: snapshot ()
Package

bknr.datastore

Source

txn.lisp (file)

Function: standard-to-business YEAR MONTH DAY

This function converts a given date from standard notation YEAR MONTH DAY to business notation year week dow. DOW is not CL conform.

Package

date-calc

Source

date-calc.lisp (file)

Function: store-blob-root-tempdir &optional STORE
Package

bknr.datastore

Source

blob.lisp (file)

Function: store-object-add-keywords OBJECT SLOT KEYWORDS
Package

bknr.datastore

Source

object.lisp (file)

Function: store-object-remove-keywords OBJECT SLOT KEYWORDS
Package

bknr.datastore

Source

object.lisp (file)

Function: store-object-set-keywords OBJECT SLOT KEYWORDS
Package

bknr.datastore

Source

object.lisp (file)

Function: store-object-subsystem ()
Package

bknr.datastore

Source

object.lisp (file)

Function: store-object-touch OBJECT

[Transaction function wrapper STORE-OBJECT-TOUCH invokes a store transaction] Update the LAST-CHANGE slot to reflect the current transaction timestamp.

Package

bknr.datastore

Source

object.lisp (file)

Function: store-object-with-id KEY
Package

bknr.datastore

Source

/home/quickbuilder/common-lisp/quickref/map-declt.lisp

Function: store-objects-with-class KEY
Package

bknr.datastore

Source

/home/quickbuilder/common-lisp/quickref/map-declt.lisp

Function: string-beginning-with-p STRING BEGINNING
Package

bknr.utils

Source

reader.lisp (file)

Function: string-delimited-by-p STRING CHAR
Package

bknr.utils

Source

reader.lisp (file)

Function: subdir-p SUBDIR DIR
Package

bknr.utils

Source

utils.lisp (file)

Function: subseq* SEQUENCE START &optional END

Like SUBSEQ, but limit END to the length of SEQUENCE

Package

bknr.utils

Source

utils.lisp (file)

Function: system-clock GMT TIME

This function returns (values year month day hour min sec doy dow dst) based on current system clock. DOW is not CL conform.

Package

date-calc

Source

date-calc.lisp (file)

Function: this-year ()

This function returns the current year in localtime.

Package

date-calc

Source

date-calc.lisp (file)

Function: timetag ()
Package

bknr.utils

Source

utils.lisp (file)

Function: today ()

This function returns (year month day) for today.

Package

date-calc

Source

date-calc.lisp (file)

Function: today-and-now ()

This function returns (year month day hour minute second) for the current date and time.

Package

date-calc

Source

date-calc.lisp (file)

Function: tomorrow ()
Package

date-calc

Source

date-calc.lisp (file)

Function: tree-categories TREE &optional CATEGORY
Package

bknr.indices

Source

category-index.lisp (file)

Function: tree-find-children TREE CATEGORY
Package

bknr.indices

Source

category-index.lisp (file)

Function: tree-find-siblings TREE CATEGORY
Package

bknr.indices

Source

category-index.lisp (file)

Function: tx-change-slot-values OBJECT &rest SLOTS-AND-VALUES

Called by the MOP to change a persistent slot’s value.

Package

bknr.datastore

Source

object.lisp (file)

Function: valid-month-p MONTH
Package

date-calc

Source

date-calc.lisp (file)

Function: valid-year-p YEAR
Package

date-calc

Source

date-calc.lisp (file)

Function: verify-md5-password PASSWORD SALTPW
Package

bknr.utils

Source

crypt-md5.lisp (file)

Function: week-number YEAR MONTH DAY

This function returns the number of the week of the given Y M D lies in. If the given date lies in the LAST week of the PREVIOUS year, 0 is returned.

Package

date-calc

Source

date-calc.lisp (file)

Function: week-of-year YEAR MONTH DAY

Return (values week year) where week is the week number of YEAR

Package

date-calc

Source

date-calc.lisp (file)

Function: weeks-in-year YEAR

This function returns the number of weeks in the given YEAR, i.e., either 52 or 53.

Package

date-calc

Source

date-calc.lisp (file)

Function: whitespace-char-p C
Package

bknr.utils

Source

reader.lisp (file)

Function: whitespace-p C-OR-S
Package

bknr.utils

Source

reader.lisp (file)

Function: year-interval YEAR
Package

bknr.utils

Source

utils.lisp (file)

Function: year-to-days YEAR

Returns the number of days for YEAR since 1 Jan 1.

Package

date-calc

Source

date-calc.lisp (file)

Function: yesterday ()
Package

date-calc

Source

date-calc.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.4 Generic functions

Generic Function: actor-running-p ACTOR
Package

bknr.utils

Methods
Method: actor-running-p (ACTOR bknr-actor)
Source

actor.lisp (file)

Generic Function: actor-start ACTOR
Package

bknr.utils

Methods
Method: actor-start (ACTOR bknr-actor)
Source

actor.lisp (file)

Generic Function: actor-stop ACTOR
Package

bknr.utils

Methods
Method: actor-stop (ACTOR bknr-actor)
Source

actor.lisp (file)

Generic Function: bknr-actor-name OBJECT
Generic Function: (setf bknr-actor-name) NEW-VALUE OBJECT
Package

bknr.utils

Methods
Method: bknr-actor-name (BKNR-ACTOR bknr-actor)

automatically generated reader method

Source

actor.lisp (file)

Method: (setf bknr-actor-name) NEW-VALUE (BKNR-ACTOR bknr-actor)

automatically generated writer method

Source

actor.lisp (file)

Generic Function: blob-from-array BLOB ARRAY
Package

bknr.datastore

Source

blob.lisp (file)

Methods
Method: blob-from-array (BLOB blob) IN
Generic Function: blob-from-file BLOB PATHNAME
Package

bknr.datastore

Source

blob.lisp (file)

Methods
Method: blob-from-file (BLOB blob) PATHNAME
Generic Function: blob-from-stream BLOB STREAM
Package

bknr.datastore

Source

blob.lisp (file)

Methods
Method: blob-from-stream (BLOB blob) IN
Generic Function: blob-from-string BLOB STRING
Package

bknr.datastore

Source

blob.lisp (file)

Methods
Method: blob-from-string (BLOB blob) STRING
Generic Function: blob-mime-type OBJECT
Package

bknr.datastore

Methods
Method: blob-mime-type (BLOB blob)

automatically generated reader method

Source

blob.lisp (file)

Generic Function: blob-pathname BLOB-OR-BLOB-ID
Package

bknr.datastore

Source

blob.lisp (file)

Methods
Method: blob-pathname (BLOB blob)
Method: blob-pathname (ID integer)
Generic Function: blob-size BLOB
Package

bknr.datastore

Source

blob.lisp (file)

Methods
Method: blob-size (BLOB blob)
Generic Function: blob-timestamp OBJECT
Package

bknr.datastore

Methods
Method: blob-timestamp (BLOB blob)

automatically generated reader method

Source

blob.lisp (file)

Generic Function: blob-to-file BLOB PATHNAME
Package

bknr.datastore

Source

blob.lisp (file)

Methods
Method: blob-to-file (BLOB blob) PATHNAME
Generic Function: blob-to-stream BLOB S
Package

bknr.datastore

Source

blob.lisp (file)

Methods
Method: blob-to-stream (BLOB blob) OUT
Generic Function: blob-type OBJECT
Package

bknr.datastore

Methods
Method: blob-type (BLOB blob)

automatically generated reader method

Source

blob.lisp (file)

Generic Function: cascade-delete-p OBJECT REFERENCING-OBJECT

return non-nil if the REFERENCING-OBJECT should be deleted when the OBJECT is deleted

Package

bknr.datastore

Source

object.lisp (file)

Methods
Method: cascade-delete-p OBJECT REFERENCING-OBJECT
Generic Function: class-slot-index CLASS SLOT-NAME
Package

bknr.indices

Methods
Method: class-slot-index (CLASS indexed-class) SLOT-NAME
Source

indexed-class.lisp (file)

Generic Function: class-slot-indices CLASS SLOT-NAME
Package

bknr.indices

Methods
Method: class-slot-indices (CLASS indexed-class) SLOT-NAME
Source

indexed-class.lisp (file)

Generic Function: clear-class-indices CLASS
Package

bknr.indices

Methods
Method: clear-class-indices (CLASS indexed-class)
Source

indexed-class.lisp (file)

Generic Function: clear-slot-indices SLOT
Package

bknr.indices

Methods
Method: clear-slot-indices (SLOT index-effective-slot-definition)
Source

indexed-class.lisp (file)

Generic Function: clear-statistics TABLE
Package

bknr.statistics

Methods
Method: clear-statistics (TABLE statistics-table)
Source

runtime-statistics.lisp (file)

Generic Function: convert-slot-value-while-restoring OBJECT SLOT-NAME VALUE

Generic function to be called to convert a slot’s
value from a previous snapshot layout. OBJECT is the object that is being restored, SLOT-NAME is the name of the slot in the old schema, VALUE is the value of the slot in the old schema.

Package

bknr.datastore

Source

object.lisp (file)

Methods
Method: convert-slot-value-while-restoring OBJECT SLOT-NAME VALUE
Generic Function: create-instance HANDLER CLASS-NAME &rest INITARGS
Package

bknr.impex

Methods
Method: create-instance (IMPORTER persistent-xml-class-importer) CLASS-NAME &rest INITFORMS
Source

xml-object.lisp (file)

Method: create-instance (HANDLER xml-class-importer) CLASS-NAME &rest INITARGS
Source

xml-import.lisp (file)

Generic Function: destroy-object OBJECT

Destroy the given object, and delete it from the indices.

Package

bknr.indices

Source

indexed-class.lisp (file)

Methods
Method: destroy-object OBJECT
Generic Function: ensure-store-current-directory STORE
Package

bknr.datastore

Methods
Method: ensure-store-current-directory (STORE store)
Source

txn.lisp (file)

Generic Function: find-refs OBJECT
Package

bknr.datastore

Methods
Method: find-refs (OBJECT store-object)

Find references to the given OBJECT in all store-objects, traversing both single valued and list valued slots.

Source

object.lisp (file)

Generic Function: index-add INDEX OBJECT

Add OBJECT to the INDEX. Throws an ERROR if a problem happened while inserting OBJECT.

Package

bknr.indices

Source

protocol.lisp (file)

Methods
Method: index-add (INDEX category-index) OBJECT
Source

category-index.lisp (file)

Method: index-add (INDEX class-skip-index) OBJECT
Source

indices.lisp (file)

Method: index-add (INDEX skip-list-index) OBJECT

Add an object using the value of the specified slot as key. When the hash-table entry already contains a value, an error is thrown.

Source

indices.lisp (file)

Method: index-add (INDEX array-index) OBJECT
Source

indices.lisp (file)

Method: index-add (INDEX hash-list-index) OBJECT
Source

indices.lisp (file)

Method: index-add (INDEX class-index) OBJECT
Source

indices.lisp (file)

Method: index-add (INDEX hash-index) OBJECT
Source

indices.lisp (file)

Method: index-add (INDEX string-unique-index) OBJECT around
Source

indices.lisp (file)

Method: index-add (INDEX unique-index) OBJECT

Add an object using the value of the specified slot as key. When the hash-table entry already contains a value, an error is signalled.

Source

indices.lisp (file)

Generic Function: index-clear INDEX

Remove all indexed objects from the index.

Package

bknr.indices

Source

protocol.lisp (file)

Methods
Method: index-clear (INDEX class-skip-index)
Source

indices.lisp (file)

Method: index-clear (INDEX skip-list-index)
Source

indices.lisp (file)

Method: index-clear (INDEX array-index)
Source

indices.lisp (file)

Method: index-clear (INDEX slot-index)
Source

indices.lisp (file)

Generic Function: index-get INDEX KEY

Get the object (or the objects) stored under the index-key KEY.

Package

bknr.indices

Source

protocol.lisp (file)

Methods
Method: index-get (INDEX category-index) CATEGORY
Source

category-index.lisp (file)

Method: index-get (INDEX class-skip-index) KEY
Source

indices.lisp (file)

Method: index-get (INDEX skip-list-index) KEY
Source

indices.lisp (file)

Method: index-get (INDEX array-index) COORDS
Source

indices.lisp (file)

Method: index-get (INDEX slot-index) KEY
Source

indices.lisp (file)

Generic Function: index-keys INDEX

Returns all the KEYs of the INDEX.

Package

bknr.indices

Source

protocol.lisp (file)

Methods
Method: index-keys (INDEX category-index)
Source

category-index.lisp (file)

Method: index-keys (INDEX class-skip-index)
Source

indices.lisp (file)

Method: index-keys (INDEX skip-list-index)
Source

indices.lisp (file)

Method: index-keys (INDEX array-index)
Source

indices.lisp (file)

Method: index-keys (INDEX slot-index)
Source

indices.lisp (file)

Generic Function: index-mapvalues INDEX FUN

Apply FUN to every object in the INDEX.

Package

bknr.indices

Source

protocol.lisp (file)

Methods
Method: index-mapvalues (INDEX skip-list-index) FUN
Source

indices.lisp (file)

Method: index-mapvalues (INDEX array-index) (FUN function)
Source

indices.lisp (file)

Method: index-mapvalues (INDEX hash-index) FUN
Source

indices.lisp (file)

Method: index-mapvalues (INDEX slot-index) FUN
Source

indices.lisp (file)

Generic Function: index-reinitialize NEW-INDEX OLD-INDEX

Called when the definition of an index is changed.

Package

bknr.indices

Source

protocol.lisp (file)

Methods
Method: index-reinitialize (NEW-INDEX category-index) (OLD-INDEX category-index) around
Source

category-index.lisp (file)

Method: index-reinitialize (NEW-INDEX class-skip-index) (OLD-INDEX class-skip-index)
Source

indices.lisp (file)

Method: index-reinitialize (NEW-INDEX skip-list-index) (OLD-INDEX skip-list-index)

Reinitialize the slot-bound index from the old index by copying the internal skip-list if the skip-list order function is the same, or by iterating over the values of the old-list and reentering them into the new skip-list.

Source

indices.lisp (file)

Method: index-reinitialize (NEW-INDEX array-index) (OLD-INDEX array-index)
Source

indices.lisp (file)

Method: index-reinitialize (NEW-INDEX slot-index) (OLD-INDEX slot-index)

Reinitialize the slot-bound index from the old index by copying the internal hash-table if the hash-table test is the same, or by iterating over the values of the old-table and reentering them into the new hash-table.

Source

indices.lisp (file)

Generic Function: index-remove INDEX OBJECT

Remove OBJECT from the INDEX.

Package

bknr.indices

Source

protocol.lisp (file)

Methods
Method: index-remove (INDEX category-index) OBJECT
Source

category-index.lisp (file)

Method: index-remove (INDEX class-skip-index) OBJECT
Source

indices.lisp (file)

Method: index-remove (INDEX skip-list-index) OBJECT
Source

indices.lisp (file)

Method: index-remove (INDEX array-index) OBJECT
Source

indices.lisp (file)

Method: index-remove (INDEX hash-list-index) OBJECT
Source

indices.lisp (file)

Method: index-remove (INDEX class-index) OBJECT
Source

indices.lisp (file)

Method: index-remove (INDEX hash-index) OBJECT
Source

indices.lisp (file)

Method: index-remove (INDEX slot-index) OBJECT
Source

indices.lisp (file)

Method: index-remove (INDEX slot-index) OBJECT around
Source

indices.lisp (file)

Generic Function: index-values INDEX

Returns all the objects (or object lists) stored in INDEX.

Package

bknr.indices

Source

protocol.lisp (file)

Methods
Method: index-values (INDEX skip-list-index)
Source

indices.lisp (file)

Method: index-values (INDEX array-index)
Source

indices.lisp (file)

Method: index-values (INDEX hash-index)
Source

indices.lisp (file)

Method: index-values (INDEX slot-index)
Source

indices.lisp (file)

Generic Function: indexed-class-index-named CLASS INDEX-NAME
Package

bknr.indices

Methods
Method: indexed-class-index-named (CLASS indexed-class) INDEX-NAME
Source

indexed-class.lisp (file)

Generic Function: initialize-subsystem SUBSYSTEM STORE STORE-EXISTED-P
Package

bknr.datastore

Source

txn.lisp (file)

Methods
Method: initialize-subsystem (SUBSYSTEM blob-subsystem) STORE STORE-EXISTED-P
Source

blob.lisp (file)

Method: initialize-subsystem SUBSYSTEM STORE STORE-EXISTED-P
Generic Function: initialize-transient-instance STORE-OBJECT

Initializes the transient aspects of a persistent object. This method is called after a persistent object has been initialized, also when the object is loaded from a snapshot, but before reading the transaction log.

Package

bknr.datastore

Source

object.lisp (file)

Methods
Method: initialize-transient-instance (OBJECT store-object)
Generic Function: map-skip-list FUN SL
Package

bknr.skip-list

Methods
Method: map-skip-list FUN (SL skip-list)
Source

skip-list.lisp (file)

Generic Function: map-skip-list-values FUN SL
Package

bknr.skip-list

Methods
Method: map-skip-list-values FUN (SL skip-list)
Source

skip-list.lisp (file)

Generic Function: note-statistic TABLE NAME ELAPSED
Package

bknr.statistics

Methods
Method: note-statistic (TABLE statistics-table) NAME ELAPSED
Source

runtime-statistics.lisp (file)

Generic Function: object-destroyed-p OBJECT
Package

bknr.indices

Methods
Method: object-destroyed-p OBJECT
Source

indexed-class.lisp (file)

Generic Function: prepare-for-snapshot OBJECT

Called for every store object before a snapshot is written.

Package

bknr.datastore

Source

object.lisp (file)

Methods
Method: prepare-for-snapshot (OBJECT store-object)
Generic Function: rename-file-to-blob BLOB PATHNAME
Package

bknr.datastore

Methods
Method: rename-file-to-blob (BLOB blob) PATHNAME
Source

blob.lisp (file)

Generic Function: restore-subsystem STORE SUBSYSTEM &key UNTIL
Package

bknr.datastore

Source

txn.lisp (file)

Methods
Method: restore-subsystem (STORE store) (SUBSYSTEM blob-subsystem) &key UNTIL
Source

blob.lisp (file)

Method: restore-subsystem (STORE store) (SUBSYSTEM store-object-subsystem) &key UNTIL
Source

object.lisp (file)

Generic Function: run-function ACTOR
Package

bknr.utils

Source

actor.lisp (file)

Generic Function: set-slot-value HANDLER OBJECT SLOT-NAME VALUE
Package

bknr.impex

Methods
Method: set-slot-value (HANDLER persistent-xml-class-importer) OBJECT SLOT-NAME VALUE
Source

xml-object.lisp (file)

Method: set-slot-value (HANDLER xml-class-importer) OBJECT SLOT-NAME VALUE
Source

xml-import.lisp (file)

Generic Function: show-statistics TABLE
Package

bknr.statistics

Methods
Method: show-statistics (TABLE statistics-table)
Source

runtime-statistics.lisp (file)

Generic Function: skip-list-cursor SL &key CURSOR CLASS
Package

bknr.skip-list

Methods
Method: skip-list-cursor (SL skip-list) &key CURSOR CLASS
Source

skip-list.lisp (file)

Generic Function: skip-list-delete SL KEY
Package

bknr.skip-list

Methods
Method: skip-list-delete (SL skip-list) KEY

Delete the node with KEY in the skip-list.

Source

skip-list.lisp (file)

Generic Function: skip-list-get KEY SL
Generic Function: (setf skip-list-get) NEW-VALUE KEY SL
Package

bknr.skip-list

Methods
Method: skip-list-get KEY (SL skip-list)
Method: (setf skip-list-get) NEW-VALUE KEY (SL skip-list)
Source

skip-list.lisp (file)

Generic Function: skip-list-insert SL KEY VALUE
Package

bknr.skip-list

Methods
Method: skip-list-insert (SL skip-list) KEY VALUE

Insert VALUE under KEY in the skip-list. Replaces the existing node with KEY if present, or inserts a new node with random level.

Source

skip-list.lisp (file)

Generic Function: skip-list-keys-cursor SL
Package

bknr.skip-list

Methods
Method: skip-list-keys-cursor (SL skip-list)
Source

skip-list.lisp (file)

Generic Function: skip-list-length OBJECT
Generic Function: (setf skip-list-length) NEW-VALUE OBJECT
Package

bknr.skip-list

Methods
Method: skip-list-length (SKIP-LIST skip-list)

automatically generated reader method

Source

skip-list.lisp (file)

Method: (setf skip-list-length) NEW-VALUE (SKIP-LIST skip-list)

automatically generated writer method

Source

skip-list.lisp (file)

Generic Function: skip-list-range-cursor SL START END
Package

bknr.skip-list

Methods
Method: skip-list-range-cursor (SL skip-list) START END
Source

skip-list.lisp (file)

Generic Function: skip-list-remove KEY SL
Package

bknr.skip-list

Methods
Method: skip-list-remove KEY (SL skip-list)
Source

skip-list.lisp (file)

Generic Function: skip-list-search SL KEY &optional NOT-FOUND
Package

bknr.skip-list

Methods
Method: skip-list-search (SL skip-list) KEY &optional NOT-FOUND
Source

skip-list.lisp (file)

Generic Function: skip-list-values-cursor SL
Package

bknr.skip-list

Methods
Method: skip-list-values-cursor (SL skip-list)
Source

skip-list.lisp (file)

Generic Function: sl-cursor-next SLC &optional EOC
Package

bknr.skip-list

Methods
Method: sl-cursor-next (SLC skip-list-range-cursor) &optional EOC around
Source

skip-list.lisp (file)

Method: sl-cursor-next (SLC skip-list-key-cursor) &optional EOC around
Source

skip-list.lisp (file)

Method: sl-cursor-next (SLC skip-list-value-cursor) &optional EOC around
Source

skip-list.lisp (file)

Method: sl-cursor-next (SLC skip-list-cursor) &optional EOC
Source

skip-list.lisp (file)

Generic Function: sl-cursor-prev SLC &optional EOC
Package

bknr.skip-list

Methods
Method: sl-cursor-prev (SLC skip-list-cursor) &optional EOC
Source

skip-list.lisp (file)

Generic Function: snapshot-subsystem STORE SUBSYSTEM
Package

bknr.datastore

Source

txn.lisp (file)

Methods
Method: snapshot-subsystem (STORE store) (SUBSYSTEM blob-subsystem)
Source

blob.lisp (file)

Method: snapshot-subsystem (STORE store) (SUBSYSTEM store-object-subsystem)
Source

object.lisp (file)

Generic Function: store-guard OBJECT
Package

bknr.datastore

Methods
Method: store-guard (STORE store)

automatically generated reader method

Source

txn.lisp (file)

Generic Function: store-object-id OBJECT
Package

bknr.datastore

Methods
Method: store-object-id (STORE-OBJECT store-object)

automatically generated reader method

Source

object.lisp (file)

Generic Function: store-object-last-change OBJECT DEPTH

Return the last change time of the OBJECT. DEPTH determines how deep the object graph will be traversed.

Package

bknr.datastore

Source

object.lisp (file)

Methods
Method: store-object-last-change OBJECT (DEPTH integer)
Method: store-object-last-change (OBJECT store-object) (DEPTH (eql 0))
Method: store-object-last-change (OBJECT store-object) DEPTH
Generic Function: store-state OBJECT
Generic Function: (setf store-state) NEW-VALUE OBJECT
Package

bknr.datastore

Methods
Method: store-state (STORE store)
Method: (setf store-state) NEW-VALUE (STORE store)

State of the datastore, can be either :closed, :opened or :read-only

Source

txn.lisp (file)

Generic Function: transaction-args OBJECT
Package

bknr.datastore

Methods
Method: transaction-args (TRANSACTION transaction)

automatically generated reader method

Source

txn.lisp (file)

Generic Function: transaction-function-symbol OBJECT
Package

bknr.datastore

Methods
Method: transaction-function-symbol (TRANSACTION transaction)

Symbol of the function called when executing the transaction

Source

txn.lisp (file)

Generic Function: transaction-timestamp OBJECT
Generic Function: (setf transaction-timestamp) NEW-VALUE OBJECT
Package

bknr.datastore

Methods
Method: transaction-timestamp (TRANSACTION transaction)

automatically generated reader method

Source

txn.lisp (file)

Method: (setf transaction-timestamp) NEW-VALUE (TRANSACTION transaction)

automatically generated writer method

Source

txn.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.5 Conditions

Condition: index-existing-error ()
Package

bknr.indices

Source

protocol.lisp (file)

Direct superclasses

error (condition)

Direct methods
Direct slots
Slot: index
Initargs

:index

Readers

condition-index (generic function)

Slot: key
Initargs

:key

Readers

condition-key (generic function)

Slot: value
Initargs

:value

Readers

condition-value (generic function)

Condition: smb-password-error ()
Package

bknr.utils

Source

smbpasswd.lisp (file)

Direct superclasses

condition (condition)

Direct methods
Direct slots
Slot: message
Initargs

:message

Readers

smb-password-error-message (generic function)

Writers

(setf smb-password-error-message) (generic function)


Previous: , Up: Exported definitions   [Contents][Index]

6.1.6 Classes

Class: array-index ()
Package

bknr.indices

Source

indices.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: slot-names
Initargs

:slot-names

Readers

array-index-slot-names (generic function)

Writers

(setf array-index-slot-names) (generic function)

Slot: array
Initargs

:array

Readers

array-index-array (generic function)

Writers

(setf array-index-array) (generic function)

Class: bknr-actor ()
Package

bknr.utils

Source

actor.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: name
Initargs

:name

Readers

bknr-actor-name (generic function)

Writers

(setf bknr-actor-name) (generic function)

Slot: process
Readers

bknr-actor-process (generic function)

Writers

(setf bknr-actor-process) (generic function)

Direct Default Initargs
InitargValue
:name"anonymous actor"
Class: blob ()
Package

bknr.datastore

Source

blob.lisp (file)

Direct superclasses

store-object (class)

Direct methods
Direct slots
Slot: type
Initargs

:type

Readers
Slot: timestamp
Initargs

:timestamp

Initform

(get-universal-time)

Readers

blob-timestamp (generic function)

Class: blob-subsystem ()
Package

bknr.datastore

Source

blob.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: n-blobs-per-directory

The number of blobs to store in each subdirectory of
blob-root. If this is NIL, do not create subdirectories. This parameter must be specified when the when the store is created and is stored in the datastore root to ensure that the correct value is used later.

Initargs

:n-blobs-per-directory

Readers

n-blobs-per-directory (generic function)

Writers

(setf n-blobs-per-directory) (generic function)

Class: category-index ()
Package

bknr.indices

Source

category-index.lisp (file)

Direct superclasses

hash-index (class)

Direct methods
Direct slots
Slot: tree
Initargs

:tree

Initform

(bknr.indices::make-category-tree)

Readers

category-index-tree (generic function)

Writers

(setf category-index-tree) (generic function)

Direct Default Initargs
InitargValue
:test(function equal)
Class: class-index ()
Package

bknr.indices

Source

indices.lisp (file)

Direct superclasses

hash-index (class)

Direct methods
Direct slots
Slot: index-superclasses
Initargs

:index-superclasses

Readers

class-index-index-superclasses (generic function)

Class: class-skip-index ()
Package

bknr.indices

Source

indices.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: index-superclasses
Initargs

:index-superclasses

Readers

class-skip-index-index-superclasses (generic function)

Slot: slot-name
Initargs

:slot-name

Readers

class-skip-index-slot-name (generic function)

Writers

(setf class-skip-index-slot-name) (generic function)

Slot: hash-table
Readers

class-skip-index-hash-table (generic function)

Writers

(setf class-skip-index-hash-table) (generic function)

Class: hash-index ()
Package

bknr.indices

Source

indices.lisp (file)

Direct superclasses

slot-index (class)

Direct subclasses
Direct methods
Class: hash-list-index ()
Package

bknr.indices

Source

indices.lisp (file)

Direct superclasses

slot-index (class)

Direct methods
Class: index-direct-slot-definition ()
Package

bknr.indices

Source

indexed-class.lisp (file)

Direct superclasses

standard-direct-slot-definition (class)

Direct subclasses
Direct methods
Direct slots
Slot: index

Slot keyword for an already existing index

Initargs

:index

Readers

index-direct-slot-definition-index (generic function)

Slot: index-var

Symbol that will be bound to the index

Initargs

:index-var

Readers

index-direct-slot-definition-index-var (generic function)

Slot: index-type

Slot keyword to specify the class of a new slot index

Initargs

:index-type

Readers

index-direct-slot-definition-index-type (generic function)

Slot: index-initargs

Arguments that will be passed to INDEX-CREATE when creating a new slot index

Initargs

:index-initargs

Readers

index-direct-slot-definition-index-initargs (generic function)

Slot: index-reader

Name of a function that will be created to query the slot index

Initargs

:index-reader

Readers

index-direct-slot-definition-index-reader (generic function)

Writers

(setf index-direct-slot-definition-index-reader) (generic function)

Slot: index-values

Name of a function that will be
created to get the values stored in the index

Initargs

:index-values

Readers

index-direct-slot-definition-index-values (generic function)

Writers

(setf index-direct-slot-definition-index-values) (generic function)

Slot: index-mapvalues

Name of a function that will be
created to map over the values stored in the index

Initargs

:index-mapvalues

Readers

index-direct-slot-definition-index-mapvalues (generic function)

Writers

(setf index-direct-slot-definition-index-mapvalues) (generic function)

Slot: index-keys

Name of a function that will be created to get the keys stored in the index

Initargs

:index-keys

Readers

index-direct-slot-definition-index-keys (generic function)

Writers

(setf index-direct-slot-definition-index-keys) (generic function)

Slot: index-subclasses

Specify if the slot index will
also index subclasses of the class to which the slot belongs, default is T

Initargs

:index-subclasses

Initform

t

Readers

index-direct-slot-definition-index-subclasses (generic function)

Writers

(setf index-direct-slot-definition-index-subclasses) (generic function)

Slot: class
Readers

index-direct-slot-definition-class (generic function)

Writers

(setf index-direct-slot-definition-class) (generic function)

Class: index-effective-slot-definition ()
Package

bknr.indices

Source

indexed-class.lisp (file)

Direct superclasses

standard-effective-slot-definition (class)

Direct subclasses
Direct methods
Direct slots
Slot: indices
Initargs

:indices

Readers

index-effective-slot-definition-indices (generic function)

Writers

(setf index-effective-slot-definition-indices) (generic function)

Class: indexed-class ()
Package

bknr.indices

Source

indexed-class.lisp (file)

Direct superclasses

standard-class (class)

Direct subclasses
Direct methods
Direct slots
Slot: indices
Initargs

:indices

Readers

indexed-class-indices (generic function)

Writers

(setf indexed-class-indices) (generic function)

Slot: old-indices
Initargs

:old-indices

Readers

indexed-class-old-indices (generic function)

Writers

(setf indexed-class-old-indices) (generic function)

Slot: index-definitions
Initargs

:class-indices

Readers

indexed-class-index-definitions (generic function)

Writers

(setf indexed-class-index-definitions) (generic function)

Class: mp-store ()

Store in which every transaction and operation is protected by a giant lock.

Package

bknr.datastore

Source

txn.lisp (file)

Direct superclasses

store (class)

Direct Default Initargs
InitargValue
:guard(let ((bknr.datastore::lock (bknr.utils:mp-make-lock))) (lambda (bknr.datastore::thunk) (bknr.utils:mp-with-recursive-lock-held (bknr.datastore::lock) (funcall bknr.datastore::thunk))))
:log-guard(let ((bknr.datastore::lock (bknr.utils:mp-make-lock))) (lambda (bknr.datastore::thunk) (bknr.utils:mp-with-recursive-lock-held (bknr.datastore::lock) (funcall bknr.datastore::thunk))))
Class: persistent-class ()
Package

bknr.datastore

Source

object.lisp (file)

Direct superclasses

indexed-class (class)

Direct subclasses

persistent-xml-class (class)

Direct methods
  • validate-superclass (method)
  • compute-effective-slot-definition (method)
  • effective-slot-definition-class (method)
  • direct-slot-definition-class (method)
  • slot-value-using-class (method)
  • slot-value-using-class (method)
  • reinitialize-instance (method)
  • validate-superclass (method)
Class: persistent-xml-class ()
Package

bknr.datastore

Source

xml-object.lisp (file)

Direct superclasses
Direct methods
  • effective-slot-definition-class (method)
  • direct-slot-definition-class (method)
  • validate-superclass (method)
  • validate-superclass (method)
Class: persistent-xml-class-importer ()
Package

bknr.datastore

Source

xml-object.lisp (file)

Direct superclasses

xml-class-importer (class)

Direct methods
Class: skip-list ()

Skip-list class, access to elements is done through the header node.

Package

bknr.skip-list

Source

skip-list.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: header
Type

simple-vector

Initform

(bknr.skip-list::make-header)

Readers

skip-list-header (generic function)

Slot: length
Type

fixnum

Initform

0

Readers

skip-list-length (generic function)

Writers

(setf skip-list-length) (generic function)

Slot: level
Type

fixnum

Initform

0

Readers

skip-list-level (generic function)

Writers

(setf skip-list-level) (generic function)

Class: skip-list-cursor ()
Package

bknr.skip-list

Source

skip-list.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Direct methods
Direct slots
Slot: node
Initargs

:node

Readers

skip-list-cursor-node (generic function)

Writers

(setf skip-list-cursor-node) (generic function)

Class: skip-list-index ()
Package

bknr.indices

Source

indices.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: skip-list
Initargs

:skip-list

Readers

skip-list-index-skip-list (generic function)

Writers

(setf skip-list-index-skip-list) (generic function)

Slot: slot-name
Initargs

:slot-name

Readers

skip-list-index-slot-name (generic function)

Writers

(setf skip-list-index-slot-name) (generic function)

Slot: index-nil
Initargs

:index-nil

Readers

skip-list-index-index-nil (generic function)

Writers

(setf skip-list-index-index-nil) (generic function)

Class: skip-list-key-cursor ()
Package

bknr.skip-list

Source

skip-list.lisp (file)

Direct superclasses

skip-list-cursor (class)

Direct methods

sl-cursor-next (method)

Class: skip-list-range-cursor ()
Package

bknr.skip-list

Source

skip-list.lisp (file)

Direct superclasses

skip-list-cursor (class)

Direct methods
Direct slots
Slot: end
Initargs

:end

Readers

slrc-end (generic function)

Class: skip-list-value-cursor ()
Package

bknr.skip-list

Source

skip-list.lisp (file)

Direct superclasses

skip-list-cursor (class)

Direct methods

sl-cursor-next (method)

Class: slot-index ()
Package

bknr.indices

Source

indices.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Direct methods
Direct slots
Slot: hash-table

The internal hash table used to index objects.

Initargs

:hash-table

Readers

slot-index-hash-table (generic function)

Writers

(setf slot-index-hash-table) (generic function)

Slot: slot-name

The value of the slot with name
SLOT-NAME is used as a key to the internal hash-table.

Initargs

:slot-name

Readers

slot-index-slot-name (generic function)

Slot: index-nil

If T, NIL is used as a valid slot value, else slots with NIL value are treated as unbound slots.

Initargs

:index-nil

Readers

slot-index-index-nil (generic function)

Class: store ()
Package

bknr.datastore

Source

txn.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses

mp-store (class)

Direct methods
Direct slots
Slot: directory
Initargs

:directory

Readers

store-directory (generic function)

Writers

(setf store-directory) (generic function)

Slot: state

State of the datastore, can be either :closed, :opened or :read-only

Initform

:closed

Readers

store-state (generic function)

Writers

(setf store-state) (generic function)

Slot: transaction-log-stream
Readers

store-transaction-log-stream (generic function)

Writers

(setf store-transaction-log-stream) (generic function)

Slot: random-state
Readers

store-random-state (generic function)

Writers

(setf store-random-state) (generic function)

Slot: guard
Initargs

:guard

Readers

store-guard (generic function)

Slot: log-guard
Initargs

:log-guard

Readers

store-log-guard (generic function)

Slot: subsystems
Initargs

:subsystems

Readers

store-subsystems (generic function)

Slot: transaction-run-time

The total run time of all application transaction code since last snapshot

Initform

0

Readers

store-transaction-run-time (generic function)

Writers

(setf store-transaction-run-time) (generic function)

Direct Default Initargs
InitargValue
:guard(function funcall)
:log-guard(function funcall)
:subsystems(list (make-instance (quote bknr.datastore:store-object-subsystem)))
Class: store-object ()
Package

bknr.datastore

Source

object.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Direct methods
Direct slots
Slot: id
Type

integer

Initargs

:id

Readers

store-object-id (generic function)

Slot: last-change
Initargs

:last-change

Initform

(get-universal-time)

Class: store-object-subsystem ()
Package

bknr.datastore

Source

object.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: next-object-id

Next object ID to assign to a new object

Initform

0

Readers

next-object-id (generic function)

Writers

(setf next-object-id) (generic function)

Class: string-unique-index ()
Package

bknr.indices

Source

indices.lisp (file)

Direct superclasses

unique-index (class)

Direct methods
  • index-add (method)
  • initialize-instance (method)
Class: transaction ()
Package

bknr.datastore

Source

txn.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses

anonymous-transaction (class)

Direct methods
Direct slots
Slot: function-symbol

Symbol of the function called when executing the transaction

Initargs

:function-symbol

Readers

transaction-function-symbol (generic function)

Slot: args
Initargs

:args

Readers

transaction-args (generic function)

Slot: timestamp
Initargs

:timestamp

Initform

(get-universal-time)

Readers

transaction-timestamp (generic function)

Writers

(setf transaction-timestamp) (generic function)

Class: unique-index ()
Package

bknr.indices

Source

indices.lisp (file)

Direct superclasses

slot-index (class)

Direct subclasses

string-unique-index (class)

Direct methods

index-add (method)

Class: xml-class ()
Package

bknr.impex

Source

xml-class.lisp (file)

Direct superclasses

indexed-class (class)

Direct subclasses

persistent-xml-class (class)

Direct methods
Direct slots
Slot: element
Initargs

:element

Readers

xml-class-element (generic function)

Writers

(setf xml-class-element) (generic function)

Slot: unique-id-slot

if set to a slot name, this
signals that the slot can be used as a unique id to refer to an instance of the object in a n XML update operation

Initargs

:unique-id-slot

Slot: unique-id-reader

if set to a function, this
signals that the function can be used as a unique index-reader when used in XML update operations.

Initargs

:unique-id-reader

Slot: dtd-name
Readers

xml-class-dtd-name (generic function)

Class: xml-class-importer ()
Package

bknr.impex

Source

xml-import.lisp (file)

Direct superclasses

default-handler (class)

Direct subclasses

persistent-xml-class-importer (class)

Direct methods
Direct slots
Slot: dtd
Initargs

:dtd

Readers

importer-dtd (generic function)

Slot: class-hash
Initargs

:class-hash

Readers

importer-class-hash (generic function)

Writers

(setf importer-class-hash) (generic function)

Slot: root-elt
Readers

importer-root-elt (generic function)

Writers

(setf importer-root-elt) (generic function)

Slot: parent-elts
Readers

importer-parent-elts (generic function)

Writers

(setf importer-parent-elts) (generic function)


Previous: , Up: Definitions   [Contents][Index]

6.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.1 Constants

Constant: +itoa64+
Package

bknr.utils

Source

crypt-md5.lisp (file)

Constant: +max-level+

Maximum level of skip-list, should be enough for 2^32 elements.

Package

bknr.skip-list

Source

skip-list.lisp (file)

Constant: +stress-size+
Package

bknr.datastore.tests

Source

object-tests.lisp (file)

Constant: +whitespace-chars+
Package

bknr.utils

Source

reader.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.2 Special variables

Special Variable: *allocate-object-id-lock*
Package

bknr.datastore

Source

object.lisp (file)

Special Variable: *capability-count*
Package

bknr.utils

Source

capability.lisp (file)

Special Variable: *current-object-slot*
Package

bknr.datastore

Source

object.lisp (file)

Special Variable: *current-slot-relaxed-p*
Package

bknr.datastore

Source

object.lisp (file)

Special Variable: *current-transaction*
Package

bknr.datastore

Source

txn.lisp (file)

Special Variable: *default-date-time-patterns*
Package

bknr.utils

Source

parse-time.lisp (file)

Special Variable: *disable-sync*
Package

bknr.datastore

Source

txn.lisp (file)

Special Variable: *error-on-mismatch*

If t, an error will be signalled if parse-time is unable to determine the time/date format of the string.

Package

bknr.utils

Source

parse-time.lisp (file)

Special Variable: *http-date-time-patterns*
Package

bknr.utils

Source

parse-time.lisp (file)

Special Variable: *image-type<->content-type*
Package

bknr.utils

Source

utils.lisp (file)

Special Variable: *in-make-instance-p*
Package

bknr.indices

Source

indexed-class.lisp (file)

Special Variable: *indices-remove-p*
Package

bknr.indices

Source

indexed-class.lisp (file)

Special Variable: *mail-timezone*
Package

bknr.utils

Source

utils.lisp (file)

Special Variable: *month-strings*
Package

bknr.utils

Source

parse-time.lisp (file)

Special Variable: *objects-written*
Package

bknr.impex

Source

xml-export.lisp (file)

Special Variable: *show-transactions*
Package

bknr.datastore

Source

txn.lisp (file)

Special Variable: *sl-random-state*

Internal status of the random number generator.

Package

bknr.skip-list

Source

skip-list.lisp (file)

Special Variable: *slot-name-map*
Package

bknr.datastore

Source

object.lisp (file)

Special Variable: *special-strings*
Package

bknr.utils

Source

parse-time.lisp (file)

Special Variable: *store-verbose*
Package

bknr.datastore

Source

txn.lisp (file)

Special Variable: *suppress-schema-warnings*
Package

bknr.datastore

Source

object.lisp (file)

Special Variable: *test-datastore*
Package

bknr.datastore.tests

Source

object-tests.lisp (file)

Special Variable: *tests*
Package

bknr.datastore.tests

Source

object-tests.lisp (file)

Special Variable: *transaction-statistics*
Package

bknr.datastore

Source

txn.lisp (file)

Special Variable: *txn-log-stream*

This variable is bound to the transaction log stream while loading the transaction log. It is used by anonymous transactions to read the subtransactions from the log.

Package

bknr.datastore

Source

txn.lisp (file)

Special Variable: *weekday-strings*
Package

bknr.utils

Source

parse-time.lisp (file)

Special Variable: *zone-strings*
Package

bknr.utils

Source

parse-time.lisp (file)

Special Variable: +smb-wrapper-program+
Package

bknr.utils

Source

smbpasswd.lisp (file)

Special Variable: century-of-epoc

Century of reference (epoc)

Package

date-calc

Source

date-calc.lisp (file)

Special Variable: date-dividers
Package

bknr.utils

Source

parse-time.lisp (file)

Special Variable: day-of-week-abbreviation
Package

date-calc

Source

date-calc.lisp (file)

Special Variable: day-of-week-to-text
Package

date-calc

Source

date-calc.lisp (file)

Special Variable: days-in-month-arr
Package

date-calc

Source

date-calc.lisp (file)

Special Variable: days-in-year-arr
Package

date-calc

Source

date-calc.lisp (file)

Special Variable: eopoc

reference year (epoc)

Package

date-calc

Source

date-calc.lisp (file)

Special Variable: language-to-text
Package

date-calc

Source

date-calc.lisp (file)

Special Variable: languages
Package

date-calc

Source

date-calc.lisp (file)

Special Variable: long-format
Package

date-calc

Source

date-calc.lisp (file)

Special Variable: month-table-size
Package

bknr.utils

Source

parse-time.lisp (file)

Special Variable: month-to-text
Package

date-calc

Source

date-calc.lisp (file)

Special Variable: special-table-size
Package

bknr.utils

Source

parse-time.lisp (file)

Special Variable: time-dividers
Package

bknr.utils

Source

parse-time.lisp (file)

Special Variable: weekday-table-size
Package

bknr.utils

Source

parse-time.lisp (file)

Special Variable: whitespace-chars
Package

bknr.utils

Source

parse-time.lisp (file)

Special Variable: year-of-epoc

Year of reference (epoc)

Package

date-calc

Source

date-calc.lisp (file)

Special Variable: zone-table-size
Package

bknr.utils

Source

parse-time.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.3 Macros

Macro: defdstest NAME ARGS &body BODY
Package

bknr.datastore.tests

Source

object-tests.lisp (file)

Macro: define-constant NAME VALUE &optional DOC

Macro for use in place of defconstant in order to make SBCL compiler happy

Package

bknr.utils

Source

utils.lisp (file)

Macro: hashlist LIST TABLE
Package

bknr.utils

Source

parse-time.lisp (file)

Macro: node-forward NODE &optional I
Package

bknr.skip-list

Source

skip-list.lisp (file)

Macro: node-key NODE
Package

bknr.skip-list

Source

skip-list.lisp (file)

Macro: node-value NODE
Package

bknr.skip-list

Source

skip-list.lisp (file)

Macro: with-elapsed-run-time (ELAPSED-VAR FORM) &body BODY
Package

bknr.statistics

Source

runtime-statistics.lisp (file)

Macro: with-log-guard (&optional STORE) &rest BODY

Execute BODY in the context of the log file guard of STORE.

Package

bknr.datastore

Source

txn.lisp (file)

Macro: with-store (STORE &key) &body BODY
Package

bknr.datastore

Source

txn.lisp (file)

Macro: with-store-state (STATE &optional STORE) &rest BODY
Package

bknr.datastore

Source

txn.lisp (file)

Macro: with-transaction-log (TRANSACTION) &body BODY
Package

bknr.datastore

Source

txn.lisp (file)

Macro: without-sync () &body BODY
Package

bknr.datastore

Source

txn.lisp (file)

Macro: write-to-xml-string OBJECT &key NAME INDENTATION CANONICAL
Package

bknr.impex

Source

xml-export.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.4 Functions

Function: %decode-array STREAM
Package

bknr.datastore

Source

encoding.lisp (file)

Function: %decode-char STREAM
Package

bknr.datastore

Source

encoding.lisp (file)

Function: %decode-double-float STREAM
Package

bknr.datastore

Source

encoding.lisp (file)

Function: %decode-hash-table STREAM
Package

bknr.datastore

Source

encoding.lisp (file)

Function: %decode-integer STREAM
Package

bknr.datastore

Source

encoding.lisp (file)

Function: %decode-integer/fixed STREAM N
Package

bknr.datastore

Source

encoding.lisp (file)

Function: %decode-list STREAM
Package

bknr.datastore

Source

encoding.lisp (file)

Function: %decode-rational STREAM
Package

bknr.datastore

Source

encoding.lisp (file)

Function: %decode-single-float STREAM
Package

bknr.datastore

Source

encoding.lisp (file)

Function: %decode-sint32 STREAM
Package

bknr.datastore

Source

encoding.lisp (file)

Function: %decode-store-object STREAM
Package

bknr.datastore

Source

object.lisp (file)

Function: %decode-string STREAM
Package

bknr.datastore

Source

encoding.lisp (file)

Function: %decode-symbol STREAM &key INTERN USAGE
Package

bknr.datastore

Source

encoding.lisp (file)

Function: %decode-uint16 STREAM
Package

bknr.datastore

Source

encoding.lisp (file)

Function: %decode-uint32 STREAM
Package

bknr.datastore

Source

encoding.lisp (file)

Function: %encode-array OBJECT STREAM
Package

bknr.datastore

Source

encoding.lisp (file)

Function: %encode-double-float OBJECT STREAM
Package

bknr.datastore

Source

encoding.lisp (file)

Function: %encode-int16 OBJECT STREAM
Package

bknr.datastore

Source

encoding.lisp (file)

Function: %encode-int32 OBJECT STREAM
Package

bknr.datastore

Source

encoding.lisp (file)

Function: %encode-integer OBJECT STREAM
Package

bknr.datastore

Source

encoding.lisp (file)

Function: %encode-list OBJECT STREAM
Package

bknr.datastore

Source

encoding.lisp (file)

Function: %encode-rational OBJECT STREAM
Package

bknr.datastore

Source

encoding.lisp (file)

Function: %encode-set-slots SLOTS OBJECT STREAM
Package

bknr.datastore

Source

object.lisp (file)

Function: %encode-single-float OBJECT STREAM
Package

bknr.datastore

Source

encoding.lisp (file)

Function: %encode-string OBJECT STREAM
Package

bknr.datastore

Source

encoding.lisp (file)

Function: %encode-symbol OBJECT STREAM
Package

bknr.datastore

Source

encoding.lisp (file)

Function: %read-char STREAM
Package

bknr.datastore

Source

encoding.lisp (file)

Function: %read-slots STREAM OBJECT SLOTS

Read the OBJECT from STREAM. The individual slots of the object are expected in the order of the list SLOTS. If the OBJECT is NIL, the slots are read from the snapshot and ignored.

Package

bknr.datastore

Source

object.lisp (file)

Function: %read-tag STREAM &optional EOF-ERROR-P EOF-VALUE
Package

bknr.datastore

Source

encoding.lisp (file)

Function: %write-char CHAR STREAM
Package

bknr.datastore

Source

encoding.lisp (file)

Function: %write-tag CHAR STREAM
Package

bknr.datastore

Source

encoding.lisp (file)

Function: add-parent HANDLER PARENT CHILD
Package

bknr.impex

Source

xml-import.lisp (file)

Function: all-store-classes ()
Package

bknr.datastore

Source

/home/quickbuilder/common-lisp/quickref/map-declt.lisp

Function: allocate-next-object-id ()
Package

bknr.datastore

Source

object.lisp (file)

Function: am-pm STRING
Package

bknr.utils

Source

parse-time.lisp (file)

Function: anonymous-transaction-undo TRANSACTION
Package

bknr.datastore

Source

txn.lisp (file)

Function: bknr-read-comment S
Package

bknr.utils

Source

reader.lisp (file)

Function: bknr-read-something S
Package

bknr.utils

Source

reader.lisp (file)

Function: bknr-read-string S
Package

bknr.utils

Source

reader.lisp (file)

Function: bknr-read-string-until S ENDCHAR &key START TEST TEST-NOT UNREAD-ENDCHAR
Package

bknr.utils

Source

reader.lisp (file)

Function: bknr-read-whitespace S
Package

bknr.utils

Source

reader.lisp (file)

Function: blobs-with-type KEY
Package

bknr.datastore

Source

/home/quickbuilder/common-lisp/quickref/map-declt.lisp

Function: category-name CATEGORY
Package

bknr.indices

Source

category-index.lisp (file)

Function: category-to-node CATEGORY
Package

bknr.indices

Source

category-index.lisp (file)

Function: category-tree-p OBJECT
Package

bknr.indices

Source

category-index.lisp (file)

Function: category-tree-root-node INSTANCE
Function: (setf category-tree-root-node) VALUE INSTANCE
Package

bknr.indices

Source

category-index.lisp (file)

Function: category-tree-test INSTANCE
Function: (setf category-tree-test) VALUE INSTANCE
Package

bknr.indices

Source

category-index.lisp (file)

Function: children-to-initforms CHILDREN
Package

bknr.impex

Source

xml-import.lisp (file)

Function: collect-whitespace LIST
Package

bknr.utils

Source

reader.lisp (file)

Function: compute-bknr-slot CLASS SLOT
Package

bknr.utils

Source

class.lisp (file)

Function: convert-to-unitime PARSED-VALUES
Package

bknr.utils

Source

parse-time.lisp (file)

Function: copy-category-tree INSTANCE
Package

bknr.indices

Source

category-index.lisp (file)

Function: copy-decoded-time INSTANCE
Package

bknr.utils

Source

parse-time.lisp (file)

Function: copy-index-holder INSTANCE
Package

bknr.indices

Source

indexed-class.lisp (file)

Function: copy-skip-list SKIP-LIST
Package

bknr.indices

Source

indices.lisp (file)

Function: count-conses LIST
Package

bknr.datastore

Source

encoding.lisp (file)

Function: create-index-access-functions INDEX &key INDEX-READER INDEX-VALUES INDEX-MAPVALUES INDEX-KEYS INDEX-VAR
Package

bknr.indices

Source

indexed-class.lisp (file)

Function: date-divider CHARACTER
Package

bknr.utils

Source

parse-time.lisp (file)

Function: day NUMBER
Package

bknr.utils

Source

parse-time.lisp (file)

Function: deal-with-am-pm FORM-VALUE PARSED-VALUES
Package

bknr.utils

Source

parse-time.lisp (file)

Function: deal-with-izone FORM-VALUE PARSED-VALUES
Package

bknr.utils

Source

parse-time.lisp (file)

Function: deal-with-noon-midn FORM-VALUE PARSED-VALUES
Package

bknr.utils

Source

parse-time.lisp (file)

Function: decode STREAM
Package

bknr.datastore

Source

encoding.lisp (file)

Function: decoded-time-day INSTANCE
Function: (setf decoded-time-day) VALUE INSTANCE
Package

bknr.utils

Source

parse-time.lisp (file)

Function: decoded-time-dotw INSTANCE
Function: (setf decoded-time-dotw) VALUE INSTANCE
Package

bknr.utils

Source

parse-time.lisp (file)

Function: decoded-time-hour INSTANCE
Function: (setf decoded-time-hour) VALUE INSTANCE
Package

bknr.utils

Source

parse-time.lisp (file)

Function: decoded-time-minute INSTANCE
Function: (setf decoded-time-minute) VALUE INSTANCE
Package

bknr.utils

Source

parse-time.lisp (file)

Function: decoded-time-month INSTANCE
Function: (setf decoded-time-month) VALUE INSTANCE
Package

bknr.utils

Source

parse-time.lisp (file)

Function: decoded-time-p OBJECT
Package

bknr.utils

Source

parse-time.lisp (file)

Function: decoded-time-second INSTANCE
Function: (setf decoded-time-second) VALUE INSTANCE
Package

bknr.utils

Source

parse-time.lisp (file)

Function: decoded-time-year INSTANCE
Function: (setf decoded-time-year) VALUE INSTANCE
Package

bknr.utils

Source

parse-time.lisp (file)

Function: decoded-time-zone INSTANCE