first swing at mongo indexing (iterator todo)
This commit is contained in:
parent
8821c1968d
commit
ff148f58f8
2 changed files with 117 additions and 153 deletions
|
|
@ -22,6 +22,10 @@ import (
|
|||
"github.com/google/cayley/quad"
|
||||
)
|
||||
|
||||
func init() {
|
||||
graph.RegisterWriter("single", NewSingleReplication)
|
||||
}
|
||||
|
||||
type Single struct {
|
||||
nextID int64
|
||||
ts graph.TripleStore
|
||||
|
|
@ -79,7 +83,3 @@ func (s *Single) RemoveQuad(q quad.Quad) error {
|
|||
}
|
||||
return s.ts.ApplyDeltas(deltas)
|
||||
}
|
||||
|
||||
func init() {
|
||||
graph.RegisterWriter("single", NewSingleReplication)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue