Uses of Class
com.github.collinalpert.java2db.queries.EntityQuery
-
Packages that use EntityQuery Package Description com.github.collinalpert.java2db.pagination com.github.collinalpert.java2db.queries com.github.collinalpert.java2db.services -
-
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 type, com.github.collinalpert.lambda2sql.functions.SqlFunction<E,?>... functions)Sets multiple 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. 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(java.lang.Class<R> returnType, 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<T>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<T>BaseService. getMultiple(com.github.collinalpert.lambda2sql.functions.SqlPredicate<T> predicate)Retrieves list of entities which match the predicate.
-