Documentation ¶
Index ¶
- Constants
- func CreateNewMongoGraph(addr string, options graph.OptionsDict) bool
- type IDLru
- type KV
- type MongoIterator
- func (m *MongoIterator) Check(v graph.TSVal) bool
- func (m *MongoIterator) Clone() graph.Iterator
- func (m *MongoIterator) Close()
- func (m *MongoIterator) DebugString(indent int) string
- func (m *MongoIterator) GetStats() *graph.IteratorStats
- func (m *MongoIterator) Next() (graph.TSVal, bool)
- func (m *MongoIterator) Optimize() (graph.Iterator, bool)
- func (m *MongoIterator) Reset()
- func (m *MongoIterator) Size() (int64, bool)
- func (m *MongoIterator) Sorted() bool
- func (m *MongoIterator) Type() string
- type MongoNode
- type MongoTripleStore
- func (ts *MongoTripleStore) AddTriple(t *graph.Triple)
- func (ts *MongoTripleStore) AddTripleSet(in []*graph.Triple)
- func (ts *MongoTripleStore) BulkLoad(t_chan chan *graph.Triple)
- func (ts *MongoTripleStore) Close()
- func (ts *MongoTripleStore) ConvertStringToByteHash(s string) string
- func (ts *MongoTripleStore) GetIdFor(s string) graph.TSVal
- func (ts *MongoTripleStore) GetNameFor(v graph.TSVal) string
- func (ts *MongoTripleStore) GetNodesAllIterator() graph.Iterator
- func (ts *MongoTripleStore) GetTriple(val graph.TSVal) *graph.Triple
- func (ts *MongoTripleStore) GetTripleDirection(in graph.TSVal, dir string) graph.TSVal
- func (ts *MongoTripleStore) GetTripleIterator(dir string, val graph.TSVal) graph.Iterator
- func (ts *MongoTripleStore) GetTriplesAllIterator() graph.Iterator
- func (ts *MongoTripleStore) MakeFixed() *graph.FixedIterator
- func (ts *MongoTripleStore) OptimizeIterator(it graph.Iterator) (graph.Iterator, bool)
- func (ts *MongoTripleStore) RemoveTriple(t *graph.Triple)
- func (ts *MongoTripleStore) Size() int64
Constants ¶
View Source
const DefaultDBName = "cayley"
Variables ¶
This section is empty.
Functions ¶
func CreateNewMongoGraph ¶
func CreateNewMongoGraph(addr string, options graph.OptionsDict) bool
Types ¶
type MongoIterator ¶
type MongoIterator struct { graph.BaseIterator // contains filtered or unexported fields }
func NewMongoAllIterator ¶
func NewMongoAllIterator(ts *MongoTripleStore, collection string) *MongoIterator
func NewMongoIterator ¶
func NewMongoIterator(ts *MongoTripleStore, collection string, dir string, val graph.TSVal) *MongoIterator
func (*MongoIterator) Clone ¶
func (m *MongoIterator) Clone() graph.Iterator
func (*MongoIterator) Close ¶
func (m *MongoIterator) Close()
func (*MongoIterator) DebugString ¶
func (m *MongoIterator) DebugString(indent int) string
func (*MongoIterator) GetStats ¶
func (m *MongoIterator) GetStats() *graph.IteratorStats
func (*MongoIterator) Reset ¶
func (m *MongoIterator) Reset()
func (*MongoIterator) Size ¶
func (m *MongoIterator) Size() (int64, bool)
func (*MongoIterator) Sorted ¶
func (m *MongoIterator) Sorted() bool
func (*MongoIterator) Type ¶
func (m *MongoIterator) Type() string
type MongoTripleStore ¶
type MongoTripleStore struct {
// contains filtered or unexported fields
}
func NewMongoTripleStore ¶
func NewMongoTripleStore(addr string, options graph.OptionsDict) *MongoTripleStore
func (*MongoTripleStore) AddTriple ¶
func (ts *MongoTripleStore) AddTriple(t *graph.Triple)
func (*MongoTripleStore) AddTripleSet ¶
func (ts *MongoTripleStore) AddTripleSet(in []*graph.Triple)
func (*MongoTripleStore) BulkLoad ¶
func (ts *MongoTripleStore) BulkLoad(t_chan chan *graph.Triple)
func (*MongoTripleStore) Close ¶
func (ts *MongoTripleStore) Close()
func (*MongoTripleStore) ConvertStringToByteHash ¶
func (ts *MongoTripleStore) ConvertStringToByteHash(s string) string
func (*MongoTripleStore) GetNameFor ¶
func (ts *MongoTripleStore) GetNameFor(v graph.TSVal) string
func (*MongoTripleStore) GetNodesAllIterator ¶
func (ts *MongoTripleStore) GetNodesAllIterator() graph.Iterator
func (*MongoTripleStore) GetTriple ¶
func (ts *MongoTripleStore) GetTriple(val graph.TSVal) *graph.Triple
func (*MongoTripleStore) GetTripleDirection ¶
func (*MongoTripleStore) GetTripleIterator ¶
func (*MongoTripleStore) GetTriplesAllIterator ¶
func (ts *MongoTripleStore) GetTriplesAllIterator() graph.Iterator
func (*MongoTripleStore) MakeFixed ¶
func (ts *MongoTripleStore) MakeFixed() *graph.FixedIterator
func (*MongoTripleStore) OptimizeIterator ¶
func (*MongoTripleStore) RemoveTriple ¶
func (ts *MongoTripleStore) RemoveTriple(t *graph.Triple)
func (*MongoTripleStore) Size ¶
func (ts *MongoTripleStore) Size() int64
Click to show internal directories.
Click to hide internal directories.