Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
180 changes: 133 additions & 47 deletions src/main/java/com/arangodb/ArangoCollection.java

Large diffs are not rendered by default.

24 changes: 8 additions & 16 deletions src/main/java/com/arangodb/ArangoDatabase.java
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,7 @@ public interface ArangoDatabase extends ArangoSerdeAccessor {
* @param query An AQL query string
* @param bindVars key/value pairs defining the variables to bind the query to
* @param options Additional options that will be passed to the query API, can be null
* @param type The type of the result (POJO, {@link com.arangodb.util.RawJson} or
* {@link com.arangodb.util.RawBytes})
* @param type The type of the result (POJO or {@link com.arangodb.util.RawData})
* @return cursor of the results
* @see
* <a href="https://www.arangodb.com/docs/stable/http/aql-query-cursor-accessing-cursors.html#create-cursor">API
Expand All @@ -260,8 +259,7 @@ public interface ArangoDatabase extends ArangoSerdeAccessor {
*
* @param query An AQL query string
* @param options Additional options that will be passed to the query API, can be null
* @param type The type of the result (POJO, {@link com.arangodb.util.RawJson} or
* {@link com.arangodb.util.RawBytes})
* @param type The type of the result (POJO or {@link com.arangodb.util.RawData})
* @return cursor of the results
* @see
* <a href="https://www.arangodb.com/docs/stable/http/aql-query-cursor-accessing-cursors.html#create-cursor">API
Expand All @@ -275,8 +273,7 @@ public interface ArangoDatabase extends ArangoSerdeAccessor {
*
* @param query An AQL query string
* @param bindVars key/value pairs defining the variables to bind the query to
* @param type The type of the result (POJO, {@link com.arangodb.util.RawJson} or
* {@link com.arangodb.util.RawBytes})
* @param type The type of the result (POJO or {@link com.arangodb.util.RawData})
* @return cursor of the results
* @see
* <a href="https://www.arangodb.com/docs/stable/http/aql-query-cursor-accessing-cursors.html#create-cursor">API
Expand All @@ -289,8 +286,7 @@ public interface ArangoDatabase extends ArangoSerdeAccessor {
* result list.
*
* @param query An AQL query string
* @param type The type of the result (POJO, {@link com.arangodb.util.RawJson} or
* {@link com.arangodb.util.RawBytes})
* @param type The type of the result (POJO or {@link com.arangodb.util.RawData})
* @return cursor of the results
* @see
* <a href="https://www.arangodb.com/docs/stable/http/aql-query-cursor-accessing-cursors.html#create-cursor">API
Expand All @@ -302,8 +298,7 @@ public interface ArangoDatabase extends ArangoSerdeAccessor {
* Return an cursor from the given cursor-ID if still existing
*
* @param cursorId The ID of the cursor
* @param type The type of the result (POJO, {@link com.arangodb.util.RawJson} or
* {@link com.arangodb.util.RawBytes})
* @param type The type of the result (POJO or {@link com.arangodb.util.RawData})
* @return cursor of the results
* @see <a href=
* "https://www.arangodb.com/docs/stable/http/aql-query-cursor-accessing-cursors
Expand Down Expand Up @@ -508,8 +503,7 @@ public interface ArangoDatabase extends ArangoSerdeAccessor {
* Performs a server-side transaction and returns its return value.
*
* @param action A String evaluating to a JavaScript function to be executed on the server.
* @param type The type of the result (POJO, {@link com.arangodb.util.RawJson} or
* {@link com.arangodb.util.RawBytes})
* @param type The type of the result (POJO or {@link com.arangodb.util.RawData})
* @param options Additional options, can be null
* @return the result of the transaction if it succeeded
* @see <a href="https://www.arangodb.com/docs/stable/http/transaction-js-transaction.html#execute-transaction">API
Expand Down Expand Up @@ -586,8 +580,7 @@ public interface ArangoDatabase extends ArangoSerdeAccessor {
* Reads a single document
*
* @param id The id of the document
* @param type The type of the document (POJO, {@link com.arangodb.util.RawJson} or
* {@link com.arangodb.util.RawBytes})
* @param type The type of the document (POJO or {@link com.arangodb.util.RawData})
* @return the document identified by the id
* @see <a href="https://www.arangodb.com/docs/stable/http/document-working-with-documents.html#read-document">API
* Documentation</a>
Expand All @@ -598,8 +591,7 @@ public interface ArangoDatabase extends ArangoSerdeAccessor {
* Reads a single document
*
* @param id The id of the document
* @param type The type of the document (POJO, {@link com.arangodb.util.RawJson} or
* {@link com.arangodb.util.RawBytes})
* @param type The type of the document (POJO or {@link com.arangodb.util.RawData})
* @param options Additional options, can be null
* @return the document identified by the id
* @see <a href="https://www.arangodb.com/docs/stable/http/document-working-with-documents.html#read-document">API
Expand Down
24 changes: 8 additions & 16 deletions src/main/java/com/arangodb/ArangoEdgeCollection.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ public interface ArangoEdgeCollection extends ArangoSerdeAccessor {
/**
* Creates a new edge in the collection
*
* @param value A representation of a single edge (POJO, {@link com.arangodb.util.RawJson} or
* {@link com.arangodb.util.RawBytes})
* @param value A representation of a single edge (POJO or {@link com.arangodb.util.RawData})
* @return information about the edge
* @see <a href="https://www.arangodb.com/docs/stable/http/gharial-edges.html#create-an-edge">API Documentation</a>
*/
Expand All @@ -59,8 +58,7 @@ public interface ArangoEdgeCollection extends ArangoSerdeAccessor {
/**
* Creates a new edge in the collection
*
* @param value A representation of a single edge (POJO, {@link com.arangodb.util.RawJson} or
* {@link com.arangodb.util.RawBytes})
* @param value A representation of a single edge (POJO or {@link com.arangodb.util.RawData})
* @param options Additional options, can be null
* @return information about the edge
* @see <a href="https://www.arangodb.com/docs/stable/http/gharial-edges.html#create-an-edge">API Documentation</a>
Expand All @@ -71,8 +69,7 @@ public interface ArangoEdgeCollection extends ArangoSerdeAccessor {
* Fetches an existing edge
*
* @param key The key of the edge
* @param type The type of the edge-document (POJO, {@link com.arangodb.util.RawJson} or
* {@link com.arangodb.util.RawBytes})
* @param type The type of the edge-document (POJO or {@link com.arangodb.util.RawData})
* @return the edge identified by the key
* @see <a href="https://www.arangodb.com/docs/stable/http/gharial-edges.html#get-an-edge">API Documentation</a>
*/
Expand All @@ -82,8 +79,7 @@ public interface ArangoEdgeCollection extends ArangoSerdeAccessor {
* Fetches an existing edge
*
* @param key The key of the edge
* @param type The type of the edge-document (POJO, {@link com.arangodb.util.RawJson} or
* {@link com.arangodb.util.RawBytes})
* @param type The type of the edge-document (POJO or {@link com.arangodb.util.RawData})
* @param options Additional options, can be null
* @return the edge identified by the key
* @see <a href="https://www.arangodb.com/docs/stable/http/gharial-edges.html#get-an-edge">API Documentation</a>
Expand All @@ -95,8 +91,7 @@ public interface ArangoEdgeCollection extends ArangoSerdeAccessor {
* violated
*
* @param key The key of the edge
* @param value A representation of a single edge (POJO, {@link com.arangodb.util.RawJson} or
* {@link com.arangodb.util.RawBytes})
* @param value A representation of a single edge (POJO or {@link com.arangodb.util.RawData})
* @return information about the edge
* @see <a href="https://www.arangodb.com/docs/stable/http/gharial-edges.html#replace-an-edge">API Documentation</a>
*/
Expand All @@ -107,8 +102,7 @@ public interface ArangoEdgeCollection extends ArangoSerdeAccessor {
* violated
*
* @param key The key of the edge
* @param value A representation of a single edge (POJO, {@link com.arangodb.util.RawJson} or
* {@link com.arangodb.util.RawBytes})
* @param value A representation of a single edge (POJO or {@link com.arangodb.util.RawData})
* @param options Additional options, can be null
* @return information about the edge
* @see <a href="https://www.arangodb.com/docs/stable/http/gharial-edges.html#replace-an-edge">API Documentation</a>
Expand All @@ -121,8 +115,7 @@ public interface ArangoEdgeCollection extends ArangoSerdeAccessor {
* do not yet exist, and overwritten in the existing document if they do exist there.
*
* @param key The key of the edge
* @param value A representation of a single edge (POJO, {@link com.arangodb.util.RawJson} or
* {@link com.arangodb.util.RawBytes})
* @param value A representation of a single edge (POJO or {@link com.arangodb.util.RawData})
* @return information about the edge
* @see <a href="https://www.arangodb.com/docs/stable/http/gharial-edges.html#modify-an-edge">API Documentation</a>
*/
Expand All @@ -134,8 +127,7 @@ public interface ArangoEdgeCollection extends ArangoSerdeAccessor {
* do not yet exist, and overwritten in the existing document if they do exist there.
*
* @param key The key of the edge
* @param value A representation of a single edge (POJO, {@link com.arangodb.util.RawJson} or
* {@link com.arangodb.util.RawBytes})
* @param value A representation of a single edge (POJO or {@link com.arangodb.util.RawData})
* @param options Additional options, can be null
* @return information about the edge
* @see <a href="https://www.arangodb.com/docs/stable/http/gharial-edges.html#modify-an-edge">API Documentation</a>
Expand Down
24 changes: 8 additions & 16 deletions src/main/java/com/arangodb/ArangoVertexCollection.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ public interface ArangoVertexCollection extends ArangoSerdeAccessor {
/**
* Creates a new vertex in the collection
*
* @param value A representation of a single vertex (POJO, {@link com.arangodb.util.RawJson} or
* {@link com.arangodb.util.RawBytes})
* @param value A representation of a single vertex (POJO or {@link com.arangodb.util.RawData})
* @return information about the vertex
* @see
* <a href="https://www.arangodb.com/docs/stable/http/gharial-vertices.html#create-a-vertex">API Documentation</a>
Expand All @@ -69,8 +68,7 @@ public interface ArangoVertexCollection extends ArangoSerdeAccessor {
/**
* Creates a new vertex in the collection
*
* @param value A representation of a single vertex (POJO, {@link com.arangodb.util.RawJson} or
* {@link com.arangodb.util.RawBytes})
* @param value A representation of a single vertex (POJO or {@link com.arangodb.util.RawData})
* @param options Additional options, can be null
* @return information about the vertex
* @see
Expand All @@ -82,8 +80,7 @@ public interface ArangoVertexCollection extends ArangoSerdeAccessor {
* Retrieves the vertex document with the given {@code key} from the collection.
*
* @param key The key of the vertex
* @param type The type of the vertex-document (POJO, {@link com.arangodb.util.RawJson} or
* {@link com.arangodb.util.RawBytes})
* @param type The type of the vertex-document (POJO or {@link com.arangodb.util.RawData})
* @return the vertex identified by the key
* @see <a href="https://www.arangodb.com/docs/stable/http/gharial-vertices.html#get-a-vertex">API Documentation</a>
*/
Expand All @@ -93,8 +90,7 @@ public interface ArangoVertexCollection extends ArangoSerdeAccessor {
* Retrieves the vertex document with the given {@code key} from the collection.
*
* @param key The key of the vertex
* @param type The type of the vertex-document (POJO, {@link com.arangodb.util.RawJson} or
* {@link com.arangodb.util.RawBytes})
* @param type The type of the vertex-document (POJO or {@link com.arangodb.util.RawData})
* @param options Additional options, can be null
* @return the vertex identified by the key
* @see <a href="https://www.arangodb.com/docs/stable/http/gharial-vertices.html#get-a-vertex">API Documentation</a>
Expand All @@ -106,8 +102,7 @@ public interface ArangoVertexCollection extends ArangoSerdeAccessor {
* violated
*
* @param key The key of the vertex
* @param value A representation of a single vertex (POJO, {@link com.arangodb.util.RawJson} or
* {@link com.arangodb.util.RawBytes})
* @param value A representation of a single vertex (POJO or {@link com.arangodb.util.RawData})
* @return information about the vertex
* @see <a href="https://www.arangodb.com/docs/stable/http/gharial-vertices.html#replace-a-vertex">API
* Documentation</a>
Expand All @@ -119,8 +114,7 @@ public interface ArangoVertexCollection extends ArangoSerdeAccessor {
* violated
*
* @param key The key of the vertex
* @param value A representation of a single vertex (POJO, {@link com.arangodb.util.RawJson} or
* {@link com.arangodb.util.RawBytes})
* @param value A representation of a single vertex (POJO or {@link com.arangodb.util.RawData})
* @param options Additional options, can be null
* @return information about the vertex
* @see <a href="https://www.arangodb.com/docs/stable/http/gharial-vertices.html#replace-a-vertex">API
Expand All @@ -134,8 +128,7 @@ public interface ArangoVertexCollection extends ArangoSerdeAccessor {
* do not yet exist, and overwritten in the existing document if they do exist there.
*
* @param key The key of the vertex
* @param value A representation of a single vertex (POJO, {@link com.arangodb.util.RawJson} or
* {@link com.arangodb.util.RawBytes})
* @param value A representation of a single vertex (POJO or {@link com.arangodb.util.RawData})
* @return information about the vertex
* @see
* <a href="https://www.arangodb.com/docs/stable/http/gharial-vertices.html#modify-a-vertex">API Documentation</a>
Expand All @@ -148,8 +141,7 @@ public interface ArangoVertexCollection extends ArangoSerdeAccessor {
* do not yet exist, and overwritten in the existing document if they do exist there.
*
* @param key The key of the vertex
* @param value A representation of a single vertex (POJO, {@link com.arangodb.util.RawJson} or
* {@link com.arangodb.util.RawBytes})
* @param value A representation of a single vertex (POJO or {@link com.arangodb.util.RawData})
* @param options Additional options, can be null
* @return information about the vertex
* @see
Expand Down
Loading