Manual implementation of query ordering for datastores that don't support native ordering. Not all NoSQL datastores support the SQL equivalent of ORDER BY, hence manual in-memory ordering is the only way to simulate such queries.
Constructor and description |
---|
ManualEntityOrdering
(PersistentEntity entity) |
Type | Name and description |
---|---|
java.util.List |
applyOrder(java.util.List results, java.util.List<Query.Order> orderDefinition) |
java.util.List |
applyOrder(java.util.List results, Order order) |
PersistentEntity |
getEntity() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |