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, waitforEachRemaining, removepublic 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 AutoCloseableExceptionCopyright © 2012–2018. All rights reserved.