Liking cljdoc? Tell your friends :D

clojurewerkz.neocons.rest.nodes


add-to-indexclj

(add-to-index connection node idx key value)
(add-to-index connection node idx key value unique?)

Adds the given node to the index

Adds the given node to the index
sourceraw docstring

all-connected-outclj

(all-connected-out connection id & {:keys [types]})

Returns all nodes given node has outgoing (outbound) relationships with

Returns all nodes given node has outgoing (outbound) relationships with
sourceraw docstring

all-indexesclj

(all-indexes connection)

Returns all node indices

Returns all node indices
sourceraw docstring

connected-out?clj

(connected-out? connection id other-id & {:keys [types]})

Returns true if given node has outgoing (outbound) relationships with the other node

Returns true if given node has outgoing (outbound) relationships with the other node
sourceraw docstring

createclj

(create connection)
(create connection data)
(create connection data indexes)

Creates and returns a node with given properties. 0-arity creates a node without properties.

Creates and returns a node with given properties. 0-arity creates a node without properties.
sourceraw docstring

create-batchclj

(create-batch connection xs)

Does an efficient batch insert of multiple nodes. Use it if you need to insert tens of hundreds of thousands of nodes.

This function returns a lazy sequence of results, so you may need to force it using clojure.core/doall

Does an efficient batch insert of multiple nodes. Use it if you need to insert tens of hundreds of thousands
of nodes.

This function returns a lazy sequence of results, so you may need to force it using clojure.core/doall
sourceraw docstring

create-indexclj

(create-index connection s)
(create-index connection s configuration)

Creates a new node index. Indexes are used for fast lookups by a property or full text search query.

Creates a new node index. Indexes are used for fast lookups by a property or full text search query.
sourceraw docstring

create-unique-in-indexclj

(create-unique-in-index connection idx k v data)

Atomically creates and returns a node with the given properties and adds it to an index while ensuring key uniqueness in that index. This is the same as first creating a node using the clojurewerkz.neocons.rest.nodes/create function and indexing it with the 4-arity of clojurewerkz.neocons.rest.nodes/add-to-index but performed atomically and requires only a single request.

For more information, see http://docs.neo4j.org/chunked/milestone/rest-api-unique-indexes.html section (19.8.1)

Atomically creates and returns a node with the given properties and adds it to an index while ensuring key uniqueness
in that index. This is the same as first creating a node using the `clojurewerkz.neocons.rest.nodes/create` function
and indexing it with the 4-arity of `clojurewerkz.neocons.rest.nodes/add-to-index` but performed atomically and requires
only a single request.

For more information, see http://docs.neo4j.org/chunked/milestone/rest-api-unique-indexes.html section (19.8.1)
sourceraw docstring

deletecljmultimethod

Deletes a node. The node must have no relationships

Deletes a node. The node must have no relationships
sourceraw docstring

delete-from-indexclj

(delete-from-index connection node idx)
(delete-from-index connection node idx key)
(delete-from-index connection node idx key value)

Deletes the given node from index

Deletes the given node from index
sourceraw docstring

delete-indexclj

(delete-index connection s)

Deletes a node index

Deletes a node index
sourceraw docstring

delete-manyclj

(delete-many connection xs)

Deletes multiple nodes

Deletes multiple nodes
sourceraw docstring

delete-propertiesclj

(delete-properties connection id)
source

destroycljmultimethod

Deletes a node and all of its relationships

Deletes a node and all of its relationships
sourceraw docstring

destroy-manyclj

(destroy-many connection xs)

Destroys multiple nodes and all of their relationships

Destroys multiple nodes and all of their relationships
sourceraw docstring

fetch-fromclj

(fetch-from connection uri)

Fetches a node from given URI. Exactly like clojurewerkz.neocons.rest.nodes/get but takes a URI instead of an id.

Fetches a node from given URI. Exactly like clojurewerkz.neocons.rest.nodes/get but takes a URI instead of an id.
sourceraw docstring

findclj

(find connection key value)
(find connection idx key value)

Finds nodes using the index

Finds nodes using the index
sourceraw docstring

find-oneclj

(find-one connection idx key value)

Finds a single node using the index

Finds a single node using the index
sourceraw docstring

getclj

(get connection id)

Fetches a node by id

Fetches a node by id
sourceraw docstring

get-manyclj

(get-many connection coll)

Fetches multiple nodes by id.

This is a non-standard operation that requires Cypher support as well as support for that very feature by Cypher itself (Neo4j Server versions 1.6.3 and later).

Fetches multiple nodes by id.

This is a non-standard operation that requires Cypher support as well as support for that very feature
by Cypher itself (Neo4j Server versions 1.6.3 and later).
sourceraw docstring

get-propertiesclj

(get-properties connection id)
source

multi-getcljdeprecated

(multi-get connection coll)

Fetches multiple nodes by id. Deprecated, please use get-many instead.

Fetches multiple nodes by id. Deprecated, please use get-many instead.
sourceraw docstring

queryclj

(query connection query)
(query connection idx query)

Finds nodes using full text search query

Finds nodes using full text search query
sourceraw docstring

set-propertycljmultimethod

Sets a single property on the given node

Sets a single property on the given node
sourceraw docstring

traverseclj

(traverse connection
          id
          &
          {:keys [order relationships uniqueness prune-evaluator return-filter
                  max-depth]
           :or {order "breadth_first"
                uniqueness "node_global"
                prune-evaluator {:language "builtin" :name "none"}
                return-filter {:language "builtin" :name "all"}}})

Performs node traversal

Performs node traversal
sourceraw docstring

updatecljmultimethod

Updated a node's data (properties)

Updated a node's data (properties)
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close