public static interface AMImageQueryBuilder.StrictSortStep extends AMImageQueryBuilder.FinalStep
Modifier and Type | Method and Description |
---|---|
<V> AMImageQueryBuilder.StrictSortStep |
orderBy(AMAttribute<AMImageProcessor,V> amAttribute,
AMImageQueryBuilder.SortOrder sortOrder)
An intermediate method that sorts the adaptive media based on a
specific attribute.
|
done
<V> AMImageQueryBuilder.StrictSortStep orderBy(AMAttribute<AMImageProcessor,V> amAttribute, AMImageQueryBuilder.SortOrder sortOrder)
This method takes precedence over the methods
AMImageQueryBuilder.FuzzySortStep.with(AMAttribute, Optional)
and
AMImageQueryBuilder.FuzzySortStep.with(AMAttribute, Object)
.
If the method StrictSortStep#orderBy(AMAttribute, SortOrder)
is invoked in the same query builder, it takes precedence and this
method has no effect.
If this method is invoked with multiple attributes, they will be used in the following order:
amAttribute
- the attribute used to sort the adaptive media
imagessortOrder
- the order used to sort the adaptive media images