Documentation
¶
Index ¶
Constants ¶
View Source
const ( DirectionIncoming = iota DirectionOutgoing DirectionUnknown )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct {
Key string
Regexp *regexp.Regexp
Type oam.AssetType
Since time.Time
Attributes map[string]*AttrValue
Properties []*Property
}
func (*Node) IsWildcard ¶
type Predicate ¶
type Predicate struct {
Label string
Regexp *regexp.Regexp
Type oam.RelationType
Since time.Time
Attributes map[string]*AttrValue
Properties []*Property
}
func (*Predicate) IsWildcard ¶
type Results ¶
type Results struct {
Node *Vertex `json:"entity"`
}
func Extract ¶
func Extract(db repository.Repository, triples []*Triple) (*Results, error)
type Triple ¶
func ParseTriple ¶
Click to show internal directories.
Click to hide internal directories.