https://github.com/google/cayley
Revision 128d78457ad9c94383d76164e815a1c0301287a5 authored by Denys Smirnov on 05 February 2018, 13:46:59 UTC, committed by Denys Smirnov on 05 February 2018, 13:47:42 UTC
1 parent f53e575
Raw File
Tip revision: 128d78457ad9c94383d76164e815a1c0301287a5 authored by Denys Smirnov on 05 February 2018, 13:46:59 UTC
iterator: do not add empty iterator to And on failed optimization
Tip revision: 128d784
imports_pre19.go
// +build !go1.9

package cayley

import (
	"github.com/cayleygraph/cayley/graph"
	"github.com/cayleygraph/cayley/graph/path"
)

type Iterator graph.Iterator
type QuadStore graph.QuadStore
type QuadWriter graph.QuadWriter

type Path path.Path

type Handle struct {
	graph.QuadStore
	graph.QuadWriter
}

func (h *Handle) Close() error {
	err := h.QuadWriter.Close()
	h.QuadStore.Close()
	return err
}
back to top