Packages

class GraphClient extends ArangoClient with Auth

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GraphClient
  2. ArangoClient
  3. Auth
  4. ArangoConfig
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GraphClient(hostMachine: String = "localhost", port: Int = 8529, https: Boolean = false, databaseName: String)

Type Members

  1. case class Auth (username: String, password: String) extends Product with Serializable
    Definition Classes
    Auth
  2. case class Jwt (jwt: String, must_change_password: Boolean) extends Product with Serializable
    Definition Classes
    Auth
  3. type DatabaseName = String
    Definition Classes
    ArangoClient
  4. type JWT = String
    Definition Classes
    ArangoClient

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. implicit val arangoHost: String
    Attributes
    protected
    Definition Classes
    ArangoClient
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def auth(request: HttpRequest)(implicit arangoHost: String): HttpRequest
    Definition Classes
    Auth
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val conf: Config
    Definition Classes
    ArangoConfig
  9. def createCollection(dbName: String, collectionName: String): Future[Either[Throwable, CollectionResponse]]
    Definition Classes
    ArangoClient
  10. def createDatabase(dbName: String, users: Option[List[User]]): Future[Either[Throwable, Unit]]
    Definition Classes
    ArangoClient
  11. def createEdge(graphName: String, collectionName: String, edgeType: String, from: String, to: String): Future[Either[Throwable, EdgeOrVertex]]

    Creates a new edge in the collection.

    Creates a new edge in the collection. Within the body the has to contain a _from and _to value referencing to valid vertices in the graph. Furthermore the edge has to be valid in the definition of this edge collection.

    free-style json body

  12. def createEdgeCollection(graphName: String, collectionName: String, from: List[String], to: List[String]): Future[Either[Throwable, List[EdgeDefinition]]]

    Adds an additional edge definition to the graph.

  13. def createGraph(graphName: String, edges: List[EdgeDefinition]): Future[Either[Throwable, GraphResponse]]

    Create the Graph

  14. def createVertex(graphName: String, vertexCollection: String, json: String): Future[Either[Throwable, EdgeOrVertex]]

    Adds a vertex to the given collection.

    Adds a vertex to the given collection. free style json body

  15. def createVertexCollection(graphName: String, collectionName: String): Future[Either[Throwable, GraphResponse]]

    Adds a vertex to the given collection.

  16. def deleteDatabase(dbName: String): Future[Either[Throwable, Unit]]
    Definition Classes
    ArangoClient
  17. def dropCollection(dbName: String, collectionName: String): Future[Either[Throwable, CollectionResponse]]
    Definition Classes
    ArangoClient
  18. def dropGraph(graphName: String): Future[Either[Throwable, Boolean]]

    Drops Graph

  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  21. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  23. def getCurrentDatabase: Future[Either[Throwable, CurrentDatabase]]
    Definition Classes
    ArangoClient
  24. def getDatabaseList: Future[Either[Throwable, List[DatabaseName]]]
    Definition Classes
    ArangoClient
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  30. val password: String
    Definition Classes
    ArangoConfig
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. val userName: String
    Definition Classes
    ArangoConfig
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ArangoClient

Inherited from proteus.Auth

Inherited from ArangoConfig

Inherited from AnyRef

Inherited from Any

Ungrouped