Documentation ¶
Index ¶
- type As
- type Back
- type Both
- type Collect
- type Count
- type Difference
- type Documents
- type GreaterThan
- type GreaterThanEquals
- type Has
- type HasReverse
- type In
- type Intersect
- type Labels
- type LessThan
- type LessThanEquals
- type Like
- type Limit
- type Match
- type Optional
- type Order
- type Out
- type Placeholder
- type Properties
- type PropertyNames
- type PropertyNamesAs
- type RegExp
- type ReverseProperties
- type ReversePropertyNames
- type ReversePropertyNamesAs
- type Select
- type Skip
- type Union
- type Unique
- type Vertex
- type Visit
- type VisitReverse
- type Where
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type As ¶
As corresponds to .tag().
type Back ¶
Back corresponds to .back().
type Both ¶
type Both struct { From linkedql.PathStep `json:"from"` Properties *linkedql.PropertyPath `json:"properties"` }
Both corresponds to .both().
type Collect ¶
Collect corresponds to .view().
type Count ¶
Count corresponds to .count().
type Difference ¶
type Difference struct { From linkedql.PathStep `json:"from"` Steps []linkedql.PathStep `json:"steps"` }
Difference corresponds to .difference().
func (*Difference) BuildPath ¶
func (s *Difference) BuildPath(ctx context.Context, qs graph.QuadStore, ns *voc.Namespaces) (*path.Path, error)
BuildPath implements linkedql.PathStep.
func (*Difference) Description ¶
func (s *Difference) Description() string
Description implements Step.
type Documents ¶
Documents corresponds to .documents().
func (*Documents) BuildIterator ¶
func (s *Documents) BuildIterator(ctx context.Context, qs graph.QuadStore, ns *voc.Namespaces) (query.Iterator, error)
BuildIterator implements IteratorStep
func (*Documents) Description ¶
Description implements Step.
type GreaterThan ¶
GreaterThan corresponds to gt().
func (*GreaterThan) BuildPath ¶
func (s *GreaterThan) BuildPath(ctx context.Context, qs graph.QuadStore, ns *voc.Namespaces) (*path.Path, error)
BuildPath implements linkedql.PathStep.
func (*GreaterThan) Description ¶
func (s *GreaterThan) Description() string
Description implements Step.
type GreaterThanEquals ¶
type GreaterThanEquals struct { From linkedql.PathStep `json:"from"` Value quad.Value `json:"value"` }
GreaterThanEquals corresponds to gte().
func (*GreaterThanEquals) BuildPath ¶
func (s *GreaterThanEquals) BuildPath(ctx context.Context, qs graph.QuadStore, ns *voc.Namespaces) (*path.Path, error)
BuildPath implements linkedql.PathStep.
func (*GreaterThanEquals) Description ¶
func (s *GreaterThanEquals) Description() string
Description implements Step.
type Has ¶
type Has struct { From linkedql.PathStep `json:"from"` Property *linkedql.PropertyPath `json:"property"` Values []quad.Value `json:"values"` }
Has corresponds to .has().
type HasReverse ¶
type HasReverse struct { From linkedql.PathStep `json:"from"` Property *linkedql.PropertyPath `json:"property"` Values []quad.Value `json:"values"` }
HasReverse corresponds to .hasR().
func (*HasReverse) BuildPath ¶
func (s *HasReverse) BuildPath(ctx context.Context, qs graph.QuadStore, ns *voc.Namespaces) (*path.Path, error)
BuildPath implements linkedql.PathStep.
func (*HasReverse) Description ¶
func (s *HasReverse) Description() string
Description implements Step.
type Intersect ¶
type Intersect struct { From linkedql.PathStep `json:"from"` Steps []linkedql.PathStep `json:"steps"` }
Intersect represents .intersect() and .and().
func (*Intersect) BuildPath ¶
func (s *Intersect) BuildPath(ctx context.Context, qs graph.QuadStore, ns *voc.Namespaces) (*path.Path, error)
BuildPath implements linkedql.PathStep.
func (*Intersect) Description ¶
Description implements Step.
type Labels ¶
Labels corresponds to .labels().
type LessThan ¶
LessThan corresponds to lt().
type LessThanEquals ¶
LessThanEquals corresponds to lte().
func (*LessThanEquals) BuildPath ¶
func (s *LessThanEquals) BuildPath(ctx context.Context, qs graph.QuadStore, ns *voc.Namespaces) (*path.Path, error)
BuildPath implements linkedql.PathStep.
func (*LessThanEquals) Description ¶
func (s *LessThanEquals) Description() string
Description implements Step.
type Like ¶
Like corresponds to like().
type Limit ¶
Limit corresponds to .limit().
type Match ¶
type Match struct { From linkedql.PathStep `json:"from" minCardinality:"0"` Pattern linkedql.GraphPattern `json:"pattern"` }
Match corresponds to .has().
type Optional ¶
Optional corresponds to .optional().
type Order ¶
Order corresponds to .order().
type Placeholder ¶
type Placeholder struct{}
Placeholder corresponds to .Placeholder().
func (*Placeholder) BuildPath ¶
func (s *Placeholder) BuildPath(ctx context.Context, qs graph.QuadStore, ns *voc.Namespaces) (*path.Path, error)
BuildPath implements linkedql.PathStep.
func (*Placeholder) Description ¶
func (s *Placeholder) Description() string
Description implements Step.
type Properties ¶
type Properties struct { From linkedql.PathStep `json:"from"` Names *linkedql.PropertyPath `json:"names"` }
Properties corresponds to .properties().
func (*Properties) BuildPath ¶
func (s *Properties) BuildPath(ctx context.Context, qs graph.QuadStore, ns *voc.Namespaces) (*path.Path, error)
BuildPath implements linkedql.PathStep.
func (*Properties) Description ¶
func (s *Properties) Description() string
Description implements Step.
type PropertyNames ¶
PropertyNames corresponds to .propertyNames().
func (*PropertyNames) BuildPath ¶
func (s *PropertyNames) BuildPath(ctx context.Context, qs graph.QuadStore, ns *voc.Namespaces) (*path.Path, error)
BuildPath implements linkedql.PathStep.
func (*PropertyNames) Description ¶
func (s *PropertyNames) Description() string
Description implements Step.
type PropertyNamesAs ¶
PropertyNamesAs corresponds to .propertyNamesAs().
func (*PropertyNamesAs) BuildPath ¶
func (s *PropertyNamesAs) BuildPath(ctx context.Context, qs graph.QuadStore, ns *voc.Namespaces) (*path.Path, error)
BuildPath implements linkedql.PathStep.
func (*PropertyNamesAs) Description ¶
func (s *PropertyNamesAs) Description() string
Description implements Step.
type RegExp ¶
type RegExp struct { From linkedql.PathStep `json:"from"` Expression string `json:"expression"` IncludeIRIs bool `json:"includeIRIs,omitempty"` }
RegExp corresponds to regex().
type ReverseProperties ¶
type ReverseProperties struct { From linkedql.PathStep `json:"from"` Names *linkedql.PropertyPath `json:"names"` }
ReverseProperties corresponds to .reverseProperties().
func (*ReverseProperties) BuildPath ¶
func (s *ReverseProperties) BuildPath(ctx context.Context, qs graph.QuadStore, ns *voc.Namespaces) (*path.Path, error)
BuildPath implements linkedql.PathStep.
func (*ReverseProperties) Description ¶
func (s *ReverseProperties) Description() string
Description implements Step.
type ReversePropertyNames ¶
ReversePropertyNames corresponds to .reversePropertyNames().
func (*ReversePropertyNames) BuildPath ¶
func (s *ReversePropertyNames) BuildPath(ctx context.Context, qs graph.QuadStore, ns *voc.Namespaces) (*path.Path, error)
BuildPath implements linkedql.PathStep.
func (*ReversePropertyNames) Description ¶
func (s *ReversePropertyNames) Description() string
Description implements Step.
type ReversePropertyNamesAs ¶
ReversePropertyNamesAs corresponds to .reversePropertyNamesAs().
func (*ReversePropertyNamesAs) BuildPath ¶
func (s *ReversePropertyNamesAs) BuildPath(ctx context.Context, qs graph.QuadStore, ns *voc.Namespaces) (*path.Path, error)
BuildPath implements linkedql.PathStep.
func (*ReversePropertyNamesAs) Description ¶
func (s *ReversePropertyNamesAs) Description() string
Description implements Step.
type Select ¶
type Select struct { Properties []string `json:"properties"` From linkedql.PathStep `json:"from"` ExcludeID bool `json:"excludeID"` }
Select corresponds to .select().
type Skip ¶
Skip corresponds to .skip().
type Union ¶
Union corresponds to .union() and .or().
type Unique ¶
Unique corresponds to .unique().
type Vertex ¶
Vertex corresponds to g.Vertex() and g.V().
type Visit ¶
type Visit struct { From linkedql.PathStep `json:"from"` Properties *linkedql.PropertyPath `json:"properties"` }
Visit corresponds to .view().
type VisitReverse ¶
type VisitReverse struct { From linkedql.PathStep `json:"from"` Properties *linkedql.PropertyPath `json:"properties"` }
VisitReverse corresponds to .viewReverse().
func (*VisitReverse) BuildPath ¶
func (s *VisitReverse) BuildPath(ctx context.Context, qs graph.QuadStore, ns *voc.Namespaces) (*path.Path, error)
BuildPath implements linkedql.PathStep.
func (*VisitReverse) Description ¶
func (s *VisitReverse) Description() string
Description implements Step.
type Where ¶
type Where struct { From linkedql.PathStep `json:"from"` Condition linkedql.PathStep `json:"condition"` }
Where corresponds to .where().
Source Files ¶
- as.go
- back.go
- both.go
- collect.go
- count.go
- difference.go
- greater_than.go
- greater_than_equals.go
- has.go
- has_reverse.go
- in.go
- intersect.go
- jsonld_util.go
- labels.go
- less_than.go
- less_than_equals.go
- like.go
- limit.go
- match.go
- optional.go
- order.go
- out.go
- placeholder.go
- properties.go
- property_names.go
- property_names_as.go
- regexp.go
- reverse_properties.go
- reverse_property_names.go
- reverse_property_names_as.go
- skip.go
- steps_final.go
- union.go
- unique.go
- vertex.go
- visit.go
- visit_reverse.go
- where.go