Graph

com.outr.arango.Graph
class Graph(val db: ArangoDB, val managed: Boolean)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Type members

Classlikes

case class AppliedUpgrades(labels: Set[String])

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Value members

Constructors

def this(name: String, server: ArangoDBServer, managed: Boolean)
def this(name: String, config: ArangoDBConfig, managed: Boolean)
def this(name: String, managed: Boolean)
def this(name: String, server: ArangoDBServer)
def this(name: String, config: ArangoDBConfig)
def this(name: String)

Concrete methods

protected def afterStartup(upgrades: List[DatabaseUpgrade]): IO[Unit]
def collections: List[DocumentCollection[_ <: Document[_], _ <: DocumentModel[_]]]
def databaseName: String
protected def doUpgrades(allUpgrades: List[DatabaseUpgrade], upgrades: List[DatabaseUpgrade], stillBlocking: Boolean, appliedUpgrades: Set[String]): IO[Unit]
def drop(): IO[Boolean]
def edge[E <: Edge[LazyRef(...), From, To], M <: EdgeModel[E, From, To], From, To](model: M, managed: Boolean): EdgeCollection[E, M, From, To]
def execute(query: Query): IO[Unit]

Executes the query ignoring the result. Useful for queries that modify data but don't return anything useful.

Executes the query ignoring the result. Useful for queries that modify data but don't return anything useful.

Attributes

def init(createDatabase: Boolean, dropDatabase: Boolean): IO[Unit]
def initialized: Boolean
protected def initted[Return](f: => Return): Return
def keyStore(collectionName: String, managed: Boolean): DatabaseStore
def query[T](query: Query)(implicit rw: RW[T]): QueryBuilder[T]

Creates a QueryBuilder[T] to manage execution of the supplied query.

Creates a QueryBuilder[T] to manage execution of the supplied query.

Type parameters

T

the type of results

Value parameters

query

the query to create the builder for

Attributes

Returns

QueryBuilder[T]

def query[T](query: Query, converter: Json => T): QueryBuilder[T]
def shutdown(): IO[Unit]
protected def storeCollectionName: String
def stores: List[DatabaseStore]
def truncate(): IO[Unit]
def vertex[D <: Document[LazyRef(...)], M <: DocumentModel[D]](model: M, managed: Boolean): DocumentCollection[D, M]
def view(name: String, links: List[ViewLink], managed: Boolean, primarySort: List[Sort], primarySortCompression: SortCompression, consolidationInterval: FiniteDuration, commitInterval: FiniteDuration, cleanupIntervalStep: Int): View
def views: List[View]

Concrete fields

val managed: Boolean
lazy val transaction: ArangoDBTransaction[Collection]