Documentation ¶
Index ¶
- func ParseCoreSequence(k string) (uint16, error)
- func ParseCoreSequence32(k string) (uint32, error)
- func SequenceToSmallKey(v uint16) []byte
- func SmallKeyToSequence(k []byte) (uint16, error)
- func ValidateNodeId(id string) (ksuid.KSUID, error)
- func ValidateSequence(seq uint16) bool
- func ValidateUuid(sUuid string) (uuid.UUID, error)
- type BaseCounter
- type Edge
- func (e *Edge) GetClearRange(db subspace.Subspace) fdb.ExactRange
- func (e *Edge) GetKey(db subspace.Subspace) fdb.Key
- func (e *Edge) GetListRange(db subspace.Subspace, rtr fdb.ReadTransaction, opt *ListOptions) fdb.RangeResult
- func (e *Edge) GetPath() string
- func (e *Edge) Parse(path string) error
- func (e *Edge) ValidateIRI(p *perms.Edge) error
- func (e *Edge) ValidatePermission(p *perms.Edge) error
- type EdgeCounter
- func (c *EdgeCounter) GetKey(dbCnt subspace.Subspace, cntGroup string) fdb.Key
- func (c *EdgeCounter) GetKeyRange(dbCnt subspace.Subspace) fdb.ExactRange
- func (c *EdgeCounter) GetPath() string
- func (c *EdgeCounter) Parse(path string) error
- func (c *EdgeCounter) ValidateIRI(p *perms.Count) error
- func (c *EdgeCounter) ValidatePermission(p perms.Count) error
- type EdgeMeta
- func (m *EdgeMeta) GetClearRange(db subspace.Subspace) fdb.ExactRange
- func (m *EdgeMeta) GetKey(db subspace.Subspace) fdb.Key
- func (m *EdgeMeta) GetListRange(db subspace.Subspace, rtr fdb.ReadTransaction, opt *ListOptions) fdb.RangeResult
- func (m *EdgeMeta) GetPath() string
- func (m *EdgeMeta) Parse(path string) error
- func (m *EdgeMeta) ValidateIRI(p *perms.Meta) error
- func (m *EdgeMeta) ValidatePermission(p perms.Meta) error
- type IRI
- type ListOptions
- type Node
- func (n *Node) GetClearRange(db subspace.Subspace) fdb.ExactRange
- func (n *Node) GetKey(db subspace.Subspace) fdb.Key
- func (n *Node) GetListRange(db subspace.Subspace, rtr fdb.ReadTransaction, opt *ListOptions) fdb.RangeResult
- func (n *Node) GetPath() string
- func (n *Node) Parse(path string) error
- func (n *Node) ValidateIRI(p *perms.Node) error
- func (n *Node) ValidatePermission(p perms.Node) error
- type NodeCounter
- func (c *NodeCounter) GetKey(dbCnt subspace.Subspace, cntGroup string) fdb.Key
- func (c *NodeCounter) GetKeyRange(dbCnt subspace.Subspace) fdb.ExactRange
- func (c *NodeCounter) GetPath() string
- func (c *NodeCounter) Parse(path string) error
- func (c *NodeCounter) ValidateIRI(p *perms.Count) error
- func (c *NodeCounter) ValidatePermission(p perms.Count) error
- type NodeIndex
- func (i *NodeIndex) GetClearRange(db subspace.Subspace) fdb.ExactRange
- func (i *NodeIndex) GetCounterClearRange(db subspace.Subspace) fdb.ExactRange
- func (i *NodeIndex) GetCounterKey(db subspace.Subspace) fdb.Key
- func (i *NodeIndex) GetCounterListRange(db subspace.Subspace, rtr fdb.ReadTransaction, opt *ListOptions) fdb.RangeResult
- func (i *NodeIndex) GetKey(db subspace.Subspace) fdb.Key
- func (i *NodeIndex) GetListRange(db subspace.Subspace, rtr fdb.ReadTransaction, opt *ListOptions) fdb.RangeResult
- func (i *NodeIndex) GetPath() string
- func (i *NodeIndex) Parse(path string) error
- func (i *NodeIndex) ValidateIRI(p *perms.Index) error
- func (i *NodeIndex) ValidatePermission(p perms.Index) error
- type NodeMeta
- func (m *NodeMeta) GetClearRange(db subspace.Subspace) fdb.ExactRange
- func (m *NodeMeta) GetKey(db subspace.Subspace) fdb.Key
- func (m *NodeMeta) GetListRange(db subspace.Subspace, rtr fdb.ReadTransaction, opt *ListOptions) fdb.RangeResult
- func (m *NodeMeta) GetPath() string
- func (m *NodeMeta) Parse(path string) error
- func (m *NodeMeta) ValidateIRI(p *perms.Meta) error
- func (m *NodeMeta) ValidatePermission(p perms.Meta) error
- type ParsingError
- type Sequence
- func (s *Sequence) DbSeqID() string
- func (s *Sequence) GetClearRange(db subspace.Subspace) fdb.ExactRange
- func (s *Sequence) GetIncrementKey(db subspace.Subspace) fdb.Key
- func (s *Sequence) GetKey(db subspace.Subspace) fdb.Key
- func (s *Sequence) GetListRange(db subspace.Subspace, rtr fdb.ReadTransaction, opt *ListOptions) fdb.RangeResult
- func (s *Sequence) GetPath() string
- func (s *Sequence) GetReverseKey(db subspace.Subspace) fdb.Key
- func (s *Sequence) Parse(path string) error
- func (s *Sequence) ValidateIRI(p *perms.Sequence) error
- func (s *Sequence) ValidatePermission(p perms.Sequence) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseCoreSequence ¶
func ParseCoreSequence32 ¶
func SequenceToSmallKey ¶
func SmallKeyToSequence ¶
func ValidateSequence ¶
Types ¶
type BaseCounter ¶
type Edge ¶
type Edge struct { IRI Subject string Predicate uint16 Target string // contains filtered or unexported fields }
func (*Edge) GetClearRange ¶
func (e *Edge) GetClearRange(db subspace.Subspace) fdb.ExactRange
func (*Edge) GetListRange ¶
func (e *Edge) GetListRange(db subspace.Subspace, rtr fdb.ReadTransaction, opt *ListOptions) fdb.RangeResult
type EdgeCounter ¶
type EdgeCounter struct { BaseCounter Subject string Predicate uint16 Target string Counter uint16 // contains filtered or unexported fields }
Edges
func (*EdgeCounter) GetKeyRange ¶
func (c *EdgeCounter) GetKeyRange(dbCnt subspace.Subspace) fdb.ExactRange
func (*EdgeCounter) GetPath ¶
func (c *EdgeCounter) GetPath() string
func (*EdgeCounter) Parse ¶
func (c *EdgeCounter) Parse(path string) error
func (*EdgeCounter) ValidateIRI ¶
func (c *EdgeCounter) ValidateIRI(p *perms.Count) error
func (*EdgeCounter) ValidatePermission ¶
func (c *EdgeCounter) ValidatePermission(p perms.Count) error
type EdgeMeta ¶
type EdgeMeta struct { IRI Subject string Predicate uint16 Target string Property uint16 // contains filtered or unexported fields }
Edges
func (*EdgeMeta) GetClearRange ¶
func (m *EdgeMeta) GetClearRange(db subspace.Subspace) fdb.ExactRange
func (*EdgeMeta) GetListRange ¶
func (m *EdgeMeta) GetListRange(db subspace.Subspace, rtr fdb.ReadTransaction, opt *ListOptions) fdb.RangeResult
type IRI ¶
type IRI interface { GetPath() string GetKey(db subspace.Subspace) fdb.Key GetClearRange(db subspace.Subspace) fdb.ExactRange GetListRange(db subspace.Subspace, rtr fdb.ReadTransaction, opt *ListOptions) fdb.RangeResult }
type ListOptions ¶
type Node ¶
func (*Node) GetClearRange ¶
func (n *Node) GetClearRange(db subspace.Subspace) fdb.ExactRange
func (*Node) GetListRange ¶
func (n *Node) GetListRange(db subspace.Subspace, rtr fdb.ReadTransaction, opt *ListOptions) fdb.RangeResult
type NodeCounter ¶
type NodeCounter struct { BaseCounter Counter uint16 Node string // contains filtered or unexported fields }
Nodes
func (*NodeCounter) GetKeyRange ¶
func (c *NodeCounter) GetKeyRange(dbCnt subspace.Subspace) fdb.ExactRange
func (*NodeCounter) GetPath ¶
func (c *NodeCounter) GetPath() string
func (*NodeCounter) Parse ¶
func (c *NodeCounter) Parse(path string) error
func (*NodeCounter) ValidateIRI ¶
func (c *NodeCounter) ValidateIRI(p *perms.Count) error
func (*NodeCounter) ValidatePermission ¶
func (c *NodeCounter) ValidatePermission(p perms.Count) error
type NodeIndex ¶
type NodeIndex struct { IRI Node string IndexId uint16 Value string Unique bool // contains filtered or unexported fields }
func (*NodeIndex) GetClearRange ¶
func (i *NodeIndex) GetClearRange(db subspace.Subspace) fdb.ExactRange
func (*NodeIndex) GetCounterClearRange ¶
func (i *NodeIndex) GetCounterClearRange(db subspace.Subspace) fdb.ExactRange
func (*NodeIndex) GetCounterListRange ¶
func (i *NodeIndex) GetCounterListRange(db subspace.Subspace, rtr fdb.ReadTransaction, opt *ListOptions) fdb.RangeResult
func (*NodeIndex) GetListRange ¶
func (i *NodeIndex) GetListRange(db subspace.Subspace, rtr fdb.ReadTransaction, opt *ListOptions) fdb.RangeResult
type NodeMeta ¶
Nodes
func (*NodeMeta) GetClearRange ¶
func (m *NodeMeta) GetClearRange(db subspace.Subspace) fdb.ExactRange
func (*NodeMeta) GetListRange ¶
func (m *NodeMeta) GetListRange(db subspace.Subspace, rtr fdb.ReadTransaction, opt *ListOptions) fdb.RangeResult
type ParsingError ¶
type ParsingError struct {
// contains filtered or unexported fields
}
func NewParsingError ¶
func NewParsingError(msg string, field string) *ParsingError
func (*ParsingError) Error ¶
func (e *ParsingError) Error() string
func (*ParsingError) Field ¶
func (e *ParsingError) Field() string
func (*ParsingError) Message ¶
func (e *ParsingError) Message() string
type Sequence ¶
func (*Sequence) GetClearRange ¶
func (s *Sequence) GetClearRange(db subspace.Subspace) fdb.ExactRange
func (*Sequence) GetListRange ¶
func (s *Sequence) GetListRange(db subspace.Subspace, rtr fdb.ReadTransaction, opt *ListOptions) fdb.RangeResult
Click to show internal directories.
Click to hide internal directories.