class ArangoClient extends Auth
General Database management
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- ArangoClient
- Auth
- ArangoConfig
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ArangoClient(host: String = "localhost", port: Int = 8529, https: Boolean = false, databaseName: String)
Type Members
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
implicit
val
arangoHost: String
- Attributes
- protected
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
auth(request: HttpRequest)(implicit arangoHost: String): HttpRequest
- Definition Classes
- Auth
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
val
conf: Config
- Definition Classes
- ArangoConfig
-
def
createCollection(dbName: String, collectionName: String): Future[Either[Throwable, CollectionResponse]]
Creates a new collection
-
def
createDatabase(dbName: String, users: Option[List[User]]): Future[Either[Throwable, Unit]]
Creates a new database
-
def
deleteDatabase(dbName: String): Future[Either[Throwable, Unit]]
Deletes the database along with all data stored in it
-
def
dropCollection(dbName: String, collectionName: String): Future[Either[Throwable, CollectionResponse]]
Drops a collection
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getCurrentDatabase: Future[Either[Throwable, CurrentDatabase]]
-
def
getDatabaseList: Future[Either[Throwable, List[DatabaseName]]]
Retrieves the list of all existing databases
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
password: String
- Definition Classes
- ArangoConfig
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
val
userName: String
- Definition Classes
- ArangoConfig
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )