Class ArangoDbConfiguration
java.lang.Object
org.apache.camel.component.arangodb.ArangoDbConfiguration
- All Implemented Interfaces:
Cloneable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()
getGraph()
getHost()
int
getPort()
getUser()
void
setDatabase
(String database) database namevoid
setDocumentCollection
(String documentCollection) Collection name, when using ArangoDb as a Document Database.void
setEdgeCollection
(String edgeCollection) Collection name of vertices, when using ArangoDb as a Graph Database.void
Graph name, when using ArangoDb as a Graph Database.void
ArangoDB host.void
setOperation
(ArangoDbOperation operation) Operations to perform on ArangoDb.void
setPassword
(String password) ArangoDB password.void
setPort
(int port) ArangoDB exposed port.void
ArangoDB user.void
setVertexCollection
(String vertexCollection) Collection name of vertices, when using ArangoDb as a Graph Database.
-
Constructor Details
-
ArangoDbConfiguration
public ArangoDbConfiguration()
-
-
Method Details
-
getDatabase
-
setDatabase
database name- Parameters:
database
-
-
getHost
-
setHost
ArangoDB host. If host and port are default, this field is Optional.- Parameters:
host
-
-
getPort
public int getPort() -
setPort
public void setPort(int port) ArangoDB exposed port. If host and port are default, this field is Optional.- Parameters:
port
-
-
getUser
-
setUser
ArangoDB user. If user and password are default, this field is Optional.- Parameters:
user
-
-
getPassword
-
setPassword
ArangoDB password. If user and password are default, this field is Optional.- Parameters:
password
-
-
getDocumentCollection
-
setDocumentCollection
Collection name, when using ArangoDb as a Document Database. Set the documentCollection name when using the CRUD operation on the document database collections (SAVE_DOCUMENT , FIND_DOCUMENT_BY_KEY, UPDATE_DOCUMENT, DELETE_DOCUMENT).- Parameters:
documentCollection
-
-
getOperation
-
setOperation
Operations to perform on ArangoDb. For the operation AQL_QUERY, no need to specify a collection or graph.- Parameters:
operation
-
-
getGraph
-
setGraph
Graph name, when using ArangoDb as a Graph Database. Combine this attribute with one of the two attributes vertexCollection and edgeCollection.- Parameters:
graph
-
-
getVertexCollection
-
setVertexCollection
Collection name of vertices, when using ArangoDb as a Graph Database. Set the vertexCollection name to perform CRUD operation on vertices using these operations : SAVE_EDGE, FIND_EDGE_BY_KEY, UPDATE_EDGE, DELETE_EDGE. The graph attribute is mandatory.- Parameters:
vertexCollection
-
-
getEdgeCollection
-
setEdgeCollection
Collection name of vertices, when using ArangoDb as a Graph Database. Set the edgeCollection name to perform CRUD operation on edges using these operations : SAVE_VERTEX, FIND_VERTEX_BY_KEY, UPDATE_VERTEX, DELETE_VERTEX. The graph attribute is mandatory.- Parameters:
edgeCollection
-
-
copy
-