Documentation ¶
Index ¶
- Constants
- func RegisterFlavor(f Flavor)
- type AllIterator
- func (it *AllIterator) Clone() graph.Iterator
- func (it *AllIterator) Close() error
- func (it *AllIterator) Contains(v graph.Value) bool
- func (it *AllIterator) Describe() graph.Description
- func (it *AllIterator) Err() error
- func (it *AllIterator) Next() bool
- func (it *AllIterator) NextPath() bool
- func (it *AllIterator) Optimize() (graph.Iterator, bool)
- func (it *AllIterator) Reset()
- func (it *AllIterator) Result() graph.Value
- func (it *AllIterator) Size() (int64, bool)
- func (it *AllIterator) Sorted() bool
- func (it *AllIterator) Stats() graph.IteratorStats
- func (it *AllIterator) SubIterators() []graph.Iterator
- func (it *AllIterator) TagResults(dst map[string]graph.Value)
- func (it *AllIterator) Tagger() *graph.Tagger
- func (it *AllIterator) Type() graph.Type
- func (it *AllIterator) UID() uint64
- type AmbiguousCommitError
- type Flavor
- type NodeHash
- type NullTime
- type QuadHashes
- type QuadStore
- func (qs *QuadStore) ApplyDeltas(in []graph.Delta, opts graph.IgnoreOpts) error
- func (qs *QuadStore) Close() error
- func (qs *QuadStore) FixedIterator() graph.FixedIterator
- func (qs *QuadStore) Horizon() graph.PrimaryKey
- func (qs *QuadStore) NameOf(v graph.Value) quad.Value
- func (qs *QuadStore) NodesAllIterator() graph.Iterator
- func (qs *QuadStore) OptimizeIterator(it graph.Iterator) (graph.Iterator, bool)
- func (qs *QuadStore) Quad(val graph.Value) quad.Quad
- func (qs *QuadStore) QuadDirection(in graph.Value, d quad.Direction) graph.Value
- func (qs *QuadStore) QuadIterator(d quad.Direction, val graph.Value) graph.Iterator
- func (qs *QuadStore) QuadsAllIterator() graph.Iterator
- func (qs *QuadStore) Size() int64
- func (qs *QuadStore) Type() string
- func (qs *QuadStore) ValueOf(s quad.Value) graph.Value
- type SQLIterator
- func (it *SQLIterator) Clone() graph.Iterator
- func (it *SQLIterator) Close() error
- func (it *SQLIterator) Contains(v graph.Value) bool
- func (it *SQLIterator) Describe() graph.Description
- func (it *SQLIterator) Err() error
- func (it *SQLIterator) Next() bool
- func (it *SQLIterator) NextPath() bool
- func (it *SQLIterator) Optimize() (graph.Iterator, bool)
- func (it *SQLIterator) Reset()
- func (it *SQLIterator) Result() graph.Value
- func (it *SQLIterator) Size() (int64, bool)
- func (it *SQLIterator) Sorted() bool
- func (it *SQLIterator) Stats() graph.IteratorStats
- func (it *SQLIterator) SubIterators() []graph.Iterator
- func (it *SQLIterator) TagResults(dst map[string]graph.Value)
- func (it *SQLIterator) Tagger() *graph.Tagger
- func (it *SQLIterator) Type() graph.Type
- func (it *SQLIterator) UID() uint64
- type SQLLinkIterator
- type SQLNodeIntersection
- type SQLNodeIterator
Constants ¶
View Source
const QuadStoreType = "sql"
Variables ¶
This section is empty.
Functions ¶
func RegisterFlavor ¶ added in v0.6.1
func RegisterFlavor(f Flavor)
Types ¶
type AllIterator ¶
type AllIterator struct {
// contains filtered or unexported fields
}
func NewAllIterator ¶
func NewAllIterator(qs *QuadStore, table string) *AllIterator
func (*AllIterator) Clone ¶
func (it *AllIterator) Clone() graph.Iterator
func (*AllIterator) Close ¶
func (it *AllIterator) Close() error
func (*AllIterator) Describe ¶
func (it *AllIterator) Describe() graph.Description
func (*AllIterator) Err ¶
func (it *AllIterator) Err() error
func (*AllIterator) Next ¶
func (it *AllIterator) Next() bool
func (*AllIterator) NextPath ¶
func (it *AllIterator) NextPath() bool
func (*AllIterator) Reset ¶
func (it *AllIterator) Reset()
func (*AllIterator) Result ¶
func (it *AllIterator) Result() graph.Value
func (*AllIterator) Size ¶
func (it *AllIterator) Size() (int64, bool)
func (*AllIterator) Sorted ¶
func (it *AllIterator) Sorted() bool
func (*AllIterator) Stats ¶
func (it *AllIterator) Stats() graph.IteratorStats
func (*AllIterator) SubIterators ¶
func (it *AllIterator) SubIterators() []graph.Iterator
func (*AllIterator) TagResults ¶
func (it *AllIterator) TagResults(dst map[string]graph.Value)
func (*AllIterator) Tagger ¶
func (it *AllIterator) Tagger() *graph.Tagger
func (*AllIterator) Type ¶
func (it *AllIterator) Type() graph.Type
func (*AllIterator) UID ¶
func (it *AllIterator) UID() uint64
type AmbiguousCommitError ¶ added in v0.6.1
type AmbiguousCommitError struct {
// contains filtered or unexported fields
}
AmbiguousCommitError represents an error that left a transaction in an ambiguous state: unclear if it committed or not.
type NullTime ¶ added in v0.6.1
NullTime represents a time.Time that may be null. NullTime implements the sql.Scanner interface so it can be used as a scan destination, similar to sql.NullString.
type QuadHashes ¶ added in v0.6.0
type QuadHashes [4]NodeHash
func (QuadHashes) IsNode ¶ added in v0.6.0
func (QuadHashes) IsNode() bool
type QuadStore ¶
type QuadStore struct {
// contains filtered or unexported fields
}
func (*QuadStore) ApplyDeltas ¶
func (*QuadStore) FixedIterator ¶
func (qs *QuadStore) FixedIterator() graph.FixedIterator
func (*QuadStore) Horizon ¶
func (qs *QuadStore) Horizon() graph.PrimaryKey
func (*QuadStore) NodesAllIterator ¶
func (*QuadStore) OptimizeIterator ¶
func (*QuadStore) QuadDirection ¶
func (*QuadStore) QuadIterator ¶
func (*QuadStore) QuadsAllIterator ¶
type SQLIterator ¶
type SQLIterator struct {
// contains filtered or unexported fields
}
func NewSQLIterator ¶
func NewSQLIterator(qs *QuadStore, sql sqlIterator) *SQLIterator
func NewSQLLinkIterator ¶
func (*SQLIterator) Clone ¶
func (it *SQLIterator) Clone() graph.Iterator
func (*SQLIterator) Close ¶
func (it *SQLIterator) Close() error
func (*SQLIterator) Describe ¶
func (it *SQLIterator) Describe() graph.Description
func (*SQLIterator) Err ¶
func (it *SQLIterator) Err() error
func (*SQLIterator) Next ¶
func (it *SQLIterator) Next() bool
func (*SQLIterator) NextPath ¶
func (it *SQLIterator) NextPath() bool
func (*SQLIterator) Reset ¶
func (it *SQLIterator) Reset()
func (*SQLIterator) Result ¶
func (it *SQLIterator) Result() graph.Value
func (*SQLIterator) Size ¶
func (it *SQLIterator) Size() (int64, bool)
func (*SQLIterator) Sorted ¶
func (it *SQLIterator) Sorted() bool
func (*SQLIterator) Stats ¶
func (it *SQLIterator) Stats() graph.IteratorStats
func (*SQLIterator) SubIterators ¶
func (it *SQLIterator) SubIterators() []graph.Iterator
func (*SQLIterator) TagResults ¶
func (it *SQLIterator) TagResults(dst map[string]graph.Value)
func (*SQLIterator) Tagger ¶
func (it *SQLIterator) Tagger() *graph.Tagger
func (*SQLIterator) Type ¶
func (it *SQLIterator) Type() graph.Type
func (*SQLIterator) UID ¶
func (it *SQLIterator) UID() uint64
type SQLLinkIterator ¶
type SQLLinkIterator struct {
// contains filtered or unexported fields
}
func (*SQLLinkIterator) Describe ¶
func (l *SQLLinkIterator) Describe() string
func (*SQLLinkIterator) Result ¶
func (l *SQLLinkIterator) Result() graph.Value
func (*SQLLinkIterator) Tagger ¶
func (l *SQLLinkIterator) Tagger() *graph.Tagger
func (*SQLLinkIterator) Type ¶
func (l *SQLLinkIterator) Type() sqlQueryType
type SQLNodeIntersection ¶
type SQLNodeIntersection struct {
// contains filtered or unexported fields
}
func (*SQLNodeIntersection) Describe ¶
func (n *SQLNodeIntersection) Describe() string
func (*SQLNodeIntersection) Result ¶
func (n *SQLNodeIntersection) Result() graph.Value
func (*SQLNodeIntersection) Tagger ¶
func (n *SQLNodeIntersection) Tagger() *graph.Tagger
func (*SQLNodeIntersection) Type ¶
func (n *SQLNodeIntersection) Type() sqlQueryType
type SQLNodeIterator ¶
type SQLNodeIterator struct {
// contains filtered or unexported fields
}
func (*SQLNodeIterator) Describe ¶
func (n *SQLNodeIterator) Describe() string
func (*SQLNodeIterator) Result ¶
func (n *SQLNodeIterator) Result() graph.Value
func (*SQLNodeIterator) Tagger ¶
func (n *SQLNodeIterator) Tagger() *graph.Tagger
func (*SQLNodeIterator) Type ¶
func (n *SQLNodeIterator) Type() sqlQueryType
Click to show internal directories.
Click to hide internal directories.