public final class RevenjQueryComposer<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
RevenjQueryComposer.GetConnection |
static interface |
RevenjQueryComposer.ReleaseConnection |
public static <T extends DataSource> org.revenj.postgres.jinq.RevenjQuery<T> findAll(MetamodelUtil metamodel, Class<T> manifest, RevenjQueryComposerCache cachedQueries, Connection conn, ServiceLocator locator, RevenjQueryComposer.GetConnection getConnection, RevenjQueryComposer.ReleaseConnection releaseConnection)
public long count()
throws SQLException
SQLExceptionpublic boolean any()
throws SQLException
SQLExceptionpublic boolean all(Object lambda) throws SQLException
SQLExceptionpublic boolean none()
throws SQLException
SQLExceptionpublic Optional<T> first() throws SQLException
SQLExceptionpublic List<T> toList() throws SQLException
SQLExceptionpublic <U> RevenjQueryComposer<U> applyTransformWithLambda(Class<U> newManifest, RevenjOneLambdaQueryTransform transform, Object lambda)
public <U> RevenjQueryComposer<U> applyTransformWithLambdas(Class<U> newManifest, RevenjMultiLambdaQueryTransform transform, Object[] groupingLambdas)
public RevenjQueryTransformConfiguration getConfig()
public <E extends Exception> RevenjQueryComposer<T> where(Object testLambda)
public <V extends Comparable<V>> RevenjQueryComposer<T> sortedBy(Object sorter, boolean isAscending)
public RevenjQueryComposer<T> limit(long n)
public RevenjQueryComposer<T> skip(long n)
Copyright © 2015. All rights reserved.