Uses of Class
com.github.collinalpert.java2db.queries.ordering.OrderTypes
-
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(OrderTypes orderType, com.github.collinalpert.lambda2sql.functions.SqlFunction<T,?>... orderFunctions)Adds ORDER BY statements to the queries executed for the pages in a coalescing manner. -
Uses of OrderTypes in com.github.collinalpert.java2db.queries
Methods in com.github.collinalpert.java2db.queries that return OrderTypes Modifier and Type Method Description OrderTypesQueryParameters. getOrderType()Methods in com.github.collinalpert.java2db.queries with parameters of type OrderTypes Modifier and Type Method Description voidQueryParameters. addOrderByColumns(com.github.collinalpert.lambda2sql.functions.SqlFunction<E,?> orderByColumn, OrderTypes orderType)voidQueryParameters. addOrderByColumns(List<com.github.collinalpert.lambda2sql.functions.SqlFunction<E,?>> orderByColumns, OrderTypes orderType)EntityQuery<E>EntityQuery. orderBy(com.github.collinalpert.lambda2sql.functions.SqlFunction<E,?>[] functions, OrderTypes orderType)Sets multiple ORDER BY clauses for the DQL statement.EntityQuery<E>EntityQuery. orderBy(com.github.collinalpert.lambda2sql.functions.SqlFunction<E,?> function, OrderTypes orderType)Sets an ORDER BY clauses for the DQL statement.EntityQuery<E>EntityQuery. orderBy(List<com.github.collinalpert.lambda2sql.functions.SqlFunction<E,?>> functions, OrderTypes orderType)Sets multiple ORDER BY clauses for the DQL statement.voidQueryParameters. setOrderByClause(com.github.collinalpert.lambda2sql.functions.SqlFunction<E,?> orderByColumn, OrderTypes orderType)voidQueryParameters. setOrderByClause(List<com.github.collinalpert.lambda2sql.functions.SqlFunction<E,?>> orderByColumns, OrderTypes orderType)voidQueryParameters. setOrderType(OrderTypes orderType)EntityQuery<E>EntityQuery. thenBy(com.github.collinalpert.lambda2sql.functions.SqlFunction<E,?>[] functions, OrderTypes orderType)Sets multiple ORDER BY clauses for the DQL statement.EntityQuery<E>EntityQuery. thenBy(com.github.collinalpert.lambda2sql.functions.SqlFunction<E,?> function, OrderTypes orderType)Sets an ORDER BY clauses for the DQL statement.EntityQuery<E>EntityQuery. thenBy(List<com.github.collinalpert.lambda2sql.functions.SqlFunction<E,?>> functions, OrderTypes orderType)Sets multiple ORDER BY clauses for the DQL statement. -
Uses of OrderTypes in com.github.collinalpert.java2db.queries.async
Methods in com.github.collinalpert.java2db.queries.async with parameters of type OrderTypes Modifier and Type Method Description AsyncEntityQuery<E>AsyncEntityQuery. orderBy(com.github.collinalpert.lambda2sql.functions.SqlFunction<E,?>[] functions, OrderTypes orderType)Sets multiple ORDER BY clauses for the DQL statement with a sorting order option.AsyncEntityQuery<E>AsyncEntityQuery. orderBy(com.github.collinalpert.lambda2sql.functions.SqlFunction<E,?> function, OrderTypes orderType)Sets an ORDER BY clauses for the DQL statement with a sorting order option.AsyncEntityQuery<E>AsyncEntityQuery. orderBy(List<com.github.collinalpert.lambda2sql.functions.SqlFunction<E,?>> functions, OrderTypes orderType)Sets multiple ORDER BY clauses for the DQL statement with a sorting order option. -
Uses of OrderTypes in com.github.collinalpert.java2db.queries.ordering
Methods in com.github.collinalpert.java2db.queries.ordering that return OrderTypes Modifier and Type Method Description OrderTypesOrderByStatement. getOrderType()static OrderTypesOrderTypes. valueOf(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.ordering with parameters of type OrderTypes Modifier and Type Method Description voidOrderByClause. addStatement(com.github.collinalpert.lambda2sql.functions.SqlFunction<E,?> column, OrderTypes orderType)voidOrderByClause. addStatement(List<com.github.collinalpert.lambda2sql.functions.SqlFunction<E,?>> columns, OrderTypes orderType)Constructors in com.github.collinalpert.java2db.queries.ordering with parameters of type OrderTypes Constructor Description OrderByClause(com.github.collinalpert.lambda2sql.functions.SqlFunction<E,?> column, OrderTypes orderType)OrderByClause(List<com.github.collinalpert.lambda2sql.functions.SqlFunction<E,?>> columns, OrderTypes orderType)OrderByStatement(List<com.github.collinalpert.lambda2sql.functions.SqlFunction<E,?>> columns, OrderTypes orderType) -
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 List<E>BaseService. getAll(com.github.collinalpert.lambda2sql.functions.SqlFunction<E,?>[] orderBy, OrderTypes sortingType)Gets all values from the table and orders them in the specified order by multiple columns in a coalescing manner.List<E>BaseService. getAll(com.github.collinalpert.lambda2sql.functions.SqlFunction<E,?> orderBy, OrderTypes sortingType)Gets all values from the table and orders them in the specified order by multiple columns in a coalescing manner.CompletableFuture<Void>AsyncBaseService. getAllAsync(Consumer<? super List<E>> callback, OrderTypes sortingType, com.github.collinalpert.lambda2sql.functions.SqlFunction<E,?> orderBy)The asynchronous version of theBaseService.getAll(SqlFunction, OrderTypes)method.CompletableFuture<Void>AsyncBaseService. getAllAsync(Consumer<? super List<E>> callback, OrderTypes sortingType, com.github.collinalpert.lambda2sql.functions.SqlFunction<E,?>... orderBy)The asynchronous version of theBaseService.getAll(SqlFunction[], OrderTypes)method.