The cl-naive-store Reference Manual

Table of Contents

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

The cl-naive-store Reference Manual

This is the cl-naive-store Reference Manual, version 2019.11.10, generated automatically by Declt version 3.0 "Montgomery Scott" on Mon Dec 02 09:38:02 2019 GMT+0.


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

1 Introduction

cl-naive-store

cl-naive-store is a simple lazy loading in memory, persistable data store.

I am hesitant to classify cl-naive-store because by just overriding a couple of methods you could make it what ever you want it to be.

That said the default implementation can loosely be classified as a nosql document database.

Documentation can be found on the wiki

Examples are also on the wiki or have a look at the test.lisp it has a lot of comments.

See https://gitlab.com/Harag/cl-wfx to see a very complicated use of naive-store.

Dependencies

cl-fad split-sequence uuid

Supported CL Implementations

All Tests pass on SBCL an ECL

Outstanding stuff (in order of priority):


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

2 Systems

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


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

2.1 cl-naive-store

Author

Phil Marneweck <phil@psychedelic.co.za>

License

MIT

Description

This is a naive, persisted, in memory (lazy loading) data store for Common Lisp.

Version

2019.11.10

Dependencies
Source

cl-naive-store.asd (file)

Components

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

3 Files

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


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

3.1 Lisp


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

3.1.1 cl-naive-store.asd

Location

cl-naive-store.asd

Systems

cl-naive-store (system)


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

3.1.2 cl-naive-store/packages.lisp

Parent

cl-naive-store (system)

Location

packages.lisp

Packages

cl-naive-store


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

3.1.3 cl-naive-store/common.lisp

Dependency

packages.lisp (file)

Parent

cl-naive-store (system)

Location

common.lisp

Exported Definitions
Internal Definitions

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

3.1.4 cl-naive-store/persist.lisp

Dependency

common.lisp (file)

Parent

cl-naive-store (system)

Location

persist.lisp

Exported Definitions
Internal Definitions

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

3.1.5 cl-naive-store/naive-core.lisp

Dependency

persist.lisp (file)

Parent

cl-naive-store (system)

Location

naive-core.lisp

Exported Definitions
Internal Definitions

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

3.1.6 cl-naive-store/objects.lisp

Dependency

naive-core.lisp (file)

Parent

cl-naive-store (system)

Location

objects.lisp

Exported Definitions

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

3.1.7 cl-naive-store/blob.lisp

Dependency

naive-core.lisp (file)

Parent

cl-naive-store (system)

Location

blob.lisp

Exported Definitions
Internal Definitions

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

3.1.8 cl-naive-store/parse.lisp

Dependency

blob.lisp (file)

Parent

cl-naive-store (system)

Location

parse.lisp

Exported Definitions
Internal Definitions

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

3.1.9 cl-naive-store/load.lisp

Dependency

parse.lisp (file)

Parent

cl-naive-store (system)

Location

load.lisp

Exported Definitions
Internal Definitions

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

3.1.10 cl-naive-store/query.lisp

Dependency

naive-core.lisp (file)

Parent

cl-naive-store (system)

Location

query.lisp

Exported Definitions
Internal Definitions

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

3.1.11 cl-naive-store/maintenance.lisp

Dependency

naive-core.lisp (file)

Parent

cl-naive-store (system)

Location

maintenance.lisp

Exported Definitions

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

4 Packages

Packages are listed by definition order.


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

4.1 cl-naive-store

Source

packages.lisp (file)

Use List

common-lisp

Exported Definitions
Internal Definitions

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

5 Definitions

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


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

5.1 Exported definitions


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

5.1.1 Functions

Function: blob-file-ext INSTANCE
Function: (setf blob-file-ext) VALUE INSTANCE
Package

cl-naive-store

Source

blob.lisp (file)

Function: blob-file-type INSTANCE
Function: (setf blob-file-type) VALUE INSTANCE
Package

cl-naive-store

Source

blob.lisp (file)

Function: blob-location INSTANCE
Function: (setf blob-location) VALUE INSTANCE
Package

cl-naive-store

Source

blob.lisp (file)

Function: blob-p OBJECT
Package

cl-naive-store

Source

blob.lisp (file)

Function: blob-raw INSTANCE
Function: (setf blob-raw) VALUE INSTANCE
Package

cl-naive-store

Source

blob.lisp (file)

Function: blob-ref-p OBJECT
Package

cl-naive-store

Source

blob.lisp (file)

Function: blob-string-value BLOB

Returns the value of a blob as a string.

Package

cl-naive-store

Source

blob.lisp (file)

Function: dig PLACE &rest INDICATORS

Hierarchical getf.

Package

cl-naive-store

Source

common.lisp (file)

Writer

(setf dig) (function)

Function: (setf dig) VALUE PLACE &rest INDICATORS
Package

cl-naive-store

Source

common.lisp (file)

Reader

dig (function)

Function: empty-p VALUE

Checks if value is null or an empty string.

Package

cl-naive-store

Source

common.lisp (file)

Function: find-collection-definitions STORE
Package

cl-naive-store

Source

load.lisp (file)

Function: frmt CONTROL-STRING &rest ARGS

Short hand for (format nil ..).

Package

cl-naive-store

Source

common.lisp (file)

Function: handle-duplicates-p CODE
Package

cl-naive-store

Source

common.lisp (file)

Function: load-object-reference-collection UNIVERSE OBJECT-REF

When objects are persisted to file any object values that are referencing an object in a different collection is first sanitized (just enough info to retrieve the object later from where it is stored). When objects are read from a file the references need to be converted to objects but for that to happen the collection containing the referenced objects need to be loaded first.

Package

cl-naive-store

Source

parse.lisp (file)

Function: make-blob &key (FILE-TYPE FILE-TYPE) (FILE-EXT FILE-EXT) (LOCATION LOCATION) (RAW RAW)
Package

cl-naive-store

Source

blob.lisp (file)

Function: plist-to-value-pairs VALUES

Returns a list of key value pairs of a plist.

Package

cl-naive-store

Source

common.lisp (file)

Function: plist-to-values VALUES

Returns the values of a plist.

Package

cl-naive-store

Source

common.lisp (file)

Function: read-blob BLOB-REF-VALUES
Package

cl-naive-store

Source

blob.lisp (file)

Function: read-file-to-string FILE

Reads a file and returns the contents in a string.

Package

cl-naive-store

Source

persist.lisp (file)

Function: trim-whitespace STRING

Removes white spaces from a string.

Package

cl-naive-store

Source

common.lisp (file)

Function: write-blob FILE VALUE
Package

cl-naive-store

Source

blob.lisp (file)

Function: write-list-to-file FILE LIST &key IF-EXISTS
Package

cl-naive-store

Source

persist.lisp (file)

Function: write-to-file FILE OBJECT &key IF-EXISTS
Package

cl-naive-store

Source

persist.lisp (file)


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

5.1.2 Generic functions

Generic Function: add-collection STORE COLLECTION

Adds a collection to a store.

Package

cl-naive-store

Source

naive-core.lisp (file)

Methods
Method: add-collection (STORE store) (COLLECTION collection)
Generic Function: add-data-object COLLECTION OBJECT &key HANDLE-DUPLICATES-P &allow-other-keys

Adds data object to a collection. This method in combination with remove-data-object,
and data-objects slot of the collection can be used to customize the container (list,array,hash etc) used for data objects.

Package

cl-naive-store

Source

objects.lisp (file)

Methods
Method: add-data-object (COLLECTION collection) OBJECT &key HANDLE-DUPLICATES-P &allow-other-keys

To get a better performance for first time loading of data you can set handle-duplicates-p to nil to speed up things.

Generic Function: add-store UNIVERSE STORE

Adds a store object to a universe.

Package

cl-naive-store

Source

naive-core.lisp (file)

Methods
Method: add-store (UNIVERSE universe) (STORE store)
Generic Function: collection-class OBJECT
Generic Function: (setf collection-class) NEW-VALUE OBJECT
Package

cl-naive-store

Methods
Method: collection-class (STORE store)
Method: (setf collection-class) NEW-VALUE (STORE store)

Then class that should be used to make collection objects.

Source

naive-core.lisp (file)

Generic Function: collections OBJECT
Generic Function: (setf collections) NEW-VALUE OBJECT
Package

cl-naive-store

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

List of collections represented by this store.

Source

naive-core.lisp (file)

Generic Function: data-objects OBJECT
Generic Function: (setf data-objects) NEW-VALUE OBJECT
Package

cl-naive-store

Methods
Method: data-objects (COLLECTION collection)
Method: (setf data-objects) NEW-VALUE (COLLECTION collection)

The objects contained by this collection. By default naive-store uses a list.

*Note* Testing on my system (sbcl- –dynamic-space-size 12000) doing string comparisons etc while querying data (ie high touch) I only saw .7 seconds diff between an array of 10 mil (3.154) and a list of ten mil (3.851) plist data objects. The bulk of time is used to access a field in a data object and doing comparisons, so if you are desperate for speed look there. If you are using naive-store for more than 10 mil objects in a collection please let me know!

Source

naive-core.lisp (file)

Generic Function: delete-data-object COLLECTION OBJECT &key &allow-other-keys
Package

cl-naive-store

Source

objects.lisp (file)

Methods
Method: delete-data-object (COLLECTION collection) OBJECT &key &allow-other-keys
Generic Function: deleted-p OBJECT

Indicates if a data object has been marked as deleted.

naive-store writes data to file sequentially and when deleting data objects it does not remove a data object from the underlying file it just marks it as deleted.

Package

cl-naive-store

Source

objects.lisp (file)

Writer

(setf deleted-p) (generic function)

Methods
Method: deleted-p OBJECT
Generic Function: (setf deleted-p) VALUE OBJECT &key &allow-other-keys
Package

cl-naive-store

Source

objects.lisp (file)

Reader

deleted-p (generic function)

Methods
Method: (setf deleted-p) VALUE OBJECT &key &allow-other-keys
Generic Function: digx PLACE &rest INDICATORS

Returns the value of an field in a hierarchical data object. By using getx and digx
instead of accessing, object values directly the user has the opportunity to change the underlying structure of the object without having to rewrite a lot of code.

Package

cl-naive-store

Source

common.lisp (file)

Writer

(setf digx) (generic function)

Methods
Method: digx PLACE &rest INDICATORS
Generic Function: (setf digx) VALUE PLACE &rest INDICATORS
Package

cl-naive-store

Source

common.lisp (file)

Reader

digx (generic function)

Methods
Method: (setf digx) VALUE PLACE &rest INDICATORS
Generic Function: exists-p OBJECT FIELD-NAME

Returns t if the data-object has such a field.

Package

cl-naive-store

Source

common.lisp (file)

Methods
Method: exists-p OBJECT FIELD-NAME
Generic Function: get-collection STORE COLLECTION-NAME

Returns a collection object if found in the store.

Package

cl-naive-store

Source

naive-core.lisp (file)

Methods
Method: get-collection (STORE store) COLLECTION-NAME
Generic Function: get-store UNIVERSE STORE-NAME

Returns a store object if found in the universe.

Package

cl-naive-store

Source

naive-core.lisp (file)

Methods
Method: get-store (UNIVERSE universe) STORE-NAME
Generic Function: getx OBJECT FIELD-NAME

Returns the value of an field in a data object. By using getx and digx instead of
accessing, object values directly the user has the opportunity to change the underlying structure/type of the object without having to rewrite/change a lot of code.

Package

cl-naive-store

Source

common.lisp (file)

Writer

(setf getx) (generic function)

Methods
Method: getx OBJECT FIELD-NAME
Generic Function: (setf getx) VALUE ITEM FIELD-NAME &key &allow-other-keys

Sets the value of an field in an object.

Package

cl-naive-store

Source

common.lisp (file)

Reader

getx (generic function)

Methods
Method: (setf getx) VALUE OBJECT FIELD-NAME &key &allow-other-keys

This implementation of getx is basically (setf getf) but it cannot handle object = nil

Generic Function: handle-duplicates OBJECT
Generic Function: (setf handle-duplicates) NEW-VALUE OBJECT
Package

cl-naive-store

Methods
Method: handle-duplicates (UNIVERSE universe)
Method: (setf handle-duplicates) NEW-VALUE (UNIVERSE universe)

Duplicates are not allowed by default but this can be swithed of by setting
hanlde-duplicates to :no. This can be set on universe, store or collection level.

Handling duplicates makes adding objects exponentially slower!! If there are a lot of objects in your collections and use naive-store-indexed it is mutch faster when handling duplicates.

Note: Using :yes and :no instead of just nil and t so that a collection or store can differ from its parent’s setting.

Source

naive-core.lisp (file)

Method: handle-duplicates (STORE store)
Method: (setf handle-duplicates) NEW-VALUE (STORE store)

Duplicates are not allowed by default but this can be swithed of by setting
hanlde-duplicates to :no. This can be set on universe, store or collection level.

Handling duplicates makes adding objects exponentially slower!! If there are a lot of objects in your collections and use naive-store-indexed it is mutch faster when handling duplicates.

Note: Using :yes and :no instead of just nil and t so that a collection or store can differ from its parent’s setting.

Source

naive-core.lisp (file)

Method: handle-duplicates (COLLECTION collection)
Method: (setf handle-duplicates) NEW-VALUE (COLLECTION collection)

Duplicates are not allowed by default but this can be swithed of by setting
hanlde-duplicates to :no. This can be set on universe, store or collection level.

Handling duplicates makes adding objects exponentially slower!! If there are a lot of objects in your collections and use naive-store-indexed it is mutch faster when handling duplicates.

Note: Using :yes and :no instead of just nil and t so that a collection or store can differ from its parent’s setting.

Source

naive-core.lisp (file)

Generic Function: key-values COLLECTION VALUES &key &allow-other-keys

Returns a set of key values from the values of a data object. Looks for :key or uses all values

Package

cl-naive-store

Source

objects.lisp (file)

Methods
Method: key-values COLLECTION VALUES &key &allow-other-keys
Generic Function: load-data COLLECTION &key &allow-other-keys

Loads the data objects of a collection from file.

Package

cl-naive-store

Source

naive-core.lisp (file)

Methods
Method: load-data (COLLECTION collection) &key &allow-other-keys
Source

load.lisp (file)

Generic Function: load-store STORE &key WITH-DATA-P &allow-other-keys

Loads the data-types and collections, with or without the actual data objects.

Package

cl-naive-store

Source

load.lisp (file)

Methods
Method: load-store (STORE store) &key WITH-DATA-P &allow-other-keys
Generic Function: load-stores UNIVERSE &key WITH-COLLECTIONS-P WITH-DATA-P &allow-other-keys

Finds and loads collections a store, with or without data objects.

Package

cl-naive-store

Source

load.lisp (file)

Methods
Method: load-stores UNIVERSE &key WITH-COLLECTIONS-P WITH-DATA-P &allow-other-keys

Loads a whole universe, with or without collections and data objects.

Generic Function: loaded-p OBJECT
Generic Function: (setf loaded-p) NEW-VALUE OBJECT
Package

cl-naive-store

Methods
Method: loaded-p (COLLECTION collection)
Method: (setf loaded-p) NEW-VALUE (COLLECTION collection)

Indicates if the collection has been loaded from file yet.

Source

naive-core.lisp (file)

Generic Function: location OBJECT
Generic Function: (setf location) NEW-VALUE OBJECT
Package

cl-naive-store

Methods
Method: location (UNIVERSE universe)
Method: (setf location) NEW-VALUE (UNIVERSE universe)

Directory path to stores.

Source

naive-core.lisp (file)

Method: location (STORE store)
Method: (setf location) NEW-VALUE (STORE store)

The directory path to the data-type files and collection files for this store.

Source

naive-core.lisp (file)

Method: location (COLLECTION collection)
Method: (setf location) NEW-VALUE (COLLECTION collection)

The directory path to where files for this collection is stored.

Source

naive-core.lisp (file)

Generic Function: must-handle-duplicates OBJECT

Check if duplicates should be handled.

Package

cl-naive-store

Source

objects.lisp (file)

Methods
Method: must-handle-duplicates (UNIVERSE universe)
Method: must-handle-duplicates (STORE store)
Method: must-handle-duplicates (COLLECTION collection)
Generic Function: naive-reduce COLLECTION &key QUERY FUNCTION INITIAL-VALUE &allow-other-keys

Uses query to select data objects from a collection and applies the function to those objects returning the result.

Package

cl-naive-store

Source

query.lisp (file)

Methods
Method: naive-reduce (LIST list) &key QUERY FUNCTION INITIAL-VALUE &allow-other-keys
Method: naive-reduce (HASH-TABLE hash-table) &key QUERY FUNCTION INITIAL-VALUE &allow-other-keys
Method: naive-reduce (COLLECTION collection) &key QUERY FUNCTION INITIAL-VALUE &allow-other-keys
Generic Function: name OBJECT
Generic Function: (setf name) NEW-VALUE OBJECT
Package

cl-naive-store

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

Store name string.

Source

naive-core.lisp (file)

Method: name (COLLECTION collection)
Method: (setf name) NEW-VALUE (COLLECTION collection)

The collection name string.

Source

naive-core.lisp (file)

Generic Function: object-values OBJECT
Package

cl-naive-store

Source

objects.lisp (file)

Methods
Method: object-values OBJECT
Generic Function: parse-child-data-object PARENT-COLLECTION OBJECT &key &allow-other-keys

Parses the raw child object read from file to its object reprensentation.

Package

cl-naive-store

Source

parse.lisp (file)

Methods
Method: parse-child-data-object (PARENT-COLLECTION collection) OBJECT &key &allow-other-keys
Generic Function: parse-data-object COLLECTION LINE &key TOP-LEVEL-P &allow-other-keys

Parses the raw object read from file to its object reprensentation.

Package

cl-naive-store

Source

parse.lisp (file)

Methods
Method: parse-data-object (COLLECTION collection) OBJECT &key TOP-LEVEL-P &allow-other-keys
Generic Function: parse-object-deleted-p COLLECTION OBJECT &key &allow-other-keys

Returns t if the raw/reference object is marked as deleted.

Package

cl-naive-store

Source

parse.lisp (file)

Methods
Method: parse-object-deleted-p (COLLECTION collection) OBJECT &key &allow-other-keys
Generic Function: parse-object-p COLLECTION OBJECT &key &allow-other-keys

Returns t if the object represents a naive object in its raw/reference state as read from file

Package

cl-naive-store

Source

parse.lisp (file)

Methods
Method: parse-object-p (COLLECTION collection) OBJECT &key &allow-other-keys
Generic Function: parse-reference-data-object PARENT-COLLECTION OBJECT &key &allow-other-keys

Parses the raw reference object read from file to its object reprensentation.

Package

cl-naive-store

Source

parse.lisp (file)

Methods
Method: parse-reference-data-object (PARENT-COLLECTION collection) OBJECT &key &allow-other-keys
Generic Function: parse-reference-object-p COLLECTION OBJECT &key &allow-other-keys

Returns t if the raw/reference object is marked as an object referenced from another collection.

Package

cl-naive-store

Source

parse.lisp (file)

Methods
Method: parse-reference-object-p (COLLECTION collection) OBJECT &key &allow-other-keys
Generic Function: parse-top-level-data-object COLLECTION OBJECT &key &allow-other-keys

Parses the raw top level object read from file to its object reprensentation.

Package

cl-naive-store

Source

parse.lisp (file)

Methods
Method: parse-top-level-data-object (COLLECTION collection) OBJECT &key &allow-other-keys
Generic Function: persist OBJECT &key DEF-ONLY-P FILE IF-EXISTS &allow-other-keys

Persist is used to write stuff to files. It is used to write naive-store structural elements like data-types and collections to file.

Package

cl-naive-store

Source

persist.lisp (file)

Methods
Method: persist (COLLECTION collection) &key DEF-ONLY-P &allow-other-keys

Persists a collection definition and the items in a collection. Path to file for data is this general format /universe/store-name/collection-name/collection-name.log.

Source

naive-core.lisp (file)

Method: persist (STORE store) &key &allow-other-keys

Persists a store definition and not what it contains! Path to file is of this general format /universe/store-name/store-name.store.

Source

naive-core.lisp (file)

Method: persist (HASH hash-table) &key FILE IF-EXISTS &allow-other-keys

Writes a list of data objects to a file as individual items.

Method: persist (LIST list) &key FILE IF-EXISTS &allow-other-keys

Writes a list of data objects to a file as individual items.

Generic Function: persist-object COLLECTION OBJECT &key HANDLE-DUPLICATES-P DELETE-P &allow-other-keys

The default behavior is two just write what ever is given to file.
Collection is needed to write to the right file and directory.

However this is where tasks checking for duplicates should be done. This is also where
reference objects should be converted to a reference% marker instead of writing out the actual object. Use naive-items if the later behaviour is desired.

Package

cl-naive-store

Source

objects.lisp (file)

Methods
Method: persist-object (COLLECTION collection) OBJECT &key HANDLE-DUPLICATES-P DELETE-P &allow-other-keys

Writes an data object to file and adds it to the collection.

Generic Function: query-data COLLECTION &key QUERY COLLECTION-NAME &allow-other-keys

Returns the data that satisfies the query

Package

cl-naive-store

Source

query.lisp (file)

Methods
Method: query-data (HASH-TABLE hash-table) &key QUERY &allow-other-keys
Method: query-data (LIST list) &key QUERY &allow-other-keys
Method: query-data (STORE store) &key COLLECTION-NAME QUERY &allow-other-keys
Method: query-data (COLLECTION collection) &key QUERY &allow-other-keys
Generic Function: query-data-object COLLECTION &key QUERY COLLECTION-NAME &allow-other-keys

Returns the first last-data object found, and any others that satisfies the query

Package

cl-naive-store

Source

query.lisp (file)

Methods
Method: query-data-object (HASH-TABLE hash-table) &key QUERY &allow-other-keys
Method: query-data-object (LIST list) &key QUERY &allow-other-keys
Method: query-data-object (STORE store) &key COLLECTION-NAME QUERY &allow-other-keys
Method: query-data-object (COLLECTION collection) &key QUERY &allow-other-keys
Generic Function: remove-data-object COLLECTION OBJECT &key &allow-other-keys

Removes an object from the collection and its indexes. See add-data-object.

Package

cl-naive-store

Source

objects.lisp (file)

Methods
Method: remove-data-object (COLLECTION collection) OBJECT &key &allow-other-keys
Generic Function: sanitize-data-file COLLECTION &key &allow-other-keys

This removes all the deleted data objects from a collection. When a collection is loaded
only the active objects are loaded and by simply writing those active objects out to a new file and then replacing the old file deleted objects are removed.

Package

cl-naive-store

Source

maintenance.lisp (file)

Methods
Method: sanitize-data-file (COLLECTION collection) &key &allow-other-keys
Generic Function: store OBJECT
Generic Function: (setf store) NEW-VALUE OBJECT
Package

cl-naive-store

Methods
Method: store (COLLECTION collection)
Method: (setf store) NEW-VALUE (COLLECTION collection)

The store that this collection belongs to.

Source

naive-core.lisp (file)

Generic Function: store-class OBJECT
Generic Function: (setf store-class) NEW-VALUE OBJECT
Package

cl-naive-store

Methods
Method: store-class (UNIVERSE universe)
Method: (setf store-class) NEW-VALUE (UNIVERSE universe)

The class that should be used to make store objects.

store-class is delcaritively specied here because stores are dynamicly created when definition
files are loaded. The alternative would be defmethod hell where the user of naive-store would have to implement a whole lot of methods that do exactly what the provided methods do just to be able to be type specific in other methods where it is actually needed. Alternatively meta classes could be used for field-class but that opens another can of worms.

Source

naive-core.lisp (file)

Generic Function: stores OBJECT
Generic Function: (setf stores) NEW-VALUE OBJECT
Package

cl-naive-store

Methods
Method: stores (UNIVERSE universe)
Method: (setf stores) NEW-VALUE (UNIVERSE universe)

List of stores contained by this universe.

Source

naive-core.lisp (file)

Generic Function: universe OBJECT
Generic Function: (setf universe) NEW-VALUE OBJECT
Package

cl-naive-store

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

The universe this store belongs to.

Source

naive-core.lisp (file)

Generic Function: write-object OBJECT STREAM

Write an object to stream. Using this method gives the user the chance to modify the how a data oject is written by naive-store.

Package

cl-naive-store

Source

persist.lisp (file)

Methods
Method: write-object OBJECT STREAM

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

5.1.3 Structures

Structure: blob ()

Represents a unit of data that is large enough to warent its own file or would cause reading problems for the default naive-store file layout which is essentially plists.

Package

cl-naive-store

Source

blob.lisp (file)

Direct superclasses

structure-object (structure)

Direct slots
Slot: file-type
Readers

blob-file-type (function)

Writers

(setf blob-file-type) (function)

Slot: file-ext
Readers

blob-file-ext (function)

Writers

(setf blob-file-ext) (function)

Slot: location
Readers

blob-location (function)

Writers

(setf blob-location) (function)

Slot: raw
Readers

blob-raw (function)

Writers

(setf blob-raw) (function)


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

5.1.4 Classes

Class: collection ()

A collection of objects of a specific data-type.

Package

cl-naive-store

Source

naive-core.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: store

The store that this collection belongs to.

Initargs

:store

Readers

store (generic function)

Writers

(setf store) (generic function)

Slot: name

The collection name string.

Initargs

:name

Readers

name (generic function)

Writers

(setf name) (generic function)

Slot: location

The directory path to where files for this collection is stored.

Initargs

:location

Readers

location (generic function)

Writers

(setf location) (generic function)

Slot: data-objects

The objects contained by this collection. By default naive-store uses a list.

*Note* Testing on my system (sbcl- –dynamic-space-size 12000) doing string comparisons etc while querying data (ie high touch) I only saw .7 seconds diff between an array of 10 mil (3.154) and a list of ten mil (3.851) plist data objects. The bulk of time is used to access a field in a data object and doing comparisons, so if you are desperate for speed look there. If you are using naive-store for more than 10 mil objects in a collection please let me know!

Initargs

:data-objects

Readers

data-objects (generic function)

Writers

(setf data-objects) (generic function)

Slot: handle-duplicates

Duplicates are not allowed by default but this can be swithed of by setting
hanlde-duplicates to :no. This can be set on universe, store or collection level.

Handling duplicates makes adding objects exponentially slower!! If there are a lot of objects in your collections and use naive-store-indexed it is mutch faster when handling duplicates.

Note: Using :yes and :no instead of just nil and t so that a collection or store can differ from its parent’s setting.

Initargs

:handle-duplicates

Initform

:yes

Readers

handle-duplicates (generic function)

Writers

(setf handle-duplicates) (generic function)

Slot: loaded-p

Indicates if the collection has been loaded from file yet.

Initargs

:loaded-p

Readers

loaded-p (generic function)

Writers

(setf loaded-p) (generic function)

Class: store ()

Data types and their associated collections are organized into groups called stores.

Collection-class and data-type-class is delcaritively specied here because they are dynamicly created when definition files are loaded. The alternative would be defmethod hell where the customizer of naive-store would have to implement a whole lot of methods that do exactly what the provided methods do just to be able to be type specific in other methods where it is actually needed. Alternatively meta classes could be used for field-class but that opens another can of worms.

Package

cl-naive-store

Source

naive-core.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: universe

The universe this store belongs to.

Initargs

:universe

Readers

universe (generic function)

Writers

(setf universe) (generic function)

Slot: name

Store name string.

Initargs

:name

Readers

name (generic function)

Writers

(setf name) (generic function)

Slot: collection-class

Then class that should be used to make collection objects.

Allocation

:class

Initargs

:collection-class

Initform

(quote cl-naive-store:collection)

Readers

collection-class (generic function)

Writers

(setf collection-class) (generic function)

Slot: collections

List of collections represented by this store.

Initargs

:collections

Readers

collections (generic function)

Writers

(setf collections) (generic function)

Slot: location

The directory path to the data-type files and collection files for this store.

Initargs

:location

Readers

location (generic function)

Writers

(setf location) (generic function)

Slot: handle-duplicates

Duplicates are not allowed by default but this can be swithed of by setting
hanlde-duplicates to :no. This can be set on universe, store or collection level.

Handling duplicates makes adding objects exponentially slower!! If there are a lot of objects in your collections and use naive-store-indexed it is mutch faster when handling duplicates.

Note: Using :yes and :no instead of just nil and t so that a collection or store can differ from its parent’s setting.

Initargs

:handle-duplicates

Initform

:yes

Readers

handle-duplicates (generic function)

Writers

(setf handle-duplicates) (generic function)

Class: universe ()

Stores are held by a universe to make up a database.

Package

cl-naive-store

Source

naive-core.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: stores

List of stores contained by this universe.

Initargs

:stores

Readers

stores (generic function)

Writers

(setf stores) (generic function)

Slot: store-class

The class that should be used to make store objects.

store-class is delcaritively specied here because stores are dynamicly created when definition
files are loaded. The alternative would be defmethod hell where the user of naive-store would have to implement a whole lot of methods that do exactly what the provided methods do just to be able to be type specific in other methods where it is actually needed. Alternatively meta classes could be used for field-class but that opens another can of worms.

Allocation

:class

Initargs

:store-class

Initform

(quote cl-naive-store:store)

Readers

store-class (generic function)

Writers

(setf store-class) (generic function)

Slot: location

Directory path to stores.

Initargs

:location

Initform

(cl-fad:merge-pathnames-as-directory (user-homedir-pathname) (make-pathname :directory (list :relative "data-universe")))

Readers

location (generic function)

Writers

(setf location) (generic function)

Slot: handle-duplicates

Duplicates are not allowed by default but this can be swithed of by setting
hanlde-duplicates to :no. This can be set on universe, store or collection level.

Handling duplicates makes adding objects exponentially slower!! If there are a lot of objects in your collections and use naive-store-indexed it is mutch faster when handling duplicates.

Note: Using :yes and :no instead of just nil and t so that a collection or store can differ from its parent’s setting.

Initargs

:handle-duplicates

Initform

:yes

Readers

handle-duplicates (generic function)

Writers

(setf handle-duplicates) (generic function)


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

5.2 Internal definitions


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

5.2.1 Macros

Macro: with-file-lock (PATH &key INTERVAL) &body BODY

Get an exclusive lock on a file. If lock cannot be obtained, keep trying after waiting a while

Package

cl-naive-store

Source

persist.lisp (file)


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

5.2.2 Functions

Function: blob-ref-values BLOB-REF
Package

cl-naive-store

Source

blob.lisp (file)

Function: copy-blob INSTANCE
Package

cl-naive-store

Source

blob.lisp (file)

Function: dig-down PLACE INDICATORS
Package

cl-naive-store

Source

common.lisp (file)

Function: find-object-by-hash COLLECTION OBJECT
Package

cl-naive-store

Source

parse.lisp (file)

Function: find-store-definitions UNIVERSE
Package

cl-naive-store

Source

load.lisp (file)

Function: get-collection* STORE NAME

Used internally to find or create a new collection.

Package

cl-naive-store

Source

naive-core.lisp (file)

Function: get-store* UNIVERSE NAME

Used internally to find or create a new store.

Package

cl-naive-store

Source

naive-core.lisp (file)

Function: get-store-from-def UNIVERSE STORE-NAME
Package

cl-naive-store

Source

query.lisp (file)

Function: load-data% COLLECTION
Package

cl-naive-store

Source

parse.lisp (file)

Function: persist-collection COLLECTION

Persists the objects in a collection in the order that they where added.

Package

cl-naive-store

Source

naive-core.lisp (file)

Function: push-relpace NEW LIST &key KEY TEST KEEP-ORDER-P
Package

cl-naive-store

Source

common.lisp (file)

Function: set-dig-down PLACE INDICATORS VALUE
Package

cl-naive-store

Source

common.lisp (file)

Function: write-hash-to-file FILE HASH &key IF-EXISTS
Package

cl-naive-store

Source

persist.lisp (file)


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

5.2.3 Generic functions

Generic Function: get-collection-from-def STORE COLLECTION-NAME

Find the collection definition file and load it.

Package

cl-naive-store

Source

query.lisp (file)

Methods
Method: get-collection-from-def (STORE store) COLLECTION-NAME
Generic Function: load-store-collections STORE &key WITH-DATA-P &allow-other-keys

Finds and loads collections a store, with or without data objects.

Package

cl-naive-store

Source

load.lisp (file)

Methods
Method: load-store-collections (STORE store) &key WITH-DATA-P &allow-other-keys

Finds and loads collection for a store, with or without data objects.

Generic Function: persist-collection-def COLLECITON

Persists a collection definition. Path to file is of this general format /universe/store-name/collection-name.col.

Package

cl-naive-store

Source

naive-core.lisp (file)

Methods
Method: persist-collection-def (COLLECTION collection)

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

Appendix A Indexes


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

A.1 Concepts

Jump to:   C   F   L  
Index Entry  Section

C
cl-naive-store.asd: The cl-naive-store․asd file
cl-naive-store/blob.lisp: The cl-naive-store/blob․lisp file
cl-naive-store/common.lisp: The cl-naive-store/common․lisp file
cl-naive-store/load.lisp: The cl-naive-store/load․lisp file
cl-naive-store/maintenance.lisp: The cl-naive-store/maintenance․lisp file
cl-naive-store/naive-core.lisp: The cl-naive-store/naive-core․lisp file
cl-naive-store/objects.lisp: The cl-naive-store/objects․lisp file
cl-naive-store/packages.lisp: The cl-naive-store/packages․lisp file
cl-naive-store/parse.lisp: The cl-naive-store/parse․lisp file
cl-naive-store/persist.lisp: The cl-naive-store/persist․lisp file
cl-naive-store/query.lisp: The cl-naive-store/query․lisp file

F
File, Lisp, cl-naive-store.asd: The cl-naive-store․asd file
File, Lisp, cl-naive-store/blob.lisp: The cl-naive-store/blob․lisp file
File, Lisp, cl-naive-store/common.lisp: The cl-naive-store/common․lisp file
File, Lisp, cl-naive-store/load.lisp: The cl-naive-store/load․lisp file
File, Lisp, cl-naive-store/maintenance.lisp: The cl-naive-store/maintenance․lisp file
File, Lisp, cl-naive-store/naive-core.lisp: The cl-naive-store/naive-core․lisp file
File, Lisp, cl-naive-store/objects.lisp: The cl-naive-store/objects․lisp file
File, Lisp, cl-naive-store/packages.lisp: The cl-naive-store/packages․lisp file
File, Lisp, cl-naive-store/parse.lisp: The cl-naive-store/parse․lisp file
File, Lisp, cl-naive-store/persist.lisp: The cl-naive-store/persist․lisp file
File, Lisp, cl-naive-store/query.lisp: The cl-naive-store/query․lisp file

L
Lisp File, cl-naive-store.asd: The cl-naive-store․asd file
Lisp File, cl-naive-store/blob.lisp: The cl-naive-store/blob․lisp file
Lisp File, cl-naive-store/common.lisp: The cl-naive-store/common․lisp file
Lisp File, cl-naive-store/load.lisp: The cl-naive-store/load․lisp file
Lisp File, cl-naive-store/maintenance.lisp: The cl-naive-store/maintenance․lisp file
Lisp File, cl-naive-store/naive-core.lisp: The cl-naive-store/naive-core․lisp file
Lisp File, cl-naive-store/objects.lisp: The cl-naive-store/objects․lisp file
Lisp File, cl-naive-store/packages.lisp: The cl-naive-store/packages․lisp file
Lisp File, cl-naive-store/parse.lisp: The cl-naive-store/parse․lisp file
Lisp File, cl-naive-store/persist.lisp: The cl-naive-store/persist․lisp file
Lisp File, cl-naive-store/query.lisp: The cl-naive-store/query․lisp file

Jump to:   C   F   L  

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

A.2 Functions

Jump to:   (  
A   B   C   D   E   F   G   H   K   L   M   N   O   P   Q   R   S   T   U   W  
Index Entry  Section

(
(setf blob-file-ext): Exported functions
(setf blob-file-type): Exported functions
(setf blob-location): Exported functions
(setf blob-raw): Exported functions
(setf collection-class): Exported generic functions
(setf collection-class): Exported generic functions
(setf collections): Exported generic functions
(setf collections): Exported generic functions
(setf data-objects): Exported generic functions
(setf data-objects): Exported generic functions
(setf deleted-p): Exported generic functions
(setf deleted-p): Exported generic functions
(setf dig): Exported functions
(setf digx): Exported generic functions
(setf digx): Exported generic functions
(setf getx): Exported generic functions
(setf getx): Exported generic functions
(setf handle-duplicates): Exported generic functions
(setf handle-duplicates): Exported generic functions
(setf handle-duplicates): Exported generic functions
(setf handle-duplicates): Exported generic functions
(setf loaded-p): Exported generic functions
(setf loaded-p): Exported generic functions
(setf location): Exported generic functions
(setf location): Exported generic functions
(setf location): Exported generic functions
(setf location): Exported generic functions
(setf name): Exported generic functions
(setf name): Exported generic functions
(setf name): Exported generic functions
(setf store): Exported generic functions
(setf store): Exported generic functions
(setf store-class): Exported generic functions
(setf store-class): Exported generic functions
(setf stores): Exported generic functions
(setf stores): Exported generic functions
(setf universe): Exported generic functions
(setf universe): Exported generic functions

A
add-collection: Exported generic functions
add-collection: Exported generic functions
add-data-object: Exported generic functions
add-data-object: Exported generic functions
add-store: Exported generic functions
add-store: Exported generic functions

B
blob-file-ext: Exported functions
blob-file-type: Exported functions
blob-location: Exported functions
blob-p: Exported functions
blob-raw: Exported functions
blob-ref-p: Exported functions
blob-ref-values: Internal functions
blob-string-value: Exported functions

C
collection-class: Exported generic functions
collection-class: Exported generic functions
collections: Exported generic functions
collections: Exported generic functions
copy-blob: Internal functions

D
data-objects: Exported generic functions
data-objects: Exported generic functions
delete-data-object: Exported generic functions
delete-data-object: Exported generic functions
deleted-p: Exported generic functions
deleted-p: Exported generic functions
dig: Exported functions
dig-down: Internal functions
digx: Exported generic functions
digx: Exported generic functions

E
empty-p: Exported functions
exists-p: Exported generic functions
exists-p: Exported generic functions

F
find-collection-definitions: Exported functions
find-object-by-hash: Internal functions
find-store-definitions: Internal functions
frmt: Exported functions
Function, (setf blob-file-ext): Exported functions
Function, (setf blob-file-type): Exported functions
Function, (setf blob-location): Exported functions
Function, (setf blob-raw): Exported functions
Function, (setf dig): Exported functions
Function, blob-file-ext: Exported functions
Function, blob-file-type: Exported functions
Function, blob-location: Exported functions
Function, blob-p: Exported functions
Function, blob-raw: Exported functions
Function, blob-ref-p: Exported functions
Function, blob-ref-values: Internal functions
Function, blob-string-value: Exported functions
Function, copy-blob: Internal functions
Function, dig: Exported functions
Function, dig-down: Internal functions
Function, empty-p: Exported functions
Function, find-collection-definitions: Exported functions
Function, find-object-by-hash: Internal functions
Function, find-store-definitions: Internal functions
Function, frmt: Exported functions
Function, get-collection*: Internal functions
Function, get-store*: Internal functions
Function, get-store-from-def: Internal functions
Function, handle-duplicates-p: Exported functions
Function, load-data%: Internal functions
Function, load-object-reference-collection: Exported functions
Function, make-blob: Exported functions
Function, persist-collection: Internal functions
Function, plist-to-value-pairs: Exported functions
Function, plist-to-values: Exported functions
Function, push-relpace: Internal functions
Function, read-blob: Exported functions
Function, read-file-to-string: Exported functions
Function, set-dig-down: Internal functions
Function, trim-whitespace: Exported functions
Function, write-blob: Exported functions
Function, write-hash-to-file: Internal functions
Function, write-list-to-file: Exported functions
Function, write-to-file: Exported functions

G
Generic Function, (setf collection-class): Exported generic functions
Generic Function, (setf collections): Exported generic functions
Generic Function, (setf data-objects): Exported generic functions
Generic Function, (setf deleted-p): Exported generic functions
Generic Function, (setf digx): Exported generic functions
Generic Function, (setf getx): Exported generic functions
Generic Function, (setf handle-duplicates): Exported generic functions
Generic Function, (setf loaded-p): Exported generic functions
Generic Function, (setf location): Exported generic functions
Generic Function, (setf name): Exported generic functions
Generic Function, (setf store): Exported generic functions
Generic Function, (setf store-class): Exported generic functions
Generic Function, (setf stores): Exported generic functions
Generic Function, (setf universe): Exported generic functions
Generic Function, add-collection: Exported generic functions
Generic Function, add-data-object: Exported generic functions
Generic Function, add-store: Exported generic functions
Generic Function, collection-class: Exported generic functions
Generic Function, collections: Exported generic functions
Generic Function, data-objects: Exported generic functions
Generic Function, delete-data-object: Exported generic functions
Generic Function, deleted-p: Exported generic functions
Generic Function, digx: Exported generic functions
Generic Function, exists-p: Exported generic functions
Generic Function, get-collection: Exported generic functions
Generic Function, get-collection-from-def: Internal generic functions
Generic Function, get-store: Exported generic functions
Generic Function, getx: Exported generic functions
Generic Function, handle-duplicates: Exported generic functions
Generic Function, key-values: Exported generic functions
Generic Function, load-data: Exported generic functions
Generic Function, load-store: Exported generic functions
Generic Function, load-store-collections: Internal generic functions
Generic Function, load-stores: Exported generic functions
Generic Function, loaded-p: Exported generic functions
Generic Function, location: Exported generic functions
Generic Function, must-handle-duplicates: Exported generic functions
Generic Function, naive-reduce: Exported generic functions
Generic Function, name: Exported generic functions
Generic Function, object-values: Exported generic functions
Generic Function, parse-child-data-object: Exported generic functions
Generic Function, parse-data-object: Exported generic functions
Generic Function, parse-object-deleted-p: Exported generic functions
Generic Function, parse-object-p: Exported generic functions
Generic Function, parse-reference-data-object: Exported generic functions
Generic Function, parse-reference-object-p: Exported generic functions
Generic Function, parse-top-level-data-object: Exported generic functions
Generic Function, persist: Exported generic functions
Generic Function, persist-collection-def: Internal generic functions
Generic Function, persist-object: Exported generic functions
Generic Function, query-data: Exported generic functions
Generic Function, query-data-object: Exported generic functions
Generic Function, remove-data-object: Exported generic functions
Generic Function, sanitize-data-file: Exported generic functions
Generic Function, store: Exported generic functions
Generic Function, store-class: Exported generic functions
Generic Function, stores: Exported generic functions
Generic Function, universe: Exported generic functions
Generic Function, write-object: Exported generic functions
get-collection: Exported generic functions
get-collection: Exported generic functions
get-collection*: Internal functions
get-collection-from-def: Internal generic functions
get-collection-from-def: Internal generic functions
get-store: Exported generic functions
get-store: Exported generic functions
get-store*: Internal functions
get-store-from-def: Internal functions
getx: Exported generic functions
getx: Exported generic functions

H
handle-duplicates: Exported generic functions
handle-duplicates: Exported generic functions
handle-duplicates: Exported generic functions
handle-duplicates: Exported generic functions
handle-duplicates-p: Exported functions

K
key-values: Exported generic functions
key-values: Exported generic functions

L
load-data: Exported generic functions
load-data: Exported generic functions
load-data%: Internal functions
load-object-reference-collection: Exported functions
load-store: Exported generic functions
load-store: Exported generic functions
load-store-collections: Internal generic functions
load-store-collections: Internal generic functions
load-stores: Exported generic functions
load-stores: Exported generic functions
loaded-p: Exported generic functions
loaded-p: Exported generic functions
location: Exported generic functions
location: Exported generic functions
location: Exported generic functions
location: Exported generic functions

M
Macro, with-file-lock: Internal macros
make-blob: Exported functions
Method, (setf collection-class): Exported generic functions
Method, (setf collections): Exported generic functions
Method, (setf data-objects): Exported generic functions
Method, (setf deleted-p): Exported generic functions
Method, (setf digx): Exported generic functions
Method, (setf getx): Exported generic functions
Method, (setf handle-duplicates): Exported generic functions
Method, (setf handle-duplicates): Exported generic functions
Method, (setf handle-duplicates): Exported generic functions
Method, (setf loaded-p): Exported generic functions
Method, (setf location): Exported generic functions
Method, (setf location): Exported generic functions
Method, (setf location): Exported generic functions
Method, (setf name): Exported generic functions
Method, (setf name): Exported generic functions
Method, (setf store): Exported generic functions
Method, (setf store-class): Exported generic functions
Method, (setf stores): Exported generic functions
Method, (setf universe): Exported generic functions
Method, add-collection: Exported generic functions
Method, add-data-object: Exported generic functions
Method, add-store: Exported generic functions
Method, collection-class: Exported generic functions
Method, collections: Exported generic functions
Method, data-objects: Exported generic functions
Method, delete-data-object: Exported generic functions
Method, deleted-p: Exported generic functions
Method, digx: Exported generic functions
Method, exists-p: Exported generic functions
Method, get-collection: Exported generic functions
Method, get-collection-from-def: Internal generic functions
Method, get-store: Exported generic functions
Method, getx: Exported generic functions
Method, handle-duplicates: Exported generic functions
Method, handle-duplicates: Exported generic functions
Method, handle-duplicates: Exported generic functions
Method, key-values: Exported generic functions
Method, load-data: Exported generic functions
Method, load-store: Exported generic functions
Method, load-store-collections: Internal generic functions
Method, load-stores: Exported generic functions
Method, loaded-p: Exported generic functions
Method, location: Exported generic functions
Method, location: Exported generic functions
Method, location: Exported generic functions
Method, must-handle-duplicates: Exported generic functions
Method, must-handle-duplicates: Exported generic functions
Method, must-handle-duplicates: Exported generic functions
Method, naive-reduce: Exported generic functions
Method, naive-reduce: Exported generic functions
Method, naive-reduce: Exported generic functions
Method, name: Exported generic functions
Method, name: Exported generic functions
Method, object-values: Exported generic functions
Method, parse-child-data-object: Exported generic functions
Method, parse-data-object: Exported generic functions
Method, parse-object-deleted-p: Exported generic functions
Method, parse-object-p: Exported generic functions
Method, parse-reference-data-object: Exported generic functions
Method, parse-reference-object-p: Exported generic functions
Method, parse-top-level-data-object: Exported generic functions
Method, persist: Exported generic functions
Method, persist: Exported generic functions
Method, persist: Exported generic functions
Method, persist: Exported generic functions
Method, persist-collection-def: Internal generic functions
Method, persist-object: Exported generic functions
Method, query-data: Exported generic functions
Method, query-data: Exported generic functions
Method, query-data: Exported generic functions
Method, query-data: Exported generic functions
Method, query-data-object: Exported generic functions
Method, query-data-object: Exported generic functions
Method, query-data-object: Exported generic functions
Method, query-data-object: Exported generic functions
Method, remove-data-object: Exported generic functions
Method, sanitize-data-file: Exported generic functions
Method, store: Exported generic functions
Method, store-class: Exported generic functions
Method, stores: Exported generic functions
Method, universe: Exported generic functions
Method, write-object: Exported generic functions
must-handle-duplicates: Exported generic functions
must-handle-duplicates: Exported generic functions
must-handle-duplicates: Exported generic functions
must-handle-duplicates: Exported generic functions

N
naive-reduce: Exported generic functions
naive-reduce: Exported generic functions
naive-reduce: Exported generic functions
naive-reduce: Exported generic functions
name: Exported generic functions
name: Exported generic functions
name: Exported generic functions

O
object-values: Exported generic functions
object-values: Exported generic functions

P
parse-child-data-object: Exported generic functions
parse-child-data-object: Exported generic functions
parse-data-object: Exported generic functions
parse-data-object: Exported generic functions
parse-object-deleted-p: Exported generic functions
parse-object-deleted-p: Exported generic functions
parse-object-p: Exported generic functions
parse-object-p: Exported generic functions
parse-reference-data-object: Exported generic functions
parse-reference-data-object: Exported generic functions
parse-reference-object-p: Exported generic functions
parse-reference-object-p: Exported generic functions
parse-top-level-data-object: Exported generic functions
parse-top-level-data-object: Exported generic functions
persist: Exported generic functions
persist: Exported generic functions
persist: Exported generic functions
persist: Exported generic functions
persist: Exported generic functions
persist-collection: Internal functions
persist-collection-def: Internal generic functions
persist-collection-def: Internal generic functions
persist-object: Exported generic functions
persist-object: Exported generic functions
plist-to-value-pairs: Exported functions
plist-to-values: Exported functions
push-relpace: Internal functions

Q
query-data: Exported generic functions
query-data: Exported generic functions
query-data: Exported generic functions
query-data: Exported generic functions
query-data: Exported generic functions
query-data-object: Exported generic functions
query-data-object: Exported generic functions
query-data-object: Exported generic functions
query-data-object: Exported generic functions
query-data-object: Exported generic functions

R
read-blob: Exported functions
read-file-to-string: Exported functions
remove-data-object: Exported generic functions
remove-data-object: Exported generic functions

S
sanitize-data-file: Exported generic functions
sanitize-data-file: Exported generic functions
set-dig-down: Internal functions
store: Exported generic functions
store: Exported generic functions
store-class: Exported generic functions
store-class: Exported generic functions
stores: Exported generic functions
stores: Exported generic functions

T
trim-whitespace: Exported functions

U
universe: Exported generic functions
universe: Exported generic functions

W
with-file-lock: Internal macros
write-blob: Exported functions
write-hash-to-file: Internal functions
write-list-to-file: Exported functions
write-object: Exported generic functions
write-object: Exported generic functions
write-to-file: Exported functions

Jump to:   (  
A   B   C   D   E   F   G   H   K   L   M   N   O   P   Q   R   S   T   U   W  

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

A.3 Variables

Jump to:   C   D   F   H   L   N   R   S   U  
Index Entry  Section

C
collection-class: Exported classes
collections: Exported classes

D
data-objects: Exported classes

F
file-ext: Exported structures
file-type: Exported structures

H
handle-duplicates: Exported classes
handle-duplicates: Exported classes
handle-duplicates: Exported classes

L
loaded-p: Exported classes
location: Exported structures
location: Exported classes
location: Exported classes
location: Exported classes

N
name: Exported classes
name: Exported classes

R
raw: Exported structures

S
Slot, collection-class: Exported classes
Slot, collections: Exported classes
Slot, data-objects: Exported classes
Slot, file-ext: Exported structures
Slot, file-type: Exported structures
Slot, handle-duplicates: Exported classes
Slot, handle-duplicates: Exported classes
Slot, handle-duplicates: Exported classes
Slot, loaded-p: Exported classes
Slot, location: Exported structures
Slot, location: Exported classes
Slot, location: Exported classes
Slot, location: Exported classes
Slot, name: Exported classes
Slot, name: Exported classes
Slot, raw: Exported structures
Slot, store: Exported classes
Slot, store-class: Exported classes
Slot, stores: Exported classes
Slot, universe: Exported classes
store: Exported classes
store-class: Exported classes
stores: Exported classes

U
universe: Exported classes

Jump to:   C   D   F   H   L   N   R   S   U  

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

A.4 Data types

Jump to:   B   C   P   S   U  
Index Entry  Section

B
blob: Exported structures

C
cl-naive-store: The cl-naive-store system
cl-naive-store: The cl-naive-store package
Class, collection: Exported classes
Class, store: Exported classes
Class, universe: Exported classes
collection: Exported classes

P
Package, cl-naive-store: The cl-naive-store package

S
store: Exported classes
Structure, blob: Exported structures
System, cl-naive-store: The cl-naive-store system

U
universe: Exported classes

Jump to:   B   C   P   S   U