Merge pull request #217 from barakmich/primarykey
Rewrite keys into concrete types, remove key package
This commit is contained in:
commit
2c74cb1657
9 changed files with 96 additions and 93 deletions
|
|
@ -29,7 +29,6 @@ import (
|
|||
|
||||
"github.com/google/cayley/graph"
|
||||
"github.com/google/cayley/graph/iterator"
|
||||
"github.com/google/cayley/keys"
|
||||
"github.com/google/cayley/quad"
|
||||
)
|
||||
|
||||
|
|
@ -127,7 +126,7 @@ func (qs *QuadStore) Size() int64 {
|
|||
}
|
||||
|
||||
func (qs *QuadStore) Horizon() graph.PrimaryKey {
|
||||
return keys.NewSequentialKey(qs.horizon)
|
||||
return graph.NewSequentialKey(qs.horizon)
|
||||
}
|
||||
|
||||
func (qs *QuadStore) createDeltaKeyFor(id int64) []byte {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue