Package com.yahoo.document
Class ExtendedStringField
java.lang.Object
com.yahoo.vespa.objects.FieldBase
com.yahoo.document.Field
com.yahoo.document.ExtendedField
com.yahoo.document.ExtendedStringField
- All Implemented Interfaces:
FieldSet
,Comparable<Field>
This adds an Extractor to the ExtendedField that can be used to get access the backed spantrees
used in the concrete document types.
- Author:
- baldersheim
-
Nested Class Summary
Nested classes/interfaces inherited from class com.yahoo.document.ExtendedField
ExtendedField.Extract
-
Field Summary
-
Constructor Summary
ConstructorDescriptionExtendedStringField
(String name, DataType type, ExtendedField.Extract extract, ExtendedStringField.ExtractSpanTrees extractSpanTrees) -
Method Summary
Methods inherited from class com.yahoo.document.Field
calculateIdV7, clone, compareTo, contains, equals, getDataType, getId, hasForcedId, hashCode, setDataType, setId, toString
Methods inherited from class com.yahoo.vespa.objects.FieldBase
getName
-
Constructor Details
-
ExtendedStringField
public ExtendedStringField(String name, DataType type, ExtendedField.Extract extract, ExtendedStringField.ExtractSpanTrees extractSpanTrees)
-
-
Method Details
-
getFieldValue
- Overrides:
getFieldValue
in classExtendedField
-
setFieldValue
- Overrides:
setFieldValue
in classExtendedField
-