public class QueryResultBuilder<T> extends Object implements QueryResult<T>
| Constructor and Description |
|---|
QueryResultBuilder(Iterable<T> result) |
QueryResultBuilder(Iterable<T> result,
ResultConverter<T,?> defaultConverter) |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(Handler<T> handler) |
Iterator<T> |
iterator() |
<R> ConvertedResult<R> |
to(Class<R> type) |
<R> ConvertedResult<R> |
to(Class<R> type,
ResultConverter<T,R> resultConverter) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic QueryResultBuilder(Iterable<T> result, ResultConverter<T,?> defaultConverter)
public <R> ConvertedResult<R> to(Class<R> type)
to in interface QueryResult<T>public <R> ConvertedResult<R> to(Class<R> type, ResultConverter<T,R> resultConverter)
to in interface QueryResult<T>public void handle(Handler<T> handler)
handle in interface QueryResult<T>Copyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.