public class SortedNumericSelector
extends java.lang.Object
This provides a NumericDocValues view over the SortedNumeric, for use with sorting, expressions, function queries, etc.
Modifier and Type | Class and Description |
---|---|
(package private) static class |
SortedNumericSelector.MaxValue
Wraps a SortedNumericDocValues and returns the last value (max)
|
(package private) static class |
SortedNumericSelector.MinValue
Wraps a SortedNumericDocValues and returns the first value (min)
|
static class |
SortedNumericSelector.Type
Type of selection to perform.
|
Constructor and Description |
---|
SortedNumericSelector() |
Modifier and Type | Method and Description |
---|---|
static NumericDocValues |
wrap(SortedNumericDocValues sortedNumeric,
SortedNumericSelector.Type selector,
SortField.Type numericType)
Wraps a multi-valued SortedNumericDocValues as a single-valued view, using the specified selector
and numericType.
|
public static NumericDocValues wrap(SortedNumericDocValues sortedNumeric, SortedNumericSelector.Type selector, SortField.Type numericType)