cayley: github.com/arunjit/cayley/graph/mongo Index | Files

package mongo

import "github.com/arunjit/cayley/graph/mongo"

Index

Package Files

iterator.go lru.go quadstore.go quadstore_iterator_optimize.go

Constants

const DefaultDBName = "cayley"

func Type Uses

func Type() graph.Type

type Iterator Uses

type Iterator struct {
    // contains filtered or unexported fields
}

func NewAllIterator Uses

func NewAllIterator(qs *QuadStore, collection string) *Iterator

func NewIterator Uses

func NewIterator(qs *QuadStore, collection string, d quad.Direction, val graph.Value) *Iterator

func (*Iterator) Clone Uses

func (it *Iterator) Clone() graph.Iterator

func (*Iterator) Close Uses

func (it *Iterator) Close()

func (*Iterator) Contains Uses

func (it *Iterator) Contains(v graph.Value) bool

func (*Iterator) Describe Uses

func (it *Iterator) Describe() graph.Description

func (*Iterator) Next Uses

func (it *Iterator) Next() bool

func (*Iterator) NextPath Uses

func (it *Iterator) NextPath() bool

func (*Iterator) Optimize Uses

func (it *Iterator) Optimize() (graph.Iterator, bool)

func (*Iterator) Reset Uses

func (it *Iterator) Reset()

func (*Iterator) Result Uses

func (it *Iterator) Result() graph.Value

func (*Iterator) ResultTree Uses

func (it *Iterator) ResultTree() *graph.ResultTree

func (*Iterator) Size Uses

func (it *Iterator) Size() (int64, bool)

func (*Iterator) Sorted Uses

func (it *Iterator) Sorted() bool

func (*Iterator) Stats Uses

func (it *Iterator) Stats() graph.IteratorStats

func (*Iterator) SubIterators Uses

func (it *Iterator) SubIterators() []graph.Iterator

No subiterators.

func (*Iterator) TagResults Uses

func (it *Iterator) TagResults(dst map[string]graph.Value)

func (*Iterator) Tagger Uses

func (it *Iterator) Tagger() *graph.Tagger

func (*Iterator) Type Uses

func (it *Iterator) Type() graph.Type

func (*Iterator) UID Uses

func (it *Iterator) UID() uint64

type MongoLogEntry Uses

type MongoLogEntry struct {
    LogID     int64  `bson:"LogID"`
    Action    string `bson:"Action"`
    Key       string `bson:"Key"`
    Timestamp int64
}

type MongoNode Uses

type MongoNode struct {
    ID   string `bson:"_id"`
    Name string `bson:"Name"`
    Size int    `bson:"Size"`
}

type QuadStore Uses

type QuadStore struct {
    // contains filtered or unexported fields
}

func (*QuadStore) ApplyDeltas Uses

func (qs *QuadStore) ApplyDeltas(in []graph.Delta) error

func (*QuadStore) Close Uses

func (qs *QuadStore) Close()

func (*QuadStore) FixedIterator Uses

func (qs *QuadStore) FixedIterator() graph.FixedIterator

func (*QuadStore) Horizon Uses

func (qs *QuadStore) Horizon() int64

func (*QuadStore) NameOf Uses

func (qs *QuadStore) NameOf(v graph.Value) string

func (*QuadStore) NodesAllIterator Uses

func (qs *QuadStore) NodesAllIterator() graph.Iterator

func (*QuadStore) OptimizeIterator Uses

func (qs *QuadStore) OptimizeIterator(it graph.Iterator) (graph.Iterator, bool)

func (*QuadStore) Quad Uses

func (qs *QuadStore) Quad(val graph.Value) quad.Quad

func (*QuadStore) QuadDirection Uses

func (qs *QuadStore) QuadDirection(in graph.Value, d quad.Direction) graph.Value

func (*QuadStore) QuadIterator Uses

func (qs *QuadStore) QuadIterator(d quad.Direction, val graph.Value) graph.Iterator

func (*QuadStore) QuadsAllIterator Uses

func (qs *QuadStore) QuadsAllIterator() graph.Iterator

func (*QuadStore) Size Uses

func (qs *QuadStore) Size() int64

func (*QuadStore) ValueOf Uses

func (qs *QuadStore) ValueOf(s string) graph.Value

Package mongo imports 12 packages (graph). Updated 2016-07-26. Refresh now. Tools for package owners. This is a dead-end fork (no commits since the fork).