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()intgetPort()getUser()voidsetDatabase(String database) database namevoidsetDocumentCollection(String documentCollection) Collection name, when using ArangoDb as a Document Database.voidsetEdgeCollection(String edgeCollection) Collection name of vertices, when using ArangoDb as a Graph Database.voidGraph name, when using ArangoDb as a Graph Database.voidArangoDB host.voidsetOperation(ArangoDbOperation operation) Operations to perform on ArangoDb.voidsetPassword(String password) ArangoDB password.voidsetPort(int port) ArangoDB exposed port.voidArangoDB user.voidsetVertexCollection(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
-