Packages

p

ch.acmesoftware

arangodbscaladriver

package arangodbscaladriver

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. arangodbscaladriver
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait ArangoCollection[F[_]] extends AnyRef

    Scala API for collections, wrapping com.arangodb.ArangoCollectionAsync

    Scala API for collections, wrapping com.arangodb.ArangoCollectionAsync

    Document Management

    case class TestObj(_key: String, name: String)
    
    implicit val codec = DocumentCodec.derive[testObj]
    
    val collection: ArangoCollection[IO] = ???
    
    for {
      _ <- collection.insertDocument(TestObj("1234", "Frank"))
    
      ex1 <- collection.documentExists("1234") // true
    
      _ <- collection.getDocument[String, TestObj]("1234")
    
      _ <- collection.deleteDocument("1234")
    
      ex2 <- collection.documentExists("1234") // false
    } yield ()
    F

    The effect type

  2. trait ArangoCursor[T] extends AnyRef

    Scala wrapper type for ar.ArangoCursorAsync

    Scala wrapper type for ar.ArangoCursorAsync

    T

    The type of the result object

  3. trait ArangoDB[F[_]] extends AnyRef

    Scala wrapper for ar.ArangoDBAsync

    Scala wrapper for ar.ArangoDBAsync

    F

    The effect type

  4. trait ArangoDBBuilder[F[_]] extends AnyRef
  5. trait ArangoDatabase[F[_]] extends AnyRef

    Scala wrapper for ar.ArangoDatabaseAsync

    Scala wrapper for ar.ArangoDatabaseAsync

    F

    The effect type

  6. trait DocumentCodec[T] extends AnyRef
  7. implicit class DocumentDeleteEntityOps extends AnyRef

Value Members

  1. def asyncF[F[_], T](f: ⇒ CompletableFuture[T])(implicit arg0: Async[F], ec: ExecutionContext): F[T]
  2. def discardedAsyncF[F[_]](f: ⇒ CompletableFuture[_])(implicit arg0: Async[F], ec: ExecutionContext): F[Unit]
  3. def valueMapAnyToJava(in: Map[String, Any]): Map[String, AnyRef]
  4. object ArangoCursor
  5. object ArangoDBBuilder
  6. object DocumentCodec
  7. object Domain

Inherited from AnyRef

Inherited from Any

Ungrouped