Module org.elasticsearch.compute
Package org.elasticsearch.compute.lucene
Enum Class LuceneMinFactory.NumberType
java.lang.Object
java.lang.Enum<LuceneMinFactory.NumberType>
org.elasticsearch.compute.lucene.LuceneMinFactory.NumberType
- All Implemented Interfaces:
Serializable,Comparable<LuceneMinFactory.NumberType>,Constable
- Enclosing class:
LuceneMinFactory
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionbuildEmptyResult(BlockFactory blockFactory, int pageSize) Build the corresponding blockbuildResult(BlockFactory blockFactory, long result, int pageSize) Build the corresponding blockfinal longevaluate(long value1, long value2) final longfromPointValues(org.apache.lucene.index.PointValues pointValues) final org.apache.lucene.index.NumericDocValuesmultiValueMode(org.apache.lucene.index.SortedNumericDocValues sortedNumericDocValues) static LuceneMinFactory.NumberTypeReturns the enum constant of this class with the specified name.static LuceneMinFactory.NumberType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INTEGER
-
FLOAT
-
LONG
-
DOUBLE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
multiValueMode
public final org.apache.lucene.index.NumericDocValues multiValueMode(org.apache.lucene.index.SortedNumericDocValues sortedNumericDocValues) -
fromPointValues
public final long fromPointValues(org.apache.lucene.index.PointValues pointValues) throws IOException - Throws:
IOException
-
evaluate
public final long evaluate(long value1, long value2) -
buildResult
Build the corresponding block -
buildEmptyResult
Build the corresponding block
-