GraphInfo

avokka.arangodb.models.GraphInfo
See theGraphInfo companion object
final case class GraphInfo(_id: String, _rev: String, name: GraphName, edgeDefinitions: List[GraphEdgeDefinition], minReplicationFactor: Option[Int], numberOfShards: Option[Int], orphanCollections: List[CollectionName], replicationFactor: Option[Int], isSmart: Boolean, smartGraphAttribute: Option[String])

The information about a graph

Value parameters

_id

The internal id value of this graph.

_rev

The revision of this graph. Can be used to make sure to not override concurrent modifications to this graph.

edgeDefinitions

An array of definitions for the relations of the graph. Each has the following type:

isSmart

Flag if the graph is a SmartGraph (Enterprise Edition only) or not.

minReplicationFactor

The minimal replication factor used for every new collection in the graph. If one shard has less than minReplicationFactor copies, we cannot write to this shard, but to all others.

name

The name of the graph.

numberOfShards

Number of shards created for every new collection in the graph.

orphanCollections

An array of additional vertex collections. Documents within these collections do not have edges within this graph.

replicationFactor

The replication factor used for every new collection in the graph.

smartGraphAttribute

The name of the sharding attribute in smart graph case (Enterprise Edition only)

Attributes

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

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product