public class IterableQuerySource extends Object implements org.qi4j.spi.query.QuerySource
Modifier and Type | Method and Description |
---|---|
<T> long |
count(Class<T> resultType,
org.qi4j.functional.Specification<org.qi4j.api.composite.Composite> whereClause,
Iterable<org.qi4j.api.query.grammar.OrderBy> orderBySegments,
Integer firstResult,
Integer maxResults,
Map<String,Object> variables) |
<T> T |
find(Class<T> resultType,
org.qi4j.functional.Specification<org.qi4j.api.composite.Composite> whereClause,
Iterable<org.qi4j.api.query.grammar.OrderBy> orderBySegments,
Integer firstResult,
Integer maxResults,
Map<String,Object> variables) |
<T> Iterator<T> |
iterator(Class<T> resultType,
org.qi4j.functional.Specification<org.qi4j.api.composite.Composite> whereClause,
Iterable<org.qi4j.api.query.grammar.OrderBy> orderBySegments,
Integer firstResult,
Integer maxResults,
Map<String,Object> variables) |
String |
toString() |
public <T> T find(Class<T> resultType, org.qi4j.functional.Specification<org.qi4j.api.composite.Composite> whereClause, Iterable<org.qi4j.api.query.grammar.OrderBy> orderBySegments, Integer firstResult, Integer maxResults, Map<String,Object> variables)
find
in interface org.qi4j.spi.query.QuerySource
public <T> long count(Class<T> resultType, org.qi4j.functional.Specification<org.qi4j.api.composite.Composite> whereClause, Iterable<org.qi4j.api.query.grammar.OrderBy> orderBySegments, Integer firstResult, Integer maxResults, Map<String,Object> variables)
count
in interface org.qi4j.spi.query.QuerySource
public <T> Iterator<T> iterator(Class<T> resultType, org.qi4j.functional.Specification<org.qi4j.api.composite.Composite> whereClause, Iterable<org.qi4j.api.query.grammar.OrderBy> orderBySegments, Integer firstResult, Integer maxResults, Map<String,Object> variables)
iterator
in interface org.qi4j.spi.query.QuerySource