Class ArangoDbConfiguration

java.lang.Object
org.apache.camel.component.arangodb.ArangoDbConfiguration
All Implemented Interfaces:
Cloneable

@UriParams public class ArangoDbConfiguration extends Object implements Cloneable
  • Constructor Details

    • ArangoDbConfiguration

      public ArangoDbConfiguration()
  • Method Details

    • getDatabase

      public String getDatabase()
    • setDatabase

      public void setDatabase(String database)
      database name
      Parameters:
      database -
    • getHost

      public String getHost()
    • setHost

      public void setHost(String host)
      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

      public String getUser()
    • setUser

      public void setUser(String user)
      ArangoDB user. If user and password are default, this field is Optional.
      Parameters:
      user -
    • getPassword

      public String getPassword()
    • setPassword

      public void setPassword(String password)
      ArangoDB password. If user and password are default, this field is Optional.
      Parameters:
      password -
    • getDocumentCollection

      public String getDocumentCollection()
    • setDocumentCollection

      public void setDocumentCollection(String documentCollection)
      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

      public ArangoDbOperation getOperation()
    • setOperation

      public void setOperation(ArangoDbOperation operation)
      Operations to perform on ArangoDb. For the operation AQL_QUERY, no need to specify a collection or graph.
      Parameters:
      operation -
    • getGraph

      public String getGraph()
    • setGraph

      public void setGraph(String graph)
      Graph name, when using ArangoDb as a Graph Database. Combine this attribute with one of the two attributes vertexCollection and edgeCollection.
      Parameters:
      graph -
    • getVertexCollection

      public String getVertexCollection()
    • setVertexCollection

      public void setVertexCollection(String vertexCollection)
      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

      public String getEdgeCollection()
    • setEdgeCollection

      public void setEdgeCollection(String edgeCollection)
      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

      public ArangoDbConfiguration copy()