MCPcopy
hub / github.com/cayleygraph/cayley / Next

Method Next

graph/shape.go:13–13  ·  view source on GitHub ↗

Next advances the iterator to the next value, which will then be available through the Result method. It returns false if no further advancement is possible, or if an error was encountered during iteration. Err should be consulted to distinguish between the two cases.

(ctx context.Context)

Source from the content-addressed store, hash-verified

11 // error was encountered during iteration. Err should be consulted to distinguish
12 // between the two cases.
13 Next(ctx context.Context) bool
14}
15
16// Index is an index lookup iterator. It allows to check if an index contains a specific value.

Callers 15

ServeV1QueryMethod · 0.65
serveRawQuadsMethod · 0.65
serveNodesWithPropsMethod · 0.65
RunFunction · 0.65
NextMethod · 0.65
runQueryFunction · 0.65
TestSexpFunction · 0.65
NextMethod · 0.65
runQueryGetTagFunction · 0.65
TestIssue160Function · 0.65
iterateObjectFunction · 0.65
dedupPropertiesFunction · 0.65

Implementers 15

mqlIteratorquery/mql/session.go
resultsquery/sexp/session.go
resultsquery/gizmo/gizmo.go
resultsquery/graphql/graphql.go
legacyItergraph/shape.go
allIteratorNextgraph/kv/all_iterator.go
quadIteratorNextgraph/kv/quad_iterator.go
iteratorNextgraph/sql/iterator.go
iteratorNextgraph/nosql/iterator.go
Enumeratorgraph/memstore/keys.go
allIteratorNextgraph/memstore/all_iterator.go
iteratorNextgraph/memstore/iterator.go

Calls

no outgoing calls

Tested by 15

runQueryFunction · 0.52
TestSexpFunction · 0.52
runQueryGetTagFunction · 0.52
TestIssue160Function · 0.52
TestRemoveQuadFunction · 0.52
benchmarkSetRndFunction · 0.52
benchmarkGetRndFunction · 0.52
benchmarkDelRndFunction · 0.52
benchmarkSeekRndFunction · 0.52
benchmarkNextFunction · 0.52