Documentation ¶
Overview ¶
Package graph contains structs that can be returned from the Neo4j Graph
Index ¶
Constants ¶
View Source
const (
// NodeSignature is the signature byte for a Node object
NodeSignature = 0x4E
)
View Source
const (
// PathSignature is the signature byte for a Path object
PathSignature = 0x50
)
View Source
const (
// RelationshipSignature is the signature byte for a Relationship object
RelationshipSignature = 0x52
)
View Source
const (
// UnboundRelationshipSignature is the signature byte for a UnboundRelationship object
UnboundRelationshipSignature = 0x72
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
Node Represents a Node structure
type Path ¶
type Path struct { Nodes []Node Relationships []UnboundRelationship Sequence []int }
Path Represents a Path structure
type Relationship ¶
type Relationship struct { RelIdentity int64 StartNodeIdentity int64 EndNodeIdentity int64 Type string Properties map[string]interface{} }
Relationship Represents a Relationship structure
func (Relationship) AllFields ¶
func (r Relationship) AllFields() []interface{}
AllFields gets the fields to encode for the struct
func (Relationship) Signature ¶
func (r Relationship) Signature() int
Signature gets the signature byte for the struct
type UnboundRelationship ¶
UnboundRelationship Represents a UnboundRelationship structure
func (UnboundRelationship) AllFields ¶
func (r UnboundRelationship) AllFields() []interface{}
AllFields gets the fields to encode for the struct
func (UnboundRelationship) Signature ¶
func (r UnboundRelationship) Signature() int
Signature gets the signature byte for the struct
Click to show internal directories.
Click to hide internal directories.