Documentation ¶
Overview ¶
Package cardinality contains the object that describes number of relationship occurrences for objects.
See:
TinkerPop: http://tinkerpop.apache.org/javadocs/3.3.3/core/org/apache/tinkerpop/gremlin/structure/VertexProperty.Cardinality.html Wikipedia: https://en.wikipedia.org/wiki/Cardinality
Cardinality describes the maximum number of possible relationships.
A note about Cardinality:
This object implements the Parameter interfaces used by graph traversals.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cardinality ¶
type Cardinality string
Cardinality describes maximum number of possible relationship occurrences for an entity participating in a given relationship type.
const ( // List allows an arbitrary number of // values per element for such key. List Cardinality = "LIST" // Set allows multiple values but no // duplicate values per element for such key. Set Cardinality = "SET" // Single allows at most one // value per element for such key Single Cardinality = "SINGLE" )
func (Cardinality) String ¶
func (c Cardinality) String() string
String will convert Cardinality to a string
Click to show internal directories.
Click to hide internal directories.