Uses of Class
com.github.collinalpert.java2db.queries.Query
-
Packages that use Query Package Description com.github.collinalpert.java2db.pagination com.github.collinalpert.java2db.queries com.github.collinalpert.java2db.services -
-
Uses of Query in com.github.collinalpert.java2db.pagination
Fields in com.github.collinalpert.java2db.pagination with type parameters of type Query Modifier and Type Field Description protected java.util.List<Query<T>>PaginationResult. queriesConstructor parameters in com.github.collinalpert.java2db.pagination with type arguments of type Query Constructor Description CacheablePaginationResult(java.util.List<Query<T>> queries, java.time.Duration cacheExpiration)Constructor that allows the creation of a cached pagination.PaginationResult(java.util.List<Query<T>> queries) -
Uses of Query in com.github.collinalpert.java2db.queries
Methods in com.github.collinalpert.java2db.queries that return Query Modifier and Type Method Description Query<T>Query. limit(int limit)Limits the result of the rows returned to a maximum of the passed integer.Query<T>Query. limit(int limit, int offset)Limits the result of the rows returned to a maximum of the passed integer with an offset.Query<T>Query. orderBy(OrderTypes type, com.github.collinalpert.lambda2sql.functions.SqlFunction<T,?>... functions)Sets multiple ORDER BY clauses for the DQL statement.Query<T>Query. orderBy(com.github.collinalpert.lambda2sql.functions.SqlFunction<T,?> function)Deprecated, for removal: This API element is subject to removal in a future version.Since the coalescing feature for ORDER BY statements was introduced, there is no need for the single-parameter methods.Query<T>Query. orderBy(com.github.collinalpert.lambda2sql.functions.SqlFunction<T,?>... functions)Sets multiple ORDER BY clauses for the DQL statement.Query<T>Query. orderBy(com.github.collinalpert.lambda2sql.functions.SqlFunction<T,?> function, OrderTypes type)Deprecated, for removal: This API element is subject to removal in a future version.Since the coalescing feature for ORDER BY statements was introduced, there is no need for the single-parameter methods.Query<T>Query. orWhere(com.github.collinalpert.lambda2sql.functions.SqlPredicate<T> predicate)Sets or appends an OR WHERE clause to the DQL statement.Query<T>Query. where(com.github.collinalpert.lambda2sql.functions.SqlPredicate<T> predicate)Sets or appends a WHERE clause for the DQL statement. -
Uses of Query in com.github.collinalpert.java2db.services
Methods in com.github.collinalpert.java2db.services that return Query Modifier and Type Method Description protected Query<T>BaseService. createQuery()Query<T>BaseService. getMultiple(com.github.collinalpert.lambda2sql.functions.SqlPredicate<T> predicate)Retrieves list of entities which match the predicate.
-