Intermediate step in removal of Base
We are marking types that will be Nexters and ResultNexters (I want a better name for this one).
This commit is contained in:
parent
375d953d93
commit
b498a06a7b
13 changed files with 42 additions and 56 deletions
|
|
@ -59,14 +59,12 @@ type HasA struct {
|
|||
// Construct a new HasA iterator, given the triple subiterator, and the triple
|
||||
// direction for which it stands.
|
||||
func NewHasA(ts graph.TripleStore, subIt graph.Iterator, d graph.Direction) *HasA {
|
||||
hasa := HasA{
|
||||
return &HasA{
|
||||
uid: NextUID(),
|
||||
ts: ts,
|
||||
primaryIt: subIt,
|
||||
dir: d,
|
||||
}
|
||||
BaseInit(&hasa.Base)
|
||||
return &hasa
|
||||
}
|
||||
|
||||
func (it *HasA) UID() uint64 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue