Interface DistanceSortMissingValueBehaviorStep<N>
-
- Type Parameters:
N- The type of the next step (returned byfirst(), for example).
public interface DistanceSortMissingValueBehaviorStep<N>The step in a sort definition where the behavior on missing values can be set.- Author:
- Emmanuel Bernard emmanuel@hibernate.org
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Nfirst()Put documents with missing values first in the sorting.Nlast()Put documents with missing values last in the sorting.Nuse(GeoPoint value)When documents are missing a value on the sort field, use the given value instead.
-
-
-
Method Detail
-
last
N last()
Put documents with missing values last in the sorting.This instruction is independent of whether the sort is being ascending or descending.
- Returns:
- The next step.
-
first
N first()
Put documents with missing values first in the sorting.This instruction is independent of whether the sort is being ascending or descending.
- Returns:
- The next step.
-
-