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
|
|
@ -53,15 +53,13 @@ type LinksTo struct {
|
|||
// Construct a new LinksTo iterator around a direction and a subiterator of
|
||||
// nodes.
|
||||
func NewLinksTo(ts graph.TripleStore, it graph.Iterator, d graph.Direction) *LinksTo {
|
||||
lto := LinksTo{
|
||||
return &LinksTo{
|
||||
uid: NextUID(),
|
||||
ts: ts,
|
||||
primaryIt: it,
|
||||
dir: d,
|
||||
nextIt: &Null{},
|
||||
}
|
||||
BaseInit(<o.Base)
|
||||
return <o
|
||||
}
|
||||
|
||||
func (it *LinksTo) UID() uint64 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue