| Package | Description |
|---|---|
| org.boon.datarepo | |
| org.boon.datarepo.impl | |
| org.boon.sort |
| Modifier and Type | Method and Description |
|---|---|
ResultSet |
ResultSet.sort(Sort sort) |
List<ITEM> |
SearchableCollection.sortedQuery(Sort sortBy,
Criteria... expressions) |
List<Map<String,Object>> |
SearchableCollection.sortedQuery(Sort sortBy,
List<Selector> selectors,
Criteria... expressions) |
void |
SearchableCollection.sortedQuery(Visitor<KEY,ITEM> visitor,
Sort sortBy,
Criteria... expressions) |
| Modifier and Type | Method and Description |
|---|---|
ResultSet |
ResultSetImpl.sort(Sort sort) |
List<ITEM> |
SearchableCollectionDefault.sortedQuery(Sort sortBy,
Criteria... expressions) |
List<ITEM> |
RepoDefault.sortedQuery(Sort sortBy,
Criteria... expressions) |
List<Map<String,Object>> |
SearchableCollectionDefault.sortedQuery(Sort sortBy,
List<Selector> selectors,
Criteria... expressions) |
List<Map<String,Object>> |
RepoDefault.sortedQuery(Sort sortBy,
List<Selector> selectors,
Criteria... expressions) |
void |
SearchableCollectionDefault.sortedQuery(Visitor<KEY,ITEM> visitor,
Sort sortBy,
Criteria... expressions) |
void |
RepoDefault.sortedQuery(Visitor<KEY,ITEM> visitor,
Sort sortBy,
Criteria... expressions) |
| Modifier and Type | Method and Description |
|---|---|
static Sort |
Sort.asc(String name)
Creates an ascending sort.
|
static Sort |
Sort.desc(String name)
Creates a descending sort.
|
static Sort |
Sort.descNullsFirst(String name)
Creates an descending sort.
|
static Sort |
Sort.sortBy(String name)
Creates an ascending sort.
|
static Sort |
Sort.sortByDesc(String name)
Creates a descending sort.
|
static Sort |
Sort.sortByDescending(String name)
Creates a descending sort.
|
static Sort |
Sort.sortByDescendingNullsFirst(String name)
Creates an descending sort.
|
static Sort |
Sort.sortByNullsFirst(String name)
Creates an ascending sort.
|
static Sort |
Sort.sorts(Sort... sorts)
Helper method to create a Sort that is a composite of other sorts.
|
Sort |
Sort.then(Sort sort) |
Sort |
Sort.then(String name) |
Sort |
Sort.thenAsc(String name) |
Sort |
Sort.thenDesc(String name) |
| Modifier and Type | Method and Description |
|---|---|
static <T> List<T> |
Ordering.firstOf(List<T> list,
int count,
Sort... sorts)
From the sorts, this is the first few items.
|
static <T> T |
Ordering.firstOf(List<T> list,
Sort... sorts)
First of... out of hte sorts.
|
static <T> List<T> |
Ordering.lastOf(List<T> list,
int count,
Sort... sorts)
Grabs the last few items from the list.
|
static <T> T |
Ordering.lastOf(List<T> list,
Sort... sorts)
Grabs the last items after the sort.
|
static void |
Sorting.sort(List list,
Sort... sorts)
Takes a list an an array or sorts
|
static Sort |
Sort.sorts(Sort... sorts)
Helper method to create a Sort that is a composite of other sorts.
|
Sort |
Sort.then(Sort sort) |
Copyright © 2014. All rights reserved.