Package com.yahoo.document.serialization
Interface FieldReader
- All Superinterfaces:
com.yahoo.vespa.objects.Deserializer
- All Known Subinterfaces:
DocumentDeserializer
- All Known Implementing Classes:
VespaDocumentDeserializer6,VespaDocumentDeserializerHead,VespaXMLDocumentReader,VespaXMLFieldReader,VespaXMLUpdateReader
public interface FieldReader
extends com.yahoo.vespa.objects.Deserializer
- Author:
- Ravi Sharma
-
Method Summary
Modifier and TypeMethodDescriptionvoidread(com.yahoo.vespa.objects.FieldBase field, AnnotationReference value) Read in the value of annotation reference.<T extends FieldValue>
voidRead in the value of array fieldvoidread(com.yahoo.vespa.objects.FieldBase field, BoolFieldValue value) Read in the value of byte fieldvoidread(com.yahoo.vespa.objects.FieldBase field, ByteFieldValue value) Read in the value of byte field<T extends FieldValue>
voidread(com.yahoo.vespa.objects.FieldBase field, CollectionFieldValue<T> value) Read in the value of collection fieldvoidread(com.yahoo.vespa.objects.FieldBase field, DoubleFieldValue value) Read in the value of double fieldvoidread(com.yahoo.vespa.objects.FieldBase field, FieldValue value) Read in the value of fieldvoidread(com.yahoo.vespa.objects.FieldBase field, FloatFieldValue value) Read in the value of float fieldvoidread(com.yahoo.vespa.objects.FieldBase field, IntegerFieldValue value) Read in the value of integer fieldvoidread(com.yahoo.vespa.objects.FieldBase field, LongFieldValue value) Read in the value of long field<K extends FieldValue,V extends FieldValue>
voidread(com.yahoo.vespa.objects.FieldBase field, MapFieldValue<K, V> map) Read the value of a map fieldvoidread(com.yahoo.vespa.objects.FieldBase field, PredicateFieldValue value) Read in the value of predicate fieldvoidRead in the value of raw fieldvoidread(com.yahoo.vespa.objects.FieldBase field, ReferenceFieldValue value) Read in the value of the given reference field.voidread(com.yahoo.vespa.objects.FieldBase field, StringFieldValue value) Read in the value of string fieldvoidRead in the value of struct fieldvoidread(com.yahoo.vespa.objects.FieldBase field, StructuredFieldValue value) Read in the value of structured fieldvoidread(com.yahoo.vespa.objects.FieldBase field, TensorFieldValue value) Read in the value of the given tensor field.<T extends FieldValue>
voidread(com.yahoo.vespa.objects.FieldBase field, WeightedSet<T> value) Read in the value of weighted set fieldvoidRead in the value of fieldMethods inherited from interface com.yahoo.vespa.objects.Deserializer
getByte, getBytes, getDouble, getFloat, getInt, getLong, getShort, getString
-
Method Details
-
read
Read in the value of field- Parameters:
field- - field description (name and data type)value- - field value
-
read
Read in the value of field- Parameters:
field- - field description (name and data type)value- - field value
-
read
Read in the value of array field- Parameters:
field- - field description (name and data type)value- - field value
-
read
<K extends FieldValue,V extends FieldValue> void read(com.yahoo.vespa.objects.FieldBase field, MapFieldValue<K, V> map) Read the value of a map field -
read
Read in the value of byte field- Parameters:
field- - field description (name and data type)value- - field value
-
read
Read in the value of byte field- Parameters:
field- - field description (name and data type)value- - field value
-
read
<T extends FieldValue> void read(com.yahoo.vespa.objects.FieldBase field, CollectionFieldValue<T> value) Read in the value of collection field- Parameters:
field- - field description (name and data type)value- - field value
-
read
Read in the value of double field- Parameters:
field- - field description (name and data type)value- - field value
-
read
Read in the value of float field- Parameters:
field- - field description (name and data type)value- - field value
-
read
Read in the value of integer field- Parameters:
field- - field description (name and data type)value- - field value
-
read
Read in the value of long field- Parameters:
field- - field description (name and data type)value- - field value
-
read
Read in the value of raw field- Parameters:
field- - field description (name and data type)value- - field value
-
read
Read in the value of predicate field- Parameters:
field- - field description (name and data type)value- - field value
-
read
Read in the value of string field- Parameters:
field- - field description (name and data type)value- - field value
-
read
Read in the value of the given tensor field.- Parameters:
field- field description (name and data type)value- tensor field value
-
read
Read in the value of the given reference field.- Parameters:
field- field description (name and data type)value- reference field value
-
read
Read in the value of struct field- Parameters:
field- - field description (name and data type)value- - field value
-
read
Read in the value of structured field- Parameters:
field- - field description (name and data type)value- - field value
-
read
Read in the value of weighted set field- Parameters:
field- - field description (name and data type)value- - field value
-
read
Read in the value of annotation reference.- Parameters:
field- - field description (name and data type)value- - field value
-