Uses of Class
com.github.collinalpert.java2db.queries.OrderTypes
-
Packages that use OrderTypes Package Description com.github.collinalpert.java2db.pagination com.github.collinalpert.java2db.queries com.github.collinalpert.java2db.services -
-
Uses of OrderTypes in com.github.collinalpert.java2db.pagination
Methods in com.github.collinalpert.java2db.pagination with parameters of type OrderTypes Modifier and Type Method Description PaginationResult<T>PaginationResult. orderBy(com.github.collinalpert.lambda2sql.functions.SqlFunction<T,?> orderFunction, OrderTypes orderType)Adds an ORDER BY statement to the queries executed for the pages. -
Uses of OrderTypes in com.github.collinalpert.java2db.queries
Methods in com.github.collinalpert.java2db.queries that return OrderTypes Modifier and Type Method Description static OrderTypesOrderTypes. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static OrderTypes[]OrderTypes. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.github.collinalpert.java2db.queries with parameters of type OrderTypes Modifier and Type Method Description Query<T>Query. orderBy(com.github.collinalpert.lambda2sql.functions.SqlFunction<T,?> function, OrderTypes type)Sets an ORDER BY clause for the DQL statement. -
Uses of OrderTypes in com.github.collinalpert.java2db.services
Methods in com.github.collinalpert.java2db.services with parameters of type OrderTypes Modifier and Type Method Description java.util.List<T>BaseService. getAll(com.github.collinalpert.lambda2sql.functions.SqlFunction<T,?> orderBy, OrderTypes sortingType)Gets all values from the table and orders them in the specified order.java.util.List<T>BaseService. getAll(com.github.collinalpert.lambda2sql.functions.SqlFunction<T,?> orderBy, OrderTypes sortingType, int limit)Gets all values from the table, orders them in a specific order and limits the result.
-