The cl-rethinkdb Reference Manual

Table of Contents

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

The cl-rethinkdb Reference Manual

This is the cl-rethinkdb Reference Manual, version 0.6.7, generated automatically by Declt version 2.3 "Robert April" on Tue Jan 09 13:59:19 2018 GMT+0.


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

1 Introduction

cl-rethinkdb - RethinkDB driver for Common Lisp

This is an async RethinkDB driver for everyone's favorite programming language. It does its best to follow the query language specification. If it's missing any functions or has implemented any of them incorrectly, please open an issue.

This driver is up to date with RethinkDB's v2.0.x protocol.

As with most of my drivers, cl-rethinkdb requires cl-async, and makes heavy use of cl-async's promises.

This driver is built so that later on, more than one TCP backend can be used. Right now, the only one implemented is cl-async, but usocket/IOLib could just as easily be used if someone puts in the time.

Documentation

The driver makes extensive use of promises, as mentioned, so be sure to know your way around the promise syntax macros when using it.

Everything needed to use the driver is exported out of the cl-rethinkdb package, which has the nickname r.

DSL

cl-rethinkdb makes use of a query DSL that maps keyword function calls to normal function calls. It does this so that predefined common lisp functions can be used instead of giving them rediculous names to avoid naming clashes.

The DSL is activated by using either the r macro (used to build query forms) or the fn macro (used to build anonymous functions).

Note that this section only covers the DSL itself. Check out the full list of commands to start building the query of your dreams.

r (macro)

This macro translates keyword functions into ReQL function calls:

;; grab first 10 records from the `users` table
(r (:limit (:table "users") 10))

This translates to

(cl-rethinkdb-reql::limit (cl-rethinkdb-reql::table "users") 10)

fn (macro)

This macro creates an anonymous function for use in a RethinkDB query.

It works very much like the r macro, and in fact wraps its inner forms in r so that you can use the query DSL from within a function.

;; return an anonymous function that adds `3` to the given argument
(fn (x) (:+ x 3))

Functions can be mixed in with r queries:

;; find all users older than 24
(r (:filter (:table "users")
            (fn (user)
              (:< 24 (:attr user "age")))))

Note how inside the fn body, we're still using functions prefixed with :.

Sending queries and getting results

Once you've constructed a query via r, you need to send it to the server. When the server responds successfully, you will get either an atom (a single value: integer, boolean, hash, array, etc). or a cursor which provides an interface to iterate over a set of atoms.

connect (function)

(defun connect (host port &key db use-outdated noreply profile read-timeout auth))
  => promise (tcp-socket)

Connects a socket to the given host/port and returns a promise that's finished with the socket.

Usage:

(alet ((sock (connect "127.0.0.1" 28015 :db "test")))
  ;; ... do stuff ...
  (disconnect sock))

run (function)

(defun run (sock query-form))
  => promise (atom/cursor profile-data)

Run a query against the given socket (connected using connect). Returns a promise finished with either the atom the query returns or a cursor to the query results.

If profile is t when calling connect, the second promise value will be the profile data returned with the query.

run can signal the following errors on the promise it returns:

Example

(alet* ((sock (connect "127.0.0.1" 28015))
        (query (r (:get (:table "users") 12)))  ; get user id 12
        (value (run sock query)))
  (format t "My user is: ~s~%" value)
  (disconnect sock))

wait-complete (function)

(defun wait-complete (sock))
  => promise (t)

Waits for all queries sent on this socket with noreply => t to finish. This lets you queue up a number of write operations on a socket. You can then call wait-complete on the socket and it will return the response when all the queued operations finish.

cursor (class)

The cursor class keeps track of queries where a sequence of results is returned (as opposed to an atom). It is generally opaque, having no public accessors.

Cursor functions/methods:

cursorp (function)

(defun cursorp (cursor))
  => t/nil

Convenience function to tell if the given object is a cursor.

next (function)

(defun next (sock cursor))
  => promise (atom)

Gets the next result from a cursor. Returns a promise that's finished with the next result. The result could be stored locally already, but it also may need to be retrieved from the server.

next can signal two errors on the promise it returns:

(alet* ((sock (connect "127.0.0.1" 28015))
        (query (r (:table "users")))  ; get all users
        (cursor (run sock query)))
  ;; grab the first result from the cursor.
  (alet ((user (next sock cursor)))
    (format t "first user is: ~s~%" user)
    ;; let's grab another user
    (alet ((user (next sock cursor)))
      (format t "second user is: ~s~%" user)
      ;; let the server/driver know we're done with this result set
      (stop/disconnect sock cursor))))

has-next (function)

(defun has-next (cursor))
  => t/nil

Determines if a cursor has more results available.

to-sequence (function)

(defun to-sequence (sock cursor))
  => promise (sequence)

Given a socket and a cursor, to-sequence grabs ALL the results from the cursor, going out to the server to get more if it has to, and returns them as a sequence through the returned promise. The sequence type (vector/list) depends on the value of *sequence-type*.

to-array (function)

(defun to-array (sock cursor))
  => promise (vector)

Given a socket and a cursor, to-array grabs ALL the results from the cursor, going out to the server to get more if it has to, and returns them as an array through the returned promise.

(alet* ((sock (connect "127.0.0.1" 28015))
        (query (r (:table "users")))  ; get all users
        (cursor (run sock query))
        (all-records (to-array sock cursor)))
  (format t "All users: ~s~%" all-records)
  ;; cleanup
  (stop/disconnect sock cursor))

Don't call to-array on a cursor returned from a changefeed. It will just sit there endlessly saving results to a list it will never return.

each (function)

(defun each (sock cursor function))
  => promise 

Call the given function on each of the results of a cursor. The returned promise is finished when all results have been iterated over.

(alet* ((sock (connect "127.0.0.1" 28015))
        (cursor (run sock (r (:table "users")))))
  ;; print each user
  (wait (each sock cursor
          (lambda (x) (format t "user: ~s~%" x)))
    ;; cleanup
    (wait (stop sock cursor)
      (disconnect sock))))

each is the function you want to use for listening to changes on a cursor that is returned from a changefeed.

stop (function)

(defun stop (sock cursor))
  => promise

Stops a currently open query/cursor. This cleans up the cursor locally, and also lets RethinkDB know that the results for this cursor are no longer needed. Returns a promise that is finished with no values when the operation is complete.

stop/disconnect (function)

(defun stop/disconnect (sock cursor))
  => nil

Calls stop on a cursor, and after the stop operation is done closes the passed socket. Useful as a final termination to an operation that uses a cursor.

Note that this function checks if the object passed is indeed a cursor, and if not, just disconnects the socket without throwing any errors.

disconnect (function)

(defun disconnect (sock))
  => nil

Disconnect a connection to a RethinkDB server.

Binary data

Binary data is now part of the driver. Using it is simple...you pass in an unsigned byte array (ie (simple-erray (unsigned-byte 8) (*))) and the driver will handle encoding of the binary data for you. Binary data passed in must be of the unsigned-byte type, or your data will just be encoded as an array (or whatever type it actually is).

When an object is returned that has binary data, the driver converts it back to an unsigned byte array.

You can also force usage of the binary type by using the (:binary ...) type in the DSL. It takes 1 argument: a base64 string of your data. Note, however, that if you do use (:binary "ZG93biB3aXRoIHRoZSBvcHByZXNzaXZlIGNhcGl0YWxpc3QgcmVnaW1l"), when you pull that document out, the data will be encoded as a raw unsigned-byte array (not a base64 string).

Config

These mainly have to do with how you want data returned.

*sequence-type*

When a sequence is returned from RethinkDB, it can be either returned as a list (if *sequence-type* is :list or as a vector (if *sequence-type* is :array). It's really a matter of preference on how you're going to access the data. (But you may also want to read on-sequence-type for a warning about round tripping rethinkdb documents while using :list).

Default: :list

*object-type*

If an object (as in, key/value object) is returned from RethinkDB, it can be encoded as a hash table (if *object-type* is :hash) or as an association list (if *object-type* is :alist). Hash tables are almost always more performant, but alists can be easier to debug. Your choice.

Default: :hash

Thread safety

cl-rethinkdb stores all its global state in one variable: *state*, which is exported in the cl-rethinkdb package. The *state* variable is an instance of the cl-rethinkdb:state CLOS class. This lets you declare a thread-local variable when starting a thread so there are no collisions when accessing the library from multiple threads:

(let ((cl-rethinkdb:*state* (make-instance 'cl-rethinkdb:state)))
  (as:with-event-loop ()
    ;; run queries in this context
    ))

Using let in the above context declares *state* as a thread local variable, as opposed to using setf, which will just modify the global, shared context. Be sure that the let form happens at the start of the thread and encompasses the event loop form.

Commands

All of the following are accessible via the r DSL macro by prefixing the name with a :. So (table "users") becomes (:table "users").

These are almost 100% compatible with the ReQL specification, so if you familiarize yourself with the query language, you will automatically get a good handle on the following.

For a better understanding of the return types of the following commands, see the REQL type hierarchy in the protobuf specification.

Errors

These are the errors you may encounter while using this driver. Most (if not all) errors will be signalled on a promise instead of thrown directly. Errors on a promise can be caught via catcher.

query-error

A general query error.

query-client-error

extends query-error

Thrown when the driver sucks. If you get this, open an issue.

query-compile-error

extends query-error

Thrown when a query cannot compile. If you get this, take a close look at your query forms.

query-runtime-error

extends query-error

Thrown when the database has a runtime error.

cursor-error

A general error with a cursor.

cursor-overshot

extends cursor-error

Thrown when next is called on a cursor, but the cursor is currently grabbing more results.

cursor-no-more-results

extends cursor-error

Thrown when next is called on a cursor that has no more results. You can test this by using has-next.

reql-error

A REQL error. This is thrown when there's an error in the returned REQL data from the database. For instance, if a time value comes back without a timestamp or binary data type comes back without the payload. Generally, if the database itself is functioning correctly, you won't see this error.

License

MIT. Enjoy.


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-rethinkdb

Author

Andrew Danger Lyon <orthecreedence@gmail.com>

License

MIT

Description

A RethinkDB driver for Common Lisp

Version

0.6.7

Dependencies
Source

cl-rethinkdb.asd (file)

Components

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

3 Modules

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


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

3.1 cl-rethinkdb/reql

Dependency

config.lisp (file)

Parent

cl-rethinkdb (system)

Location

reql/

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 cl-rethinkdb.asd

Location

cl-rethinkdb.asd

Systems

cl-rethinkdb (system)


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

4.1.2 cl-rethinkdb/util.lisp

Parent

cl-rethinkdb (system)

Location

util.lisp

Packages

cl-rethinkdb-util

Exported Definitions

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

4.1.3 cl-rethinkdb/package.lisp

Dependency

util.lisp (file)

Parent

cl-rethinkdb (system)

Location

package.lisp

Packages

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

4.1.4 cl-rethinkdb/config.lisp

Dependency

package.lisp (file)

Parent

cl-rethinkdb (system)

Location

config.lisp

Exported Definitions

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

4.1.5 cl-rethinkdb/protocol.lisp

Dependency

package.lisp (file)

Parent

cl-rethinkdb (system)

Location

protocol.lisp

Internal Definitions

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

4.1.6 cl-rethinkdb/reql/types.lisp

Parent

reql (module)

Location

reql/types.lisp

Internal Definitions

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

4.1.7 cl-rethinkdb/reql/function.lisp

Dependency

types.lisp (file)

Parent

reql (module)

Location

reql/function.lisp

Exported Definitions

fn (macro)

Internal Definitions

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

4.1.8 cl-rethinkdb/reql/commands.lisp

Dependency

function.lisp (file)

Parent

reql (module)

Location

reql/commands.lisp

Internal Definitions

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

4.1.9 cl-rethinkdb/reql/dsl.lisp

Dependency

commands.lisp (file)

Parent

reql (module)

Location

reql/dsl.lisp

Exported Definitions

r (macro)


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

4.1.10 cl-rethinkdb/reql/pseudotypes.lisp

Dependency

dsl.lisp (file)

Parent

reql (module)

Location

reql/pseudotypes.lisp

Exported Definitions
Internal Definitions

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

4.1.11 cl-rethinkdb/connection.lisp

Dependencies
Parent

cl-rethinkdb (system)

Location

connection.lisp

Internal Definitions

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

4.1.12 cl-rethinkdb/query.lisp

Dependencies
Parent

cl-rethinkdb (system)

Location

query.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 cl-rethinkdb-util

Source

util.lisp (file)

Use List
Used By List
Exported Definitions

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

5.2 cl-rethinkdb

Source

package.lisp (file)

Nickname

r

Use List
Exported Definitions
Internal Definitions

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

5.3 cl-rethinkdb-reql

Source

package.lisp (file)

Nickname

reql

Use List
Used By List

cl-rethinkdb

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: *object-type*

Defines whether data returned as an object should be an :alist or :hash.

Package

cl-rethinkdb

Source

config.lisp (file)

Special Variable: *sequence-type*

Defines whether data returned as a sequence should be a :list or :array.

Package

cl-rethinkdb

Source

config.lisp (file)

Special Variable: *state*

Holds all tracking state for the RethinkDB driver.

Package

cl-rethinkdb

Source

query.lisp (file)


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

6.1.2 Macros

Macro: do-hash/alist ((BIND-KEY BIND-VAL) HASH/ALIST) &body BODY

Generifies looping over a hash table or alist.

Package

cl-rethinkdb-util

Source

util.lisp (file)

Macro: do-list/vector (BIND-VAL LIST/VECTOR) &body BODY

Generifies looping over a list OR vector.

Package

cl-rethinkdb-util

Source

util.lisp (file)

Macro: fn ARGS &body BODY

Makes creating anonymous REQL functions easy. Takes a list of arguments (this is not a real lambda list, just a flat list of args) and wraps the body in the REQL-generating form ’r’.

Package

cl-rethinkdb-reql

Source

function.lisp (file)

Macro: r &body QUERY-FORM

Wraps query generation in a macro that takes care of pesky function naming issues. For instance, the function ‘count‘ is reserved in CL, so importing cl-rethinkdb-reql:count into your app might mess a lot of things up. Instead, you can wrap your queries in (r ...) and use *keywords* for function names, and all will be well. For instance:

(r::insert (r::table "users") ’(("name" . "larry")))

becomes:

(r (:insert (:table "users") ’(("name" . "larry"))))

This allows you to separate CL functions from query functions both logically and visually.

Package

cl-rethinkdb-reql

Source

dsl.lisp (file)


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

6.1.3 Functions

Function: connect HOST PORT &key DB USE-OUTDATED NOREPLY PROFILE READ-TIMEOUT AUTH

Connect to a RethinkDB database, optionally specifying the database.

Package

cl-rethinkdb

Source

query.lisp (file)

Function: convert-pseudotypes-recursive OBJ

Recursively handle RethinkDB’s pseudotypes in returned objects.

Package

cl-rethinkdb-reql

Source

pseudotypes.lisp (file)

Function: cursorp CURSOR

Determine if the given object is a cursor.

Package

cl-rethinkdb

Source

query.lisp (file)

Function: disconnect SOCK

Disconnect a RethinkDB connection.

Package

cl-rethinkdb

Source

query.lisp (file)

Function: each SOCK CURSOR FUNCTION

Call the given function on every result in the given cursor.

Package

cl-rethinkdb

Source

query.lisp (file)

Function: endian NUMBER NUM-BYTES

Convert a number into N bytes little endian.

Package

cl-rethinkdb-util

Source

util.lisp (file)

Function: has-next CURSOR

Determine if a cursor has more results.

Package

cl-rethinkdb

Source

query.lisp (file)

Function: jprint OBJ &optional STREAM
Package

cl-rethinkdb-util

Source

util.lisp (file)

Function: next SOCK CURSOR

Grab the next result from a cursor. Always returns a future since it may have to get more results from the server.

Package

cl-rethinkdb

Source

query.lisp (file)

Function: run SOCK QUERY-FORM

This function runs the given query, and returns a future that’s finished when the query response comes in.

Package

cl-rethinkdb

Source

query.lisp (file)

Function: stop SOCK CURSOR

Cleanup a cursor both locally and in the database. Returns a future that is finished with *no values* once the stop operation has completed.

Package

cl-rethinkdb

Source

query.lisp (file)

Function: stop/disconnect SOCK CURSOR

Call stop on a cursor and disconnect the passed socket.

Package

cl-rethinkdb

Source

query.lisp (file)

Function: to-array SOCK CURSOR

Grab ALL results from a cursor. Returns a future finished with the final array.

Package

cl-rethinkdb

Source

query.lisp (file)

Function: to-sequence SOCK CURSOR

Takes a socket and a cursor an returns a sequence of all the items that cursor points to (the type of sequence returned depends on *sequence-type*)

Package

cl-rethinkdb

Source

query.lisp (file)

Function: unendian BYTES NUM-BYTES &key OFFSET

Turns N number of bytes at offset in bytes into an integer.

Package

cl-rethinkdb-util

Source

util.lisp (file)

Function: wait-complete SOCK

Wait for noreply => t queries to come back LOL.

Package

cl-rethinkdb

Source

query.lisp (file)


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

6.1.4 Generic functions

Generic Function: query-error-msg CONDITION
Package

cl-rethinkdb

Methods
Method: query-error-msg (CONDITION query-error)
Source

query.lisp (file)


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

6.1.5 Conditions

Condition: cursor-error ()

Describes a general query error.

Package

cl-rethinkdb

Source

query.lisp (file)

Direct superclasses

simple-error (condition)

Direct subclasses
Direct methods
Direct slots
Slot: token
Initargs

:token

Initform

(quote nil)

Readers

cursor-error-token (generic function)

Slot: cursor
Initargs

:cursor

Initform

(quote nil)

Readers

cursor-error-cursor (generic function)

Condition: cursor-no-more-results ()

Thrown when a cursor has no more results on it.

Package

cl-rethinkdb

Source

query.lisp (file)

Direct superclasses

cursor-error (condition)

Condition: cursor-overshot ()

Thrown when a cursor has no more results on it.

Package

cl-rethinkdb

Source

query.lisp (file)

Direct superclasses

cursor-error (condition)

Condition: cursor-stopped ()

Thrown when a cursor that has a pending operation is stopped.

Package

cl-rethinkdb

Source

query.lisp (file)

Direct superclasses

cursor-error (condition)

Condition: query-client-error ()

A client error condition.

Package

cl-rethinkdb

Source

query.lisp (file)

Direct superclasses

query-error (condition)

Condition: query-compile-error ()

A query compile error condition.

Package

cl-rethinkdb

Source

query.lisp (file)

Direct superclasses

query-error (condition)

Condition: query-error ()

A general query failure condition.

Package

cl-rethinkdb

Source

query.lisp (file)

Direct superclasses

simple-error (condition)

Direct subclasses
Direct methods
Direct slots
Slot: token
Initargs

:token

Initform

(quote nil)

Readers

query-error-token (generic function)

Slot: query
Initargs

:query

Initform

(quote nil)

Readers

query-error-query (generic function)

Slot: backtrace
Initargs

:backtrace

Initform

(quote nil)

Readers

query-error-backtrace (generic function)

Slot: msg
Initargs

:msg

Initform

(quote "")

Readers

query-error-msg (generic function)

Condition: query-runtime-error ()

A query runtime error condition.

Package

cl-rethinkdb

Source

query.lisp (file)

Direct superclasses

query-error (condition)

Condition: reql-error ()

A general reql error

Package

cl-rethinkdb-reql

Source

pseudotypes.lisp (file)

Direct superclasses

simple-error (condition)

Direct methods

reql-error-msg (method)

Direct slots
Slot: msg
Initargs

:msg

Initform

(quote "")

Readers

reql-error-msg (generic function)


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

6.1.6 Classes

Class: cursor ()

The query class holds the state of a query, as well as the future that will be finished when the query returns results.

Package

cl-rethinkdb

Source

query.lisp (file)

Direct superclasses

dispatch (class)

Direct methods
Direct slots
Slot: state

Describes the current state of the query (new, complete, etc).

Initargs

:state

Initform

:new

Readers

cursor-state (generic function)

Writers

(setf cursor-state) (generic function)

Slot: future

Holds the future that will be finished with the results from this query.

Initargs

:future

Readers

cursor-future (generic function)

Writers

(setf cursor-future) (generic function)

Slot: token

Holds the token for this query.

Initargs

:token

Readers

cursor-token (generic function)

Writers

(setf cursor-token) (generic function)

Slot: last-change

Tracks the last time the query changed state.

Initform

0

Readers

cursor-last-change (generic function)

Writers

(setf cursor-last-change) (generic function)

Slot: results

Holds the current result set from the query.

Readers

cursor-results (generic function)

Writers

(setf cursor-results) (generic function)

Slot: current-result

Tracks which record the cursor points to.

Initform

0

Readers

cursor-current-result (generic function)

Writers

(setf cursor-current-result) (generic function)

Slot: debug

Holds freeform debug info for this cursor.

Initargs

:debug

Readers

cursor-debug (generic function)

Writers

(setf cursor-debug) (generic function)

Class: state ()

Tracks all state for the driver.

Package

cl-rethinkdb

Source

query.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: token
Initform

0

Readers

state-token (generic function)

Writers

(setf state-token) (generic function)

Slot: active-queries
Initform

(make-hash-table :test (function eq))

Readers

active-queries (generic function)

Writers

(setf active-queries) (generic function)


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

6.2 Internal definitions


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

6.2.1 Constants

Constant: +datum-type-array+
Package

cl-rethinkdb

Source

protocol.lisp (file)

Constant: +datum-type-bool+
Package

cl-rethinkdb

Source

protocol.lisp (file)

Constant: +datum-type-json+
Package

cl-rethinkdb

Source

protocol.lisp (file)

Constant: +datum-type-null+
Package

cl-rethinkdb

Source

protocol.lisp (file)

Constant: +datum-type-num+
Package

cl-rethinkdb

Source

protocol.lisp (file)

Constant: +datum-type-object+
Package

cl-rethinkdb

Source

protocol.lisp (file)

Constant: +datum-type-str+
Package

cl-rethinkdb

Source

protocol.lisp (file)

Constant: +proto-json+
Package

cl-rethinkdb

Source

protocol.lisp (file)

Constant: +proto-query-continue+
Package

cl-rethinkdb

Source

protocol.lisp (file)

Constant: +proto-query-start+
Package

cl-rethinkdb

Source

protocol.lisp (file)

Constant: +proto-query-stop+
Package

cl-rethinkdb

Source

protocol.lisp (file)

Constant: +proto-query-wait+
Package

cl-rethinkdb

Source

protocol.lisp (file)

Constant: +proto-version+
Package

cl-rethinkdb

Source

protocol.lisp (file)

Constant: +rdb-response-atom+
Package

cl-rethinkdb

Source

protocol.lisp (file)

Constant: +rdb-response-client-error+
Package

cl-rethinkdb

Source

protocol.lisp (file)

Constant: +rdb-response-compile-error+
Package

cl-rethinkdb

Source

protocol.lisp (file)

Constant: +rdb-response-feed+
Package

cl-rethinkdb

Source

protocol.lisp (file)

Constant: +rdb-response-partial+
Package

cl-rethinkdb

Source

protocol.lisp (file)

Constant: +rdb-response-runtime-error+
Package

cl-rethinkdb

Source

protocol.lisp (file)

Constant: +rdb-response-sequence+
Package

cl-rethinkdb

Source

protocol.lisp (file)

Constant: +rdb-response-wait-complete+
Package

cl-rethinkdb

Source

protocol.lisp (file)


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

6.2.2 Special variables

Special Variable: *commands*

Holds name -> lambda mappings for our commands.

Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Special Variable: *empty*

An empty data set for setting callbacks. Perhaps a cl-async API for this is in order??

Package

cl-rethinkdb

Source

connection.lisp (file)

Special Variable: *varnum*

Used to track lambda variables in functions.

Package

cl-rethinkdb-reql

Source

function.lisp (file)


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

6.2.3 Macros

Macro: defcommand (TERMVAL NAME &key DEFUN) ALL-ARGS &key DOCSTR ARRAYS

Wraps creation of commands.

Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Macro: socket-data SOCKET

Allow storing of arbitrary data with a socket.

Package

cl-rethinkdb

Source

connection.lisp (file)

Macro: with-query (SOCK CURSOR TOKEN QUERY STATE &key REJECT-ON-STOP) RESOLVE REJECT
Package

cl-rethinkdb

Source

query.lisp (file)


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

6.2.4 Functions

Function: &rest BOOLS
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: != &rest OBJECTS
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: % NUMBER MOD
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: && &rest BOOLS
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: * &rest OBJECTS
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: + &rest OBJECTS
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: - &rest OBJECTS
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: / &rest OBJECTS
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: < &rest OBJECTS
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: <= &rest OBJECTS
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: == &rest OBJECTS
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: > &rest OBJECTS
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: >= &rest OBJECTS
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: alistp ALIST

Determine if the given object is an alist.

Package

cl-rethinkdb-reql

Source

types.lisp (file)

Function: append ARRAY OBJECT
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: april ()
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: args ARRAY
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: asc STRING
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: attr OBJECT KEY
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: august ()
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: avg SEQUENCE FIELD/FUNCTION
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: between STREAM LEFT RIGHT &key INDEX RIGHT-BOUND LEFT-BOUND
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: between-dep STREAM LEFT RIGHT &key INDEX RIGHT-BOUND LEFT-BOUND
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: binary BASE64-STRING
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: bracket SEQUENCE/OBJECT NUMBER/STRING
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: branch BOOL TRUE-EXPR FALSE-EXPR
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: call FN &rest ALL-ARGS

Call a command by name.

Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: change-at ARRAY INDEX OBJECT
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: changes TABLE &key SQUASH INCLUDE-STATES
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: circle GEO RADIUS &key NUM-VERTICES GEO-SYSTEM UNIT FILL
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: cmd-arg X

Makes sure all DATA (not command) arrays are wrapped in a make-array cmd.

Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: coerce-to VAL STRING
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: concat-map SEQUENCE FUNCTION
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: config DB/TABLE
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: contains SEQUENCE OBJECT/FUNCTION
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: convert-pseudotypes OBJ

Handle pseudotypes.

Package

cl-rethinkdb-reql

Source

pseudotypes.lisp (file)

Function: count SEQUENCE
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: date TIME
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: day TIME
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: day-of-week TIME
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: day-of-year TIME
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: db DBNAME
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: db-create NAME
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: db-drop NAME
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: db-list ()
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: december ()
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: default OBJECT DEFAULT
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: delete SELECTION &key DURABILITY RETURN-CHANGES
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: delete-at ARRAY INDEX
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: desc STRING
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: difference ARRAY1 ARRAY2
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: distance GEO-FROM GEO-TO &key GEO-SYSTEM UNIT
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: distinct SEQUENCE &key INDEX
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: do FUNCTION &rest ARGS
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: do-close SOCK

Close the given socket.

Package

cl-rethinkdb

Source

connection.lisp (file)

Function: do-connect HOST PORT &key READ-TIMEOUT

Create a connection to the given host/port, and optionally db.

Package

cl-rethinkdb

Source

connection.lisp (file)

Function: downcase STRING
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: during TIME START END
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: epoch-time NUMBER
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: eq-join SEQUENCE1 FIELD SEQUENCE2 &key INDEX
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: error ERRSTR
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: expr LISP-OBJ
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: february ()
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: fill GEO
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: filter SEQUENCE FUNCTION &key DEFAULT
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: finalize-connect SOCK

Make sure a connection to the DB was successful.

Package

cl-rethinkdb

Source

connection.lisp (file)

Function: finalize-query SOCK

Make sure a socket that just had query data sent over it is ready to handle the response.

Package

cl-rethinkdb

Source

connection.lisp (file)

Function: for-each SEQUENCE FUNCTION
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: friday ()
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: func ARGS BODY
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: generate-fn-var ()

Returns ’unique’ variable ’names’ for ’anonymous’ ’functions’ ;) ;) if you know what I mean heh heh ;) ;) ;).

Package

cl-rethinkdb-reql

Source

function.lisp (file)

Function: generate-token &key STATE

Generates a new token value for a query.

Package

cl-rethinkdb

Source

query.lisp (file)

Function: geojson OBJECT
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: get TABLE ID
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: get-all TABLE IDS &key INDEX
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: get-cursor TOKEN &key STATE

Grab a cursor associated with a token. Returns nil if no cursor exists for that token

Package

cl-rethinkdb

Source

query.lisp (file)

Function: get-intersecting TABLE GEO &key INDEX
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: get-nearest TABLE GEO &key INDEX MAX-RESULTS MAX-DIST GEO-SYSTEM UNIT
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: group SEQUENCE FIELD/FUNCTION &key INDEX
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: has-fields OBJECT &rest PATHSPEC
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: hours TIME
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: http URL &key DATA TIMEOUT METHOD PARAMS HEADER ATTEMPS REDIRECTS VERIFY PAGE PAGE-LIMIT AUTH RESULT-FORMAT
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: in-timezone TIME STRING
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: includes GEO1 GEO2
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: index-create TABLE NAME FUNCTION &key MULTI GEO
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: index-drop TABLE NAME
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: index-list TABLE
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: index-rename TABLE FROM TO &key OVERWRITE
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: index-status TABLE &rest NAMES
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: index-wait TABLE &rest NAMES
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: info OBJECT
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: inner-join SEQUENCE1 SEQUENCE2 FUNCTION
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: insert TABLE OBJECT &key CONFLICT DURABILITY RETURN-CHANGES
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: insert-at ARRAY INDEX VAL
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: intersects GEO1 GEO2
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: is-empty SEQUENCE
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: iso8601 STRING
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: january ()
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: javascript STRING &key TIMEOUT
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: json STRING
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: json-to-response JSON
Package

cl-rethinkdb

Source

query.lisp (file)

Function: july ()
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: june ()
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: keys OBJECT
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: limit SEQUENCE NUMBER
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: line &rest ARRAY/GEO
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: literal OBJECT
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: make-array &rest OBJECTS
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: make-obj HASH
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: make-response-handler ()

This function returns a closure that can be called multiple times with data from a RethinkDB response. If a full response is received (over one or more calls) it returns the *full byte array of the response*, otherwise nil.

Note that the response chunks MUST be passed in in the order received.

Package

cl-rethinkdb

Source

query.lisp (file)

Function: map SEQUENCE FUNCTION
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: march ()
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: match STRING REGEX
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: max SEQUENCE FIELD/FUNCTION
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: maxval ()
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: may ()
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: merge &rest OBJECTS
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: min SEQUENCE FIELD/FUNCTION
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: minutes TIME
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: minval ()
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: monday ()
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: month TIME
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: more SOCK TOKEN

Continue a query.

Package

cl-rethinkdb

Source

query.lisp (file)

Function: november ()
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: now ()
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: nth SEQUENCE INDEX
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: object &rest PAIRS
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: october ()
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: offsets-of SEQUENCE OBJECT/FUNCTION
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: order-by SEQUENCE FIELDS &key INDEX
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: outer-join SEQUENCE1 SEQUENCE2 FUNCTION
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: parse-response RESPONSE-BYTES

Given a full response byte array, parse it, find the attached cursor (by token), and either resolve/reject the cursor’s promise with the return of the query.

Package

cl-rethinkdb

Source

query.lisp (file)

Function: pluck SEQUENCE &rest PATHSPEC
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: point LAT LONG
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: polygon &rest ARRAY/GEO
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: polygon-sub GEO1 GEO2
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: prepend ARRAY OBJECT
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: random LOWER-BOUND UPPER-BOUND &key FLOAT
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: range LOWER UPPER
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: rebalance DB/TABLE
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: reconfigure DB/TABLE &key SHARDS REPLICAS PRIMARY-REPLICA-TAG DRY-RUN
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: reduce SEQUENCE FUNCTION
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: remove-cursor CURSOR &key STATE

Remove a cursor/token from state tracking.

Package

cl-rethinkdb

Source

query.lisp (file)

Function: replace SELECTION FUNCTION &key NON-ATOMIC DURABILITY RETURN-CHANGES
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: row ()
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: sample SEQUENCE NUMBER
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: saturday ()
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: save-cursor TOKEN CURSOR &key STATE

Associate a cursor with a token. Retrievable through get-cursor.

Package

cl-rethinkdb

Source

query.lisp (file)

Function: seconds TIME
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: september ()
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: serialize-query QUERY

Turn a query into a byte array.

Package

cl-rethinkdb

Source

query.lisp (file)

Function: set-callbacks SOCK &key READ-CB WRITE-CB EVENT-CB

Wraps setting socket callbacks.

Package

cl-rethinkdb

Source

connection.lisp (file)

Function: set-difference ARRAY1 ARRAY2
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: set-insert ARRAY OBJECT
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: set-intersection ARRAY1 ARRAY2
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: set-union ARRAY1 ARRAY2
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: skip SEQUENCE NUMBER
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: slice SEQUENCE START END
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: sock-write SOCK BYTES

Send data on a rethinkdb connection.

Package

cl-rethinkdb

Source

connection.lisp (file)

Function: splice-at ARRAY1 INDEX ARRAY2
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: split STRING &rest ARGS
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: status TABLE
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: sum SEQUENCE FIELD/FUNCTION
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: sunday ()
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: sync TABLE
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: table DB TABLENAME &key READ-MODE IDENTIFIER-FORMAT
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: table-create DB NAME &key PRIMARY-KEY SHARDS REPLICAS PRIMARY-REPLICA-TAG
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: table-drop DB NAME
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: table-list DB
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: thursday ()
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: time YEAR MONTH DAY HOUR MINUTE SECOND TIMEZONE
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: time-of-day TIME
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: timezone TIME
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: to-epoch-time TIME
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: to-geojson GEO
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: to-iso8601 TIME
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: to-json-string OBJECT
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: tuesday ()
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: type-of VAL
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: ungroup GROUPED
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: union &rest SEQUENCES
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: upcase STRING
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: update SELECTION OBJECT/FUNCTION &key NON-ATOMIC DURABILITY RETURN-CHANGES
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: uuid ()
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: var VARNUMBER
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: wait DB/TABLE
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: wednesday ()
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: with-fields SEQUENCE &rest PATHSPEC
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: without SEQUENCE &rest PATHSPEC
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: year TIME
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: zip SEQUENCE
Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Function: ~ BOOL
Package

cl-rethinkdb-reql

Source

commands.lisp (file)


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

6.2.5 Generic functions

Generic Function: active-queries OBJECT
Generic Function: (setf active-queries) NEW-VALUE OBJECT
Package

cl-rethinkdb

Methods
Method: active-queries (STATE state)

automatically generated reader method

Source

query.lisp (file)

Method: (setf active-queries) NEW-VALUE (STATE state)

automatically generated writer method

Source

query.lisp (file)

Generic Function: cmd-args OBJECT
Generic Function: (setf cmd-args) NEW-VALUE OBJECT
Package

cl-rethinkdb-reql

Methods
Method: cmd-args (REQL-CMD reql-cmd)

automatically generated reader method

Source

commands.lisp (file)

Method: (setf cmd-args) NEW-VALUE (REQL-CMD reql-cmd)

automatically generated writer method

Source

commands.lisp (file)

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

cl-rethinkdb-reql

Methods
Method: cmd-name (REQL-CMD reql-cmd)

automatically generated reader method

Source

commands.lisp (file)

Method: (setf cmd-name) NEW-VALUE (REQL-CMD reql-cmd)

automatically generated writer method

Source

commands.lisp (file)

Generic Function: cmd-op OBJECT
Generic Function: (setf cmd-op) NEW-VALUE OBJECT
Package

cl-rethinkdb-reql

Methods
Method: cmd-op (REQL-CMD reql-cmd)

automatically generated reader method

Source

commands.lisp (file)

Method: (setf cmd-op) NEW-VALUE (REQL-CMD reql-cmd)

automatically generated writer method

Source

commands.lisp (file)

Generic Function: cmd-options OBJECT
Generic Function: (setf cmd-options) NEW-VALUE OBJECT
Package

cl-rethinkdb-reql

Methods
Method: cmd-options (REQL-CMD reql-cmd)

automatically generated reader method

Source

commands.lisp (file)

Method: (setf cmd-options) NEW-VALUE (REQL-CMD reql-cmd)

automatically generated writer method

Source

commands.lisp (file)

Generic Function: conn-kv OBJECT
Generic Function: (setf conn-kv) NEW-VALUE OBJECT
Package

cl-rethinkdb

Methods
Method: conn-kv (CONNECTION-OPTIONS connection-options)

automatically generated reader method

Source

query.lisp (file)

Method: (setf conn-kv) NEW-VALUE (CONNECTION-OPTIONS connection-options)

automatically generated writer method

Source

query.lisp (file)

Generic Function: connect-error-msg CONDITION
Package

cl-rethinkdb

Methods
Method: connect-error-msg (CONDITION connect-error)
Source

connection.lisp (file)

Generic Function: cursor-current-result OBJECT
Generic Function: (setf cursor-current-result) NEW-VALUE OBJECT
Package

cl-rethinkdb

Methods
Method: cursor-current-result (CURSOR cursor)
Method: (setf cursor-current-result) NEW-VALUE (CURSOR cursor)

Tracks which record the cursor points to.

Source

query.lisp (file)

Generic Function: cursor-debug OBJECT
Generic Function: (setf cursor-debug) NEW-VALUE OBJECT
Package

cl-rethinkdb

Methods
Method: cursor-debug (CURSOR cursor)
Method: (setf cursor-debug) NEW-VALUE (CURSOR cursor)

Holds freeform debug info for this cursor.

Source

query.lisp (file)

Generic Function: cursor-error-cursor CONDITION
Package

cl-rethinkdb

Methods
Method: cursor-error-cursor (CONDITION cursor-error)
Source

query.lisp (file)

Generic Function: cursor-error-token CONDITION
Package

cl-rethinkdb

Methods
Method: cursor-error-token (CONDITION cursor-error)
Source

query.lisp (file)

Generic Function: cursor-future OBJECT
Generic Function: (setf cursor-future) NEW-VALUE OBJECT
Package

cl-rethinkdb

Methods
Method: cursor-future (CURSOR cursor)
Method: (setf cursor-future) NEW-VALUE (CURSOR cursor)

Holds the future that will be finished with the results from this query.

Source

query.lisp (file)

Generic Function: cursor-last-change OBJECT
Generic Function: (setf cursor-last-change) NEW-VALUE OBJECT
Package

cl-rethinkdb

Methods
Method: cursor-last-change (CURSOR cursor)
Method: (setf cursor-last-change) NEW-VALUE (CURSOR cursor)

Tracks the last time the query changed state.

Source

query.lisp (file)

Generic Function: cursor-results OBJECT
Generic Function: (setf cursor-results) NEW-VALUE OBJECT
Package

cl-rethinkdb

Methods
Method: cursor-results (CURSOR cursor)
Method: (setf cursor-results) NEW-VALUE (CURSOR cursor)

Holds the current result set from the query.

Source

query.lisp (file)

Method: (setf cursor-results) X (CURSOR cursor) after

Make sure to reset the curr-result pointer when setting in new results.

Source

query.lisp (file)

Generic Function: cursor-state OBJECT
Generic Function: (setf cursor-state) NEW-VALUE OBJECT
Package

cl-rethinkdb

Methods
Method: cursor-state (CURSOR cursor)
Method: (setf cursor-state) NEW-VALUE (CURSOR cursor)

Describes the current state of the query (new, complete, etc).

Source

query.lisp (file)

Method: (setf cursor-state) X (CURSOR cursor) after

Track whenever the state changes in a query.

Source

query.lisp (file)

Generic Function: cursor-token OBJECT
Generic Function: (setf cursor-token) NEW-VALUE OBJECT
Package

cl-rethinkdb

Methods
Method: cursor-token (CURSOR cursor)
Method: (setf cursor-token) NEW-VALUE (CURSOR cursor)

Holds the token for this query.

Source

query.lisp (file)

Generic Function: query-error-backtrace CONDITION
Package

cl-rethinkdb

Methods
Method: query-error-backtrace (CONDITION query-error)
Source

query.lisp (file)

Generic Function: query-error-query CONDITION
Package

cl-rethinkdb

Methods
Method: query-error-query (CONDITION query-error)
Source

query.lisp (file)

Generic Function: query-error-token CONDITION
Package

cl-rethinkdb

Methods
Method: query-error-token (CONDITION query-error)
Source

query.lisp (file)

Generic Function: reql-error-msg CONDITION
Package

cl-rethinkdb-reql

Methods
Method: reql-error-msg (CONDITION reql-error)
Source

pseudotypes.lisp (file)

Generic Function: state-token OBJECT
Generic Function: (setf state-token) NEW-VALUE OBJECT
Package

cl-rethinkdb

Methods
Method: state-token (STATE state)

automatically generated reader method

Source

query.lisp (file)

Method: (setf state-token) NEW-VALUE (STATE state)

automatically generated writer method

Source

query.lisp (file)


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

6.2.6 Conditions

Condition: connect-error ()

A general connection error condition.

Package

cl-rethinkdb

Source

connection.lisp (file)

Direct superclasses

simple-error (condition)

Direct methods

connect-error-msg (method)

Direct slots
Slot: msg
Initargs

:msg

Initform

(quote "")

Readers

connect-error-msg (generic function)


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

6.2.7 Classes

Class: connection-options ()

Holds per-connection options.

Package

cl-rethinkdb

Source

query.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
  • conn-kv (method)
  • conn-kv (method)
Direct slots
Slot: kv
Initargs

:kv

Readers

conn-kv (generic function)

Writers

(setf conn-kv) (generic function)

Class: reql-cmd ()

Describes a REQL command.

Package

cl-rethinkdb-reql

Source

commands.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
  • %to-json (method)
  • print-object (method)
  • make-load-form (method)
  • cmd-options (method)
  • cmd-options (method)
  • cmd-args (method)
  • cmd-args (method)
  • cmd-op (method)
  • cmd-op (method)
  • cmd-name (method)
  • cmd-name (method)
Direct slots
Slot: name
Initargs

:name

Initform

""

Readers

cmd-name (generic function)

Writers

(setf cmd-name) (generic function)

Slot: op
Initargs

:op

Initform

0

Readers

cmd-op (generic function)

Writers

(setf cmd-op) (generic function)

Slot: args
Initargs

:args

Readers

cmd-args (generic function)

Writers

(setf cmd-args) (generic function)

Slot: options
Initargs

:options

Initform

(cl-hash-util:hash)

Readers

cmd-options (generic function)

Writers

(setf cmd-options) (generic function)


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

6.2.8 Types

Type: alist ()
Package

cl-rethinkdb-reql

Source

types.lisp (file)


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

Appendix A Indexes


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

A.1 Concepts

Jump to:   C   F   L   M  
Index Entry  Section

C
cl-rethinkdb.asd: The cl-rethinkdb<dot>asd file
cl-rethinkdb/config.lisp: The cl-rethinkdb/config<dot>lisp file
cl-rethinkdb/connection.lisp: The cl-rethinkdb/connection<dot>lisp file
cl-rethinkdb/package.lisp: The cl-rethinkdb/package<dot>lisp file
cl-rethinkdb/protocol.lisp: The cl-rethinkdb/protocol<dot>lisp file
cl-rethinkdb/query.lisp: The cl-rethinkdb/query<dot>lisp file
cl-rethinkdb/reql: The cl-rethinkdb/reql module
cl-rethinkdb/reql/commands.lisp: The cl-rethinkdb/reql/commands<dot>lisp file
cl-rethinkdb/reql/dsl.lisp: The cl-rethinkdb/reql/dsl<dot>lisp file
cl-rethinkdb/reql/function.lisp: The cl-rethinkdb/reql/function<dot>lisp file
cl-rethinkdb/reql/pseudotypes.lisp: The cl-rethinkdb/reql/pseudotypes<dot>lisp file
cl-rethinkdb/reql/types.lisp: The cl-rethinkdb/reql/types<dot>lisp file
cl-rethinkdb/util.lisp: The cl-rethinkdb/util<dot>lisp file

F
File, Lisp, cl-rethinkdb.asd: The cl-rethinkdb<dot>asd file
File, Lisp, cl-rethinkdb/config.lisp: The cl-rethinkdb/config<dot>lisp file
File, Lisp, cl-rethinkdb/connection.lisp: The cl-rethinkdb/connection<dot>lisp file
File, Lisp, cl-rethinkdb/package.lisp: The cl-rethinkdb/package<dot>lisp file
File, Lisp, cl-rethinkdb/protocol.lisp: The cl-rethinkdb/protocol<dot>lisp file
File, Lisp, cl-rethinkdb/query.lisp: The cl-rethinkdb/query<dot>lisp file
File, Lisp, cl-rethinkdb/reql/commands.lisp: The cl-rethinkdb/reql/commands<dot>lisp file
File, Lisp, cl-rethinkdb/reql/dsl.lisp: The cl-rethinkdb/reql/dsl<dot>lisp file
File, Lisp, cl-rethinkdb/reql/function.lisp: The cl-rethinkdb/reql/function<dot>lisp file
File, Lisp, cl-rethinkdb/reql/pseudotypes.lisp: The cl-rethinkdb/reql/pseudotypes<dot>lisp file
File, Lisp, cl-rethinkdb/reql/types.lisp: The cl-rethinkdb/reql/types<dot>lisp file
File, Lisp, cl-rethinkdb/util.lisp: The cl-rethinkdb/util<dot>lisp file

L
Lisp File, cl-rethinkdb.asd: The cl-rethinkdb<dot>asd file
Lisp File, cl-rethinkdb/config.lisp: The cl-rethinkdb/config<dot>lisp file
Lisp File, cl-rethinkdb/connection.lisp: The cl-rethinkdb/connection<dot>lisp file
Lisp File, cl-rethinkdb/package.lisp: The cl-rethinkdb/package<dot>lisp file
Lisp File, cl-rethinkdb/protocol.lisp: The cl-rethinkdb/protocol<dot>lisp file
Lisp File, cl-rethinkdb/query.lisp: The cl-rethinkdb/query<dot>lisp file
Lisp File, cl-rethinkdb/reql/commands.lisp: The cl-rethinkdb/reql/commands<dot>lisp file
Lisp File, cl-rethinkdb/reql/dsl.lisp: The cl-rethinkdb/reql/dsl<dot>lisp file
Lisp File, cl-rethinkdb/reql/function.lisp: The cl-rethinkdb/reql/function<dot>lisp file
Lisp File, cl-rethinkdb/reql/pseudotypes.lisp: The cl-rethinkdb/reql/pseudotypes<dot>lisp file
Lisp File, cl-rethinkdb/reql/types.lisp: The cl-rethinkdb/reql/types<dot>lisp file
Lisp File, cl-rethinkdb/util.lisp: The cl-rethinkdb/util<dot>lisp file

M
Module, cl-rethinkdb/reql: The cl-rethinkdb/reql module

Jump to:   C   F   L   M  

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

A.2 Functions

Jump to:   !   %   &   (   *   +   -   /   <   =   >   ~  
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   Y   Z  
Index Entry  Section

!
!=: Internal functions

%
%: Internal functions

&
&&: Internal functions
&rest: Internal functions

(
(setf active-queries): Internal generic functions
(setf active-queries): Internal generic functions
(setf cmd-args): Internal generic functions
(setf cmd-args): Internal generic functions
(setf cmd-name): Internal generic functions
(setf cmd-name): Internal generic functions
(setf cmd-op): Internal generic functions
(setf cmd-op): Internal generic functions
(setf cmd-options): Internal generic functions
(setf cmd-options): Internal generic functions
(setf conn-kv): Internal generic functions
(setf conn-kv): Internal generic functions
(setf cursor-current-result): Internal generic functions
(setf cursor-current-result): Internal generic functions
(setf cursor-debug): Internal generic functions
(setf cursor-debug): Internal generic functions
(setf cursor-future): Internal generic functions
(setf cursor-future): Internal generic functions
(setf cursor-last-change): Internal generic functions
(setf cursor-last-change): Internal generic functions
(setf cursor-results): Internal generic functions
(setf cursor-results): Internal generic functions
(setf cursor-results): Internal generic functions
(setf cursor-state): Internal generic functions
(setf cursor-state): Internal generic functions
(setf cursor-state): Internal generic functions
(setf cursor-token): Internal generic functions
(setf cursor-token): Internal generic functions
(setf state-token): Internal generic functions
(setf state-token): Internal generic functions

*
*: Internal functions

+
+: Internal functions

-
-: Internal functions

/
/: Internal functions

<
<: Internal functions
<=: Internal functions

=
==: Internal functions

>
>: Internal functions
>=: Internal functions

~
~: Internal functions

A
active-queries: Internal generic functions
active-queries: Internal generic functions
alistp: Internal functions
append: Internal functions
april: Internal functions
args: Internal functions
asc: Internal functions
attr: Internal functions
august: Internal functions
avg: Internal functions

B
between: Internal functions
between-dep: Internal functions
binary: Internal functions
bracket: Internal functions
branch: Internal functions

C
call: Internal functions
change-at: Internal functions
changes: Internal functions
circle: Internal functions
cmd-arg: Internal functions
cmd-args: Internal generic functions
cmd-args: Internal generic functions
cmd-name: Internal generic functions
cmd-name: Internal generic functions
cmd-op: Internal generic functions
cmd-op: Internal generic functions
cmd-options: Internal generic functions
cmd-options: Internal generic functions
coerce-to: Internal functions
concat-map: Internal functions
config: Internal functions
conn-kv: Internal generic functions
conn-kv: Internal generic functions
connect: Exported functions
connect-error-msg: Internal generic functions
connect-error-msg: Internal generic functions
contains: Internal functions
convert-pseudotypes: Internal functions
convert-pseudotypes-recursive: Exported functions
count: Internal functions
cursor-current-result: Internal generic functions
cursor-current-result: Internal generic functions
cursor-debug: Internal generic functions
cursor-debug: Internal generic functions
cursor-error-cursor: Internal generic functions
cursor-error-cursor: Internal generic functions
cursor-error-token: Internal generic functions
cursor-error-token: Internal generic functions
cursor-future: Internal generic functions
cursor-future: Internal generic functions
cursor-last-change: Internal generic functions
cursor-last-change: Internal generic functions
cursor-results: Internal generic functions
cursor-results: Internal generic functions
cursor-state: Internal generic functions
cursor-state: Internal generic functions
cursor-token: Internal generic functions
cursor-token: Internal generic functions
cursorp: Exported functions

D
date: Internal functions
day: Internal functions
day-of-week: Internal functions
day-of-year: Internal functions
db: Internal functions
db-create: Internal functions
db-drop: Internal functions
db-list: Internal functions
december: Internal functions
default: Internal functions
defcommand: Internal macros
delete: Internal functions
delete-at: Internal functions
desc: Internal functions
difference: Internal functions
disconnect: Exported functions
distance: Internal functions
distinct: Internal functions
do: Internal functions
do-close: Internal functions
do-connect: Internal functions
do-hash/alist: Exported macros
do-list/vector: Exported macros
downcase: Internal functions
during: Internal functions

E
each: Exported functions
endian: Exported functions
epoch-time: Internal functions
eq-join: Internal functions
error: Internal functions
expr: Internal functions

F
february: Internal functions
fill: Internal functions
filter: Internal functions
finalize-connect: Internal functions
finalize-query: Internal functions
fn: Exported macros
for-each: Internal functions
friday: Internal functions
func: Internal functions
Function, : Internal functions
Function, !=: Internal functions
Function, %: Internal functions
Function, &&: Internal functions
Function, *: Internal functions
Function, +: Internal functions
Function, -: Internal functions
Function, /: Internal functions
Function, <: Internal functions
Function, <=: Internal functions
Function, ==: Internal functions
Function, >: Internal functions
Function, >=: Internal functions
Function, alistp: Internal functions
Function, append: Internal functions
Function, april: Internal functions
Function, args: Internal functions
Function, asc: Internal functions
Function, attr: Internal functions
Function, august: Internal functions
Function, avg: Internal functions
Function, between: Internal functions
Function, between-dep: Internal functions
Function, binary: Internal functions
Function, bracket: Internal functions
Function, branch: Internal functions
Function, call: Internal functions
Function, change-at: Internal functions
Function, changes: Internal functions
Function, circle: Internal functions
Function, cmd-arg: Internal functions
Function, coerce-to: Internal functions
Function, concat-map: Internal functions
Function, config: Internal functions
Function, connect: Exported functions
Function, contains: Internal functions
Function, convert-pseudotypes: Internal functions
Function, convert-pseudotypes-recursive: Exported functions
Function, count: Internal functions
Function, cursorp: Exported functions
Function, date: Internal functions
Function, day: Internal functions
Function, day-of-week: Internal functions
Function, day-of-year: Internal functions
Function, db: Internal functions
Function, db-create: Internal functions
Function, db-drop: Internal functions
Function, db-list: Internal functions
Function, december: Internal functions
Function, default: Internal functions
Function, delete: Internal functions
Function, delete-at: Internal functions
Function, desc: Internal functions
Function, difference: Internal functions
Function, disconnect: Exported functions
Function, distance: Internal functions
Function, distinct: Internal functions
Function, do: Internal functions
Function, do-close: Internal functions
Function, do-connect: Internal functions
Function, downcase: Internal functions
Function, during: Internal functions
Function, each: Exported functions
Function, endian: Exported functions
Function, epoch-time: Internal functions
Function, eq-join: Internal functions
Function, error: Internal functions
Function, expr: Internal functions
Function, february: Internal functions
Function, fill: Internal functions
Function, filter: Internal functions
Function, finalize-connect: Internal functions
Function, finalize-query: Internal functions
Function, for-each: Internal functions
Function, friday: Internal functions
Function, func: Internal functions
Function, generate-fn-var: Internal functions
Function, generate-token: Internal functions
Function, geojson: Internal functions
Function, get: Internal functions
Function, get-all: Internal functions
Function, get-cursor: Internal functions
Function, get-intersecting: Internal functions
Function, get-nearest: Internal functions
Function, group: Internal functions
Function, has-fields: Internal functions
Function, has-next: Exported functions
Function, hours: Internal functions
Function, http: Internal functions
Function, in-timezone: Internal functions
Function, includes: Internal functions
Function, index-create: Internal functions
Function, index-drop: Internal functions
Function, index-list: Internal functions
Function, index-rename: Internal functions
Function, index-status: Internal functions
Function, index-wait: Internal functions
Function, info: Internal functions
Function, inner-join: Internal functions
Function, insert: Internal functions
Function, insert-at: Internal functions
Function, intersects: Internal functions
Function, is-empty: Internal functions
Function, iso8601: Internal functions
Function, january: Internal functions
Function, javascript: Internal functions
Function, jprint: Exported functions
Function, json: Internal functions
Function, json-to-response: Internal functions
Function, july: Internal functions
Function, june: Internal functions
Function, keys: Internal functions
Function, limit: Internal functions
Function, line: Internal functions
Function, literal: Internal functions
Function, make-array: Internal functions
Function, make-obj: Internal functions
Function, make-response-handler: Internal functions
Function, map: Internal functions
Function, march: Internal functions
Function, match: Internal functions
Function, max: Internal functions
Function, maxval: Internal functions
Function, may: Internal functions
Function, merge: Internal functions
Function, min: Internal functions
Function, minutes: Internal functions
Function, minval: Internal functions
Function, monday: Internal functions
Function, month: Internal functions
Function, more: Internal functions
Function, next: Exported functions
Function, november: Internal functions
Function, now: Internal functions
Function, nth: Internal functions
Function, object: Internal functions
Function, october: Internal functions
Function, offsets-of: Internal functions
Function, order-by: Internal functions
Function, outer-join: Internal functions
Function, parse-response: Internal functions
Function, pluck: Internal functions
Function, point: Internal functions
Function, polygon: Internal functions
Function, polygon-sub: Internal functions
Function, prepend: Internal functions
Function, random: Internal functions
Function, range: Internal functions
Function, rebalance: Internal functions
Function, reconfigure: Internal functions
Function, reduce: Internal functions
Function, remove-cursor: Internal functions
Function, replace: Internal functions
Function, row: Internal functions
Function, run: Exported functions
Function, sample: Internal functions
Function, saturday: Internal functions
Function, save-cursor: Internal functions
Function, seconds: Internal functions
Function, september: Internal functions
Function, serialize-query: Internal functions
Function, set-callbacks: Internal functions
Function, set-difference: Internal functions
Function, set-insert: Internal functions
Function, set-intersection: Internal functions
Function, set-union: Internal functions
Function, skip: Internal functions
Function, slice: Internal functions
Function, sock-write: Internal functions
Function, splice-at: Internal functions
Function, split: Internal functions
Function, status: Internal functions
Function, stop: Exported functions
Function, stop/disconnect: Exported functions
Function, sum: Internal functions
Function, sunday: Internal functions
Function, sync: Internal functions
Function, table: Internal functions
Function, table-create: Internal functions
Function, table-drop: Internal functions
Function, table-list: Internal functions
Function, thursday: Internal functions
Function, time: Internal functions
Function, time-of-day: Internal functions
Function, timezone: Internal functions
Function, to-array: Exported functions
Function, to-epoch-time: Internal functions
Function, to-geojson: Internal functions
Function, to-iso8601: Internal functions
Function, to-json-string: Internal functions
Function, to-sequence: Exported functions
Function, tuesday: Internal functions
Function, type-of: Internal functions
Function, unendian: Exported functions
Function, ungroup: Internal functions
Function, union: Internal functions
Function, upcase: Internal functions
Function, update: Internal functions
Function, uuid: Internal functions
Function, var: Internal functions
Function, wait: Internal functions
Function, wait-complete: Exported functions
Function, wednesday: Internal functions
Function, with-fields: Internal functions
Function, without: Internal functions
Function, year: Internal functions
Function, zip: Internal functions
Function, ~: Internal functions

G
generate-fn-var: Internal functions
generate-token: Internal functions
Generic Function, (setf active-queries): Internal generic functions
Generic Function, (setf cmd-args): Internal generic functions
Generic Function, (setf cmd-name): Internal generic functions
Generic Function, (setf cmd-op): Internal generic functions
Generic Function, (setf cmd-options): Internal generic functions
Generic Function, (setf conn-kv): Internal generic functions
Generic Function, (setf cursor-current-result): Internal generic functions
Generic Function, (setf cursor-debug): Internal generic functions
Generic Function, (setf cursor-future): Internal generic functions
Generic Function, (setf cursor-last-change): Internal generic functions
Generic Function, (setf cursor-results): Internal generic functions
Generic Function, (setf cursor-state): Internal generic functions
Generic Function, (setf cursor-token): Internal generic functions
Generic Function, (setf state-token): Internal generic functions
Generic Function, active-queries: Internal generic functions
Generic Function, cmd-args: Internal generic functions
Generic Function, cmd-name: Internal generic functions
Generic Function, cmd-op: Internal generic functions
Generic Function, cmd-options: Internal generic functions
Generic Function, conn-kv: Internal generic functions
Generic Function, connect-error-msg: Internal generic functions
Generic Function, cursor-current-result: Internal generic functions
Generic Function, cursor-debug: Internal generic functions
Generic Function, cursor-error-cursor: Internal generic functions
Generic Function, cursor-error-token: Internal generic functions
Generic Function, cursor-future: Internal generic functions
Generic Function, cursor-last-change: Internal generic functions
Generic Function, cursor-results: Internal generic functions
Generic Function, cursor-state: Internal generic functions
Generic Function, cursor-token: Internal generic functions
Generic Function, query-error-backtrace: Internal generic functions
Generic Function, query-error-msg: Exported generic functions
Generic Function, query-error-query: Internal generic functions
Generic Function, query-error-token: Internal generic functions
Generic Function, reql-error-msg: Internal generic functions
Generic Function, state-token: Internal generic functions
geojson: Internal functions
get: Internal functions
get-all: Internal functions
get-cursor: Internal functions
get-intersecting: Internal functions
get-nearest: Internal functions
group: Internal functions

H
has-fields: Internal functions
has-next: Exported functions
hours: Internal functions
http: Internal functions

I
in-timezone: Internal functions
includes: Internal functions
index-create: Internal functions
index-drop: Internal functions
index-list: Internal functions
index-rename: Internal functions
index-status: Internal functions
index-wait: Internal functions
info: Internal functions
inner-join: Internal functions
insert: Internal functions
insert-at: Internal functions
intersects: Internal functions
is-empty: Internal functions
iso8601: Internal functions

J
january: Internal functions
javascript: Internal functions
jprint: Exported functions
json: Internal functions
json-to-response: Internal functions
july: Internal functions
june: Internal functions

K
keys: Internal functions

L
limit: Internal functions
line: Internal functions
literal: Internal functions

M
Macro, defcommand: Internal macros
Macro, do-hash/alist: Exported macros
Macro, do-list/vector: Exported macros
Macro, fn: Exported macros
Macro, r: Exported macros
Macro, socket-data: Internal macros
Macro, with-query: Internal macros
make-array: Internal functions
make-obj: Internal functions
make-response-handler: Internal functions
map: Internal functions
march: Internal functions
match: Internal functions
max: Internal functions
maxval: Internal functions
may: Internal functions
merge: Internal functions
Method, (setf active-queries): Internal generic functions
Method, (setf cmd-args): Internal generic functions
Method, (setf cmd-name): Internal generic functions
Method, (setf cmd-op): Internal generic functions
Method, (setf cmd-options): Internal generic functions
Method, (setf conn-kv): Internal generic functions
Method, (setf cursor-current-result): Internal generic functions
Method, (setf cursor-debug): Internal generic functions
Method, (setf cursor-future): Internal generic functions
Method, (setf cursor-last-change): Internal generic functions
Method, (setf cursor-results): Internal generic functions
Method, (setf cursor-results): Internal generic functions
Method, (setf cursor-state): Internal generic functions
Method, (setf cursor-state): Internal generic functions
Method, (setf cursor-token): Internal generic functions
Method, (setf state-token): Internal generic functions
Method, active-queries: Internal generic functions
Method, cmd-args: Internal generic functions
Method, cmd-name: Internal generic functions
Method, cmd-op: Internal generic functions
Method, cmd-options: Internal generic functions
Method, conn-kv: Internal generic functions
Method, connect-error-msg: Internal generic functions
Method, cursor-current-result: Internal generic functions
Method, cursor-debug: Internal generic functions
Method, cursor-error-cursor: Internal generic functions
Method, cursor-error-token: Internal generic functions
Method, cursor-future: Internal generic functions
Method, cursor-last-change: Internal generic functions
Method, cursor-results: Internal generic functions
Method, cursor-state: Internal generic functions
Method, cursor-token: Internal generic functions
Method, query-error-backtrace: Internal generic functions
Method, query-error-msg: Exported generic functions
Method, query-error-query: Internal generic functions
Method, query-error-token: Internal generic functions
Method, reql-error-msg: Internal generic functions
Method, state-token: Internal generic functions
min: Internal functions
minutes: Internal functions
minval: Internal functions
monday: Internal functions
month: Internal functions
more: Internal functions

N
next: Exported functions
november: Internal functions
now: Internal functions
nth: Internal functions

O
object: Internal functions
october: Internal functions
offsets-of: Internal functions
order-by: Internal functions
outer-join: Internal functions

P
parse-response: Internal functions
pluck: Internal functions
point: Internal functions
polygon: Internal functions
polygon-sub: Internal functions
prepend: Internal functions

Q
query-error-backtrace: Internal generic functions
query-error-backtrace: Internal generic functions
query-error-msg: Exported generic functions
query-error-msg: Exported generic functions
query-error-query: Internal generic functions
query-error-query: Internal generic functions
query-error-token: Internal generic functions
query-error-token: Internal generic functions

R
r: Exported macros
random: Internal functions
range: Internal functions
rebalance: Internal functions
reconfigure: Internal functions
reduce: Internal functions
remove-cursor: Internal functions
replace: Internal functions
reql-error-msg: Internal generic functions
reql-error-msg: Internal generic functions
row: Internal functions
run: Exported functions

S
sample: Internal functions
saturday: Internal functions
save-cursor: Internal functions
seconds: Internal functions
september: Internal functions
serialize-query: Internal functions
set-callbacks: Internal functions
set-difference: Internal functions
set-insert: Internal functions
set-intersection: Internal functions
set-union: Internal functions
skip: Internal functions
slice: Internal functions
sock-write: Internal functions
socket-data: Internal macros
splice-at: Internal functions
split: Internal functions
state-token: Internal generic functions
state-token: Internal generic functions
status: Internal functions
stop: Exported functions
stop/disconnect: Exported functions
sum: Internal functions
sunday: Internal functions
sync: Internal functions

T
table: Internal functions
table-create: Internal functions
table-drop: Internal functions
table-list: Internal functions
thursday: Internal functions
time: Internal functions
time-of-day: Internal functions
timezone: Internal functions
to-array: Exported functions
to-epoch-time: Internal functions
to-geojson: Internal functions
to-iso8601: Internal functions
to-json-string: Internal functions
to-sequence: Exported functions
tuesday: Internal functions
type-of: Internal functions

U
unendian: Exported functions
ungroup: Internal functions
union: Internal functions
upcase: Internal functions
update: Internal functions
uuid: Internal functions

V
var: Internal functions

W
wait: Internal functions
wait-complete: Exported functions
wednesday: Internal functions
with-fields: Internal functions
with-query: Internal macros
without: Internal functions

Y
year: Internal functions

Z
zip: Internal functions

Jump to:   !   %   &   (   *   +   -   /   <   =   >   ~  
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   Y   Z  

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

A.3 Variables

Jump to:   *   +  
A   B   C   D   F   K   L   M   N   O   Q   R   S   T  
Index Entry  Section

*
*commands*: Internal special variables
*empty*: Internal special variables
*object-type*: Exported special variables
*sequence-type*: Exported special variables
*state*: Exported special variables
*varnum*: Internal special variables

+
+datum-type-array+: Internal constants
+datum-type-bool+: Internal constants
+datum-type-json+: Internal constants
+datum-type-null+: Internal constants
+datum-type-num+: Internal constants
+datum-type-object+: Internal constants
+datum-type-str+: Internal constants
+proto-json+: Internal constants
+proto-query-continue+: Internal constants
+proto-query-start+: Internal constants
+proto-query-stop+: Internal constants
+proto-query-wait+: Internal constants
+proto-version+: Internal constants
+rdb-response-atom+: Internal constants
+rdb-response-client-error+: Internal constants
+rdb-response-compile-error+: Internal constants
+rdb-response-feed+: Internal constants
+rdb-response-partial+: Internal constants
+rdb-response-runtime-error+: Internal constants
+rdb-response-sequence+: Internal constants
+rdb-response-wait-complete+: Internal constants

A
active-queries: Exported classes
args: Internal classes

B
backtrace: Exported conditions

C
Constant, +datum-type-array+: Internal constants
Constant, +datum-type-bool+: Internal constants
Constant, +datum-type-json+: Internal constants
Constant, +datum-type-null+: Internal constants
Constant, +datum-type-num+: Internal constants
Constant, +datum-type-object+: Internal constants
Constant, +datum-type-str+: Internal constants
Constant, +proto-json+: Internal constants
Constant, +proto-query-continue+: Internal constants
Constant, +proto-query-start+: Internal constants
Constant, +proto-query-stop+: Internal constants
Constant, +proto-query-wait+: Internal constants
Constant, +proto-version+: Internal constants
Constant, +rdb-response-atom+: Internal constants
Constant, +rdb-response-client-error+: Internal constants
Constant, +rdb-response-compile-error+: Internal constants
Constant, +rdb-response-feed+: Internal constants
Constant, +rdb-response-partial+: Internal constants
Constant, +rdb-response-runtime-error+: Internal constants
Constant, +rdb-response-sequence+: Internal constants
Constant, +rdb-response-wait-complete+: Internal constants
current-result: Exported classes
cursor: Exported conditions

D
debug: Exported classes

F
future: Exported classes

K
kv: Internal classes

L
last-change: Exported classes

M
msg: Exported conditions
msg: Exported conditions
msg: Internal conditions

N
name: Internal classes

O
op: Internal classes
options: Internal classes

Q
query: Exported conditions

R
results: Exported classes

S
Slot, active-queries: Exported classes
Slot, args: Internal classes
Slot, backtrace: Exported conditions
Slot, current-result: Exported classes
Slot, cursor: Exported conditions
Slot, debug: Exported classes
Slot, future: Exported classes
Slot, kv: Internal classes
Slot, last-change: Exported classes
Slot, msg: Exported conditions
Slot, msg: Exported conditions
Slot, msg: Internal conditions
Slot, name: Internal classes
Slot, op: Internal classes
Slot, options: Internal classes
Slot, query: Exported conditions
Slot, results: Exported classes
Slot, state: Exported classes
Slot, token: Exported conditions
Slot, token: Exported conditions
Slot, token: Exported classes
Slot, token: Exported classes
Special Variable, *commands*: Internal special variables
Special Variable, *empty*: Internal special variables
Special Variable, *object-type*: Exported special variables
Special Variable, *sequence-type*: Exported special variables
Special Variable, *state*: Exported special variables
Special Variable, *varnum*: Internal special variables
state: Exported classes

T
token: Exported conditions
token: Exported conditions
token: Exported classes
token: Exported classes

Jump to:   *   +  
A   B   C   D   F   K   L   M   N   O   Q   R   S   T  

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

A.4 Data types

Jump to:   A   C   P   Q   R   S   T  
Index Entry  Section

A
alist: Internal types

C
cl-rethinkdb: The cl-rethinkdb system
cl-rethinkdb: The cl-rethinkdb package
cl-rethinkdb-reql: The cl-rethinkdb-reql package
cl-rethinkdb-util: The cl-rethinkdb-util package
Class, connection-options: Internal classes
Class, cursor: Exported classes
Class, reql-cmd: Internal classes
Class, state: Exported classes
Condition, connect-error: Internal conditions
Condition, cursor-error: Exported conditions
Condition, cursor-no-more-results: Exported conditions
Condition, cursor-overshot: Exported conditions
Condition, cursor-stopped: Exported conditions
Condition, query-client-error: Exported conditions
Condition, query-compile-error: Exported conditions
Condition, query-error: Exported conditions
Condition, query-runtime-error: Exported conditions
Condition, reql-error: Exported conditions
connect-error: Internal conditions
connection-options: Internal classes
cursor: Exported classes
cursor-error: Exported conditions
cursor-no-more-results: Exported conditions
cursor-overshot: Exported conditions
cursor-stopped: Exported conditions

P
Package, cl-rethinkdb: The cl-rethinkdb package
Package, cl-rethinkdb-reql: The cl-rethinkdb-reql package
Package, cl-rethinkdb-util: The cl-rethinkdb-util package

Q
query-client-error: Exported conditions
query-compile-error: Exported conditions
query-error: Exported conditions
query-runtime-error: Exported conditions

R
reql-cmd: Internal classes
reql-error: Exported conditions

S
state: Exported classes
System, cl-rethinkdb: The cl-rethinkdb system

T
Type, alist: Internal types

Jump to:   A   C   P   Q   R   S   T