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, wait
forEachRemaining
forEach, spliterator
public StreamableQueryResult(org.codehaus.jackson.JsonParser parser, long size, InputStream inputStream)
public long size()
size
in interface QueryResult
public Iterator<SimpleEntity> iterator()
iterator
in interface Iterable<SimpleEntity>
public boolean isClosed()
isClosed
in interface QueryResult
public long getLastUsage()
public boolean hasNext()
hasNext
in interface Iterator<SimpleEntity>
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface QueryResult
public SimpleEntity next()
next
in interface Iterator<SimpleEntity>
public void remove()
remove
in interface Iterator<SimpleEntity>
Copyright © 2015. All rights reserved.