Uses of Class
com.github.collinalpert.java2db.queries.EntityQuery
-
Uses of EntityQuery in com.github.collinalpert.java2db.pagination
Fields in com.github.collinalpert.java2db.pagination with type parameters of type EntityQuery Modifier and Type Field Description protected java.util.List<EntityQuery<T>>PaginationResult. queriesConstructor parameters in com.github.collinalpert.java2db.pagination with type arguments of type EntityQuery Constructor Description CacheablePaginationResult(java.util.List<EntityQuery<T>> queries, java.time.Duration cacheExpiration)Constructor that allows the creation of a cached pagination.PaginationResult(java.util.List<EntityQuery<T>> queries) -
Uses of EntityQuery in com.github.collinalpert.java2db.queries
Methods in com.github.collinalpert.java2db.queries that return EntityQuery Modifier and Type Method Description EntityQuery<E>EntityQuery. limit(int limit)Limits the result of the rows returned to a maximum of the passed integer.EntityQuery<E>EntityQuery. limit(int limit, int offset)Limits the result of the rows returned to a maximum of the passed integer with an offset.EntityQuery<E>EntityQuery. orderBy(OrderTypes orderType, com.github.collinalpert.lambda2sql.functions.SqlFunction<E,?> function)Sets an ORDER BY clauses for the DQL statement with a sorting order option.EntityQuery<E>EntityQuery. orderBy(OrderTypes orderType, com.github.collinalpert.lambda2sql.functions.SqlFunction<E,?>[] functions)Sets multiple ORDER BY clauses for the DQL statement with a sorting order option.EntityQuery<E>EntityQuery. orderBy(OrderTypes orderType, java.util.List<com.github.collinalpert.lambda2sql.functions.SqlFunction<E,?>> functions)Sets multiple ORDER BY clauses for the DQL statement with a sorting order option.EntityQuery<E>EntityQuery. orderBy(com.github.collinalpert.lambda2sql.functions.SqlFunction<E,?> function)Sets an ORDER BY clauses for the DQL statement.EntityQuery<E>EntityQuery. orderBy(com.github.collinalpert.lambda2sql.functions.SqlFunction<E,?>[] functions)Sets multiple ORDER BY clauses for the DQL statement.EntityQuery<E>EntityQuery. orderBy(java.util.List<com.github.collinalpert.lambda2sql.functions.SqlFunction<E,?>> functions)Sets multiple ORDER BY clauses for the DQL statement.EntityQuery<E>EntityQuery. orWhere(com.github.collinalpert.lambda2sql.functions.SqlPredicate<E> predicate)Sets or appends an OR WHERE clause to the DQL statement.EntityQuery<E>EntityQuery. where(com.github.collinalpert.lambda2sql.functions.SqlPredicate<E> predicate)Sets or appends a WHERE clause for the DQL statement.Constructors in com.github.collinalpert.java2db.queries with parameters of type EntityQuery Constructor Description EntityProjectionQuery(com.github.collinalpert.lambda2sql.functions.SqlFunction<E,R> projection, EntityQuery<E> originalQuery) -
Uses of EntityQuery in com.github.collinalpert.java2db.queries.async
Subclasses of EntityQuery in com.github.collinalpert.java2db.queries.async Modifier and Type Class Description classAsyncEntityQuery<E extends BaseEntity>Constructors in com.github.collinalpert.java2db.queries.async with parameters of type EntityQuery Constructor Description AsyncEntityProjectionQuery(com.github.collinalpert.lambda2sql.functions.SqlFunction<E,R> projection, EntityQuery<E> originalQuery) -
Uses of EntityQuery in com.github.collinalpert.java2db.services
Methods in com.github.collinalpert.java2db.services that return EntityQuery Modifier and Type Method Description protected EntityQuery<E>BaseService. createQuery()EntityQuery<T>BaseCodeAndDescriptionDeletableService. getByDescription(java.lang.String description)Retrieves entries from a table based on their description.EntityQuery<T>BaseCodeAndDescriptionService. getByDescription(java.lang.String description)Retrieves entries from a table based on their description.EntityQuery<E>BaseService. getMultiple(com.github.collinalpert.lambda2sql.functions.SqlPredicate<E> predicate)Retrieves list of entities which match the predicate.