public class SubqueryIterator extends Object implements Iterator<JanusGraphElement>, AutoCloseable
Constructor and Description |
---|
SubqueryIterator(JointIndexQuery.Subquery subQuery,
IndexSerializer indexSerializer,
BackendTransaction tx,
com.google.common.cache.Cache<JointIndexQuery.Subquery,List<Object>> indexCache,
int limit,
Function<Object,? extends JanusGraphElement> function,
List<Object> otherResults) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
hasNext() |
JanusGraphElement |
next() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, remove
public SubqueryIterator(JointIndexQuery.Subquery subQuery, IndexSerializer indexSerializer, BackendTransaction tx, com.google.common.cache.Cache<JointIndexQuery.Subquery,List<Object>> indexCache, int limit, Function<Object,? extends JanusGraphElement> function, List<Object> otherResults)
public boolean hasNext()
hasNext
in interface Iterator<JanusGraphElement>
public JanusGraphElement next()
next
in interface Iterator<JanusGraphElement>
public void close() throws Exception
close
in interface AutoCloseable
Exception
Copyright © 2012–2020. All rights reserved.