ArangoResourceStore

io.funkode.resource.output.adapter.ArangoResourceStore
See theArangoResourceStore companion object
class ArangoResourceStore(db: ArangoDatabaseJson, storeModel: ResourceModel) extends ResourceStore

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Classlikes

case class Rel(_rel: String, _from: DocumentHandle, _to: DocumentHandle, _key: DocumentKey)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def delete(urn: Urn): ResourceApiCall[Unit]
def fetch(urn: Urn): ResourceStream[Resource]
def fetchRel(urn: Urn, relType: String): Stream[ResourceError, Resource]

Inherited methods

inline def fetchAs[R](urn: Urn)(using evidence$1: Addressable[R]): ResourceStream[Of[R]]

Attributes

Inherited from:
ResourceStore

Attributes

Inherited from:
ResourceStore
inline def fetchOneAs[R](urn: Urn)(using evidence$2: Addressable[R]): ResourceApiCall[Of[R]]

Attributes

Inherited from:
ResourceStore
inline def fetchOneRel(urn: Urn, relType: String): ResourceApiCall[Resource]

Attributes

Inherited from:
ResourceStore
inline def fetchOneRelAs[R](urn: Urn, relType: String)(using evidence$6: Addressable[R]): ResourceApiCall[Of[R]]

Attributes

Inherited from:
ResourceStore
inline def fetchRelAs[R](urn: Urn, relType: String)(using evidence$5: Addressable[R]): ResourceStream[Of[R]]

Attributes

Inherited from:
ResourceStore
inline def save[R](inline typedResource: Of[R])(using evidence$4: Addressable[R]): ResourceApiCall[Resource]

Attributes

Inherited from:
ResourceStore
inline def save[R](inline addressable: R)(using evidence$3: Addressable[R]): ResourceApiCall[Of[R]]

Attributes

Inherited from:
ResourceStore

Concrete fields

val graph: ArangoGraph[JsonEncoder, JsonDecoder]

Implicits

Implicits

implicit val jsonCodec: JsonCodec[Json]