public class StreamableQueryResult extends Object implements QueryResult
| Constructor and Description |
|---|
StreamableQueryResult(org.codehaus.jackson.JsonParser parser,
long size,
InputStream inputStream) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
getLastUsage() |
boolean |
hasNext() |
boolean |
isClosed() |
Iterator<SimpleEntity> |
iterator() |
SimpleEntity |
next() |
void |
remove() |
long |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingforEach, spliteratorpublic StreamableQueryResult(org.codehaus.jackson.JsonParser parser,
long size,
InputStream inputStream)
public long size()
size in interface QueryResultpublic Iterator<SimpleEntity> iterator()
iterator in interface Iterable<SimpleEntity>public boolean isClosed()
isClosed in interface QueryResultpublic long getLastUsage()
public boolean hasNext()
hasNext in interface Iterator<SimpleEntity>public void close()
close in interface Closeableclose in interface AutoCloseableclose in interface QueryResultpublic SimpleEntity next()
next in interface Iterator<SimpleEntity>public void remove()
remove in interface Iterator<SimpleEntity>Copyright © 2015. All rights reserved.