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
- _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)
- Alphabetic
- By Inheritance
- GraphRepresentation
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
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)
- _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)
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
- val _id: String
- val _rev: String
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val edgeDefinitions: List[GraphEdgeDefinition]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
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()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val isSmart: Boolean
- val minReplicationFactor: Option[Int]
- val name: String
-
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()
- val numberOfShards: Option[Int]
- val orphanCollections: List[String]
- val replicationFactor: Option[Int]
- val smartGraphAttribute: Option[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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()