Common Lisp Package: CL-NEO4J

README:

FUNCTION

Public

Undocumented

ADD-TO-INDEX (&KEY (TYPE NODE) NAME KEY VALUE OBJECT-ID)

CREATE-INDEX (&KEY (TYPE NODE) NAME CONFIG)

CREATE-NODE (&KEY PROPERTIES)

CREATE-RELATIONSHIP (&KEY NODE-ID TO-NODE-ID RELATIONSHIP-TYPE PROPERTIES)

DEL-NODE-PROPERTIES (&KEY NODE-ID)

DEL-NODE-PROPERTY (&KEY NODE-ID PROPERTY)

DEL-RELATIONSHIP-PROPERTIES (&KEY RELATIONSHIP-ID)

DEL-RELATIONSHIP-PROPERTY (&KEY RELATIONSHIP-ID PROPERTY)

DELETE-INDEX (&KEY (TYPE NODE) NAME)

DELETE-NODE (&KEY NODE-ID)

DELETE-RELATIONSHIP (&KEY RELATIONSHIP-ID)

GET-NODE (&KEY NODE-ID)

GET-NODE-PROPERTIES (&KEY NODE-ID)

GET-NODE-PROPERTY (&KEY NODE-ID PROPERTY)

GET-NODE-RELATIONSHIPS (&KEY NODE-ID DIRECTION TYPES)

GET-PATH (&KEY NODE-ID TO-NODE-ID RELATIONSHIPS (MAX-DEPTH 3) (ALGORITHM SHORTEST-PATH))

GET-PATHS (&KEY NODE-ID TO-NODE-ID RELATIONSHIPS (MAX-DEPTH 3) (ALGORITHM SHORTEST-PATH))

GET-RELATIONSHIP (&KEY RELATIONSHIP-ID)

GET-RELATIONSHIP-PROPERTIES (&KEY RELATIONSHIP-ID)

GET-RELATIONSHIP-PROPERTY (&KEY RELATIONSHIP-ID PROPERTY)

GET-RELATIONSHIPS-TYPES (&KEY)

LOOKUP-INDEX (&KEY (TYPE NODE) NAME KEY VALUE)

QUERY-INDEX (&KEY (TYPE NODE) NAME QUERY)

REMOVE-FROM-INDEX (&KEY (TYPE NODE) NAME KEY VALUE OBJECT-ID)

SET-NODE-PROPERTIES (&KEY NODE-ID PROPERTIES)

SET-NODE-PROPERTY (&KEY NODE-ID PROPERTY VALUE)

SET-RELATIONSHIP-PROPERTIES (&KEY RELATIONSHIP-ID PROPERTIES)

SET-RELATIONSHIP-PROPERTY (&KEY RELATIONSHIP-ID PROPERTY VALUE)

TRAVERSE (&KEY NODE-ID (RETURN-TYPE NODE) (MAX-DEPTH 1) (ORDER DEPTH-FIRST) UNIQUENESS RELATIONSHIPS PRUNE-EVALUATOR RETURN-FILTER)

Private

REQUEST-METHOD (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

REQUEST-PAYLOAD (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

REQUEST-URI (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

Undocumented

%MAKE-NEO4J-REQUEST (&KEY ((METHOD DUM91) NIL) ((URI DUM92) NIL) ((PAYLOAD DUM93) NIL))

BASIC-HANDLER (&KEY (HOST *NEO4J-HOST*) (PORT *NEO4J-PORT*))

COPY-NEO4J-REQUEST (INSTANCE)

DECODE-NEO4J-JSON-OUTPUT (JSON)

FORMAT-NEO4J-QUERY (HOST PORT RESOURCE &KEY (DB-POSTFIX db/data/))

LIST-INDEXES (&KEY (TYPE NODE))

MAKE-NEO4J-REQUEST (METHOD URI PAYLOAD ERROR-HANDLERS &KEY (REQUEST-HANDLER *DEFAULT-REQUEST-HANDLER*))

NEO4J-REQUEST-P (OBJECT)

SETFREQUEST-METHOD (NEW-VALUE INSTANCE)

SETFREQUEST-PAYLOAD (NEW-VALUE INSTANCE)

SETFREQUEST-URI (NEW-VALUE INSTANCE)

URLENCODE (STRING)

MACRO

Private

Undocumented

DEF-NEO4J-FUN (NAME LAMBDA-LIST METHOD &REST ARGS)

WITH-NEO4J-DATABASE ((HOST PORT) &REST BODY)

WITH-REQUEST-HANDLER (HANDLER &BODY BODY)

GENERIC-FUNCTION

Private

CLOSE-HANDLER (HANDLER)

Closes the handler. Handler should do finalization operarions - batch handler sends the request at this point.

HANDLE-REQUEST (HANDLER REQUEST ERROR-HANDLERS)

Main interface for the handlers, make-neo4j-request uses it.

SEND-REQUEST (HANDLER REQUEST)

Governs how handler sends the request.

Undocumented

ENCODE-NEO4J-JSON-PAYLOAD (OBJECT ENCODE-TYPE &KEY (HOST *NEO4J-HOST*) (PORT *NEO4J-PORT*))

JSON (CONDITION)

SETFJSON (NEW-VALUE CONDITION)

PROPERTY (CONDITION)

SETFPROPERTY (NEW-VALUE CONDITION)

STATUS (CONDITION)

SETFSTATUS (NEW-VALUE CONDITION)

URI (CONDITION)

SETFURI (NEW-VALUE CONDITION)

SLOT-ACCESSOR

Private

Undocumented

HANDLER-HOST (OBJECT)

SETFHANDLER-HOST (NEW-VALUE OBJECT)

HANDLER-PORT (OBJECT)

SETFHANDLER-PORT (NEW-VALUE OBJECT)

VARIABLE

Public

Undocumented

*NEO4J-HOST*

*NEO4J-PORT*

Private

Undocumented

*DEFAULT-REQUEST-HANDLER*

CLASS

Private

BASIC-HANDLER (&KEY (HOST *NEO4J-HOST*) (PORT *NEO4J-PORT*))

Basic handler that just sends request to the database.

Undocumented

NEO4J-REQUEST

CONDITION

Public

Undocumented

INDEX-ENTRY-NOT-FOUND-ERROR

INDEX-NOT-FOUND-ERROR

INVALID-DATA-SENT-ERROR

NODE-NOT-FOUND-ERROR

PATH-NOT-FOUND-ERROR

PROPERTY-NOT-FOUND-ERROR

RELATIONSHIP-NOT-FOUND-ERROR

UNABLE-TO-DELETE-NODE-ERROR

UNKNOWN-RETURN-TYPE-ERROR