object GraphInfo extends Serializable
- Alphabetic
- By Inheritance
- GraphInfo
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
final
case class
GraphEdgeDefinition(collection: String, from: List[String], to: List[String]) extends Product with Serializable
A definition for the relations of the graph
A definition for the relations of the graph
- collection
Name of the edge collection, where the edge are stored in.
- from
List of vertex collection names. Edges in collection can only be inserted if their _from is in any of the collections here.
- to
List of vertex collection names. Edges in collection can only be inserted if their _to is in any of the collections here.
-
final
case class
GraphRepresentation(_id: String, _rev: String, name: String, edgeDefinitions: List[GraphEdgeDefinition] = List.empty, minReplicationFactor: Option[Int] = None, numberOfShards: Option[Int] = None, orphanCollections: List[String] = List.empty, replicationFactor: Option[Int] = None, isSmart: Boolean = false, smartGraphAttribute: Option[String] = None) extends Product with Serializable
The information about a graph
The information about a graph
- _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.
- name
The name of the graph.
- edgeDefinitions
An array of definitions for the relations of the graph. Each has the following type:
- 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.
- 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.
- isSmart
Flag if the graph is a SmartGraph (Enterprise Edition only) or not.
- smartGraphAttribute
The name of the sharding attribute in smart graph case (Enterprise Edition only)
- final case class Response(graph: GraphRepresentation) extends Product with Serializable
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- object GraphEdgeDefinition extends Serializable
- object GraphRepresentation extends Serializable
- object Response extends Serializable