Graph

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

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Classlikes

case class AppliedUpgrades(labels: Set[String])

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
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[_]]]
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], From, To](model: EdgeModel[E, From, To], managed: Boolean): EdgeCollection[E, 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): 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.

Attributes

T

the type of results

query

the query to create the builder for

Returns:

QueryBuilder[T]

def query[T](query: Query, converter: Json => T): QueryBuilder[T]
def shutdown(): IO[Unit]
protected def storeCollectionName: String
def truncate(): IO[Unit]
def vertex[D <: Document[LazyRef(...)]](model: DocumentModel[D], managed: Boolean): DocumentCollection[D]
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