Uses of Class
com.github.collinalpert.java2db.queries.Query
-
Packages that use Query Package Description com.github.collinalpert.java2db.queries com.github.collinalpert.java2db.services -
-
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. as(java.lang.String alias)Applies an alias to the result.Query<T>Query. limit(int limit)Limits the result of the rows returned to a maximum of the passed integer.Query<T>Query. orderBy(SqlFunction<T,?> function)Adds an ORDER BY clause to the DQL statement.Query<T>Query. orderBy(SqlFunction<T,?> function, OrderTypes type)Adds an ORDER BY clause to the DQL statement.Query<T>Query. where(SqlPredicate<T> predicate)Adds a WHERE clause to the DQL statement.Constructors in com.github.collinalpert.java2db.queries with parameters of type Query Constructor Description Query(Query<T> subSelect, BaseMapper<T> mapper)Constructor for creating a DQL statement which includes a sub select. -
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. getMultiple(SqlPredicate<T> predicate)Retrieves list of entities which match the predicate.protected Query<T>BaseService. selectQuery()protected Query<T>BaseService. subSelectQuery(Query<T> subSelect)Creates a DQL statement which contains a sub select.Methods in com.github.collinalpert.java2db.services with parameters of type Query Modifier and Type Method Description protected Query<T>BaseService. subSelectQuery(Query<T> subSelect)Creates a DQL statement which contains a sub select.
-