Class DocValuesFieldValueSource
java.lang.Object
com.atlassian.confluence.internal.search.v2.lucene.DocValuesFieldValueSource
- All Implemented Interfaces:
FieldValueSource
@Deprecated(forRemoval=true)
public class DocValuesFieldValueSource
extends Object
implements FieldValueSource
Deprecated, for removal: This API element is subject to removal in a future version.
since 8.7, not supported on OpenSearch.
Represents binary doc values field its value is of type
byte[]
.
NOTE: Format of bytes is in UTF-8 format.
- Since:
- 7.12
-
Constructor Summary
ConstructorsConstructorDescriptionDocValuesFieldValueSource
(String fieldName, Function<byte[], Double> extractor) Deprecated, for removal: This API element is subject to removal in a future version.Creates a value source for a doc values field. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Returns field name where the numerical value comes from.int
hashCode()
Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
DocValuesFieldValueSource
Deprecated, for removal: This API element is subject to removal in a future version.Creates a value source for a doc values field.- Parameters:
fieldName
- field name for doc values.extractor
- for converting relevant UTF-8 bytes from doc values field to a Double value.
-
-
Method Details
-
getFieldName
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:FieldValueSource
Returns field name where the numerical value comes from.- Specified by:
getFieldName
in interfaceFieldValueSource
-
getExtractor
Deprecated, for removal: This API element is subject to removal in a future version. -
equals
Deprecated, for removal: This API element is subject to removal in a future version. -
hashCode
public int hashCode()Deprecated, for removal: This API element is subject to removal in a future version.
-