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() |
static String |
replaceParams(String statement,
Map<String,Object> params) |
<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, wait
forEach, spliterator
public 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–2015 Pivotal Software, Inc.. All rights reserved.