public interface FieldWriter
extends com.yahoo.vespa.objects.Serializer
Modifier and Type | Method and Description |
---|---|
void |
write(com.yahoo.vespa.objects.FieldBase field,
AnnotationReference value)
Write out the value of annotation data.
|
<T extends FieldValue> |
write(com.yahoo.vespa.objects.FieldBase field,
Array<T> value)
Write out the value of array field
|
void |
write(com.yahoo.vespa.objects.FieldBase field,
ByteFieldValue value)
Write out the value of byte field
|
<T extends FieldValue> |
write(com.yahoo.vespa.objects.FieldBase field,
CollectionFieldValue<T> value)
Write out the value of collection field
|
void |
write(com.yahoo.vespa.objects.FieldBase field,
Document value)
Write out the value of field
|
void |
write(com.yahoo.vespa.objects.FieldBase field,
DoubleFieldValue value)
Write out the value of double field
|
void |
write(com.yahoo.vespa.objects.FieldBase field,
FieldValue value)
Write out the value of field
|
void |
write(com.yahoo.vespa.objects.FieldBase field,
FloatFieldValue value)
Write out the value of float field
|
void |
write(com.yahoo.vespa.objects.FieldBase field,
IntegerFieldValue value)
Write out the value of integer field
|
void |
write(com.yahoo.vespa.objects.FieldBase field,
LongFieldValue value)
Write out the value of long field
|
<K extends FieldValue,V extends FieldValue> |
write(com.yahoo.vespa.objects.FieldBase field,
MapFieldValue<K,V> map)
Write the value of a map field
|
void |
write(com.yahoo.vespa.objects.FieldBase field,
PredicateFieldValue value)
Write out the value of predicate field
|
void |
write(com.yahoo.vespa.objects.FieldBase field,
Raw value)
Write out the value of raw field
|
void |
write(com.yahoo.vespa.objects.FieldBase field,
ReferenceFieldValue value)
Write out the value of the given reference field value.
|
void |
write(com.yahoo.vespa.objects.FieldBase field,
StringFieldValue value)
Write out the value of string field
|
void |
write(com.yahoo.vespa.objects.FieldBase field,
Struct value)
Write out the value of struct field
|
void |
write(com.yahoo.vespa.objects.FieldBase field,
StructuredFieldValue value)
Write out the value of structured field
|
void |
write(com.yahoo.vespa.objects.FieldBase field,
TensorFieldValue value)
Write out the value of the given tensor field value.
|
<T extends FieldValue> |
write(com.yahoo.vespa.objects.FieldBase field,
WeightedSet<T> value)
Write out the value of weighted set field
|
void write(com.yahoo.vespa.objects.FieldBase field, FieldValue value)
field
- field description (name and data type)value
- field valuevoid write(com.yahoo.vespa.objects.FieldBase field, Document value)
field
- field description (name and data type)value
- field value<T extends FieldValue> void write(com.yahoo.vespa.objects.FieldBase field, Array<T> value)
field
- field description (name and data type)value
- field value<K extends FieldValue,V extends FieldValue> void write(com.yahoo.vespa.objects.FieldBase field, MapFieldValue<K,V> map)
void write(com.yahoo.vespa.objects.FieldBase field, ByteFieldValue value)
field
- field description (name and data type)value
- field value<T extends FieldValue> void write(com.yahoo.vespa.objects.FieldBase field, CollectionFieldValue<T> value)
field
- field description (name and data type)value
- field valuevoid write(com.yahoo.vespa.objects.FieldBase field, DoubleFieldValue value)
field
- field description (name and data type)value
- field valuevoid write(com.yahoo.vespa.objects.FieldBase field, FloatFieldValue value)
field
- field description (name and data type)value
- field valuevoid write(com.yahoo.vespa.objects.FieldBase field, IntegerFieldValue value)
field
- field description (name and data type)value
- field valuevoid write(com.yahoo.vespa.objects.FieldBase field, LongFieldValue value)
field
- field description (name and data type)value
- field valuevoid write(com.yahoo.vespa.objects.FieldBase field, Raw value)
field
- field description (name and data type)value
- field valuevoid write(com.yahoo.vespa.objects.FieldBase field, PredicateFieldValue value)
field
- field description (name and data type)value
- field valuevoid write(com.yahoo.vespa.objects.FieldBase field, StringFieldValue value)
field
- field description (name and data type)value
- field valuevoid write(com.yahoo.vespa.objects.FieldBase field, TensorFieldValue value)
field
- field description (name and data type)value
- tensor field valuevoid write(com.yahoo.vespa.objects.FieldBase field, ReferenceFieldValue value)
field
- field description (name and data type)value
- reference field valuevoid write(com.yahoo.vespa.objects.FieldBase field, Struct value)
field
- field description (name and data type)value
- field valuevoid write(com.yahoo.vespa.objects.FieldBase field, StructuredFieldValue value)
field
- field description (name and data type)value
- field value<T extends FieldValue> void write(com.yahoo.vespa.objects.FieldBase field, WeightedSet<T> value)
field
- field description (name and data type)value
- field valuevoid write(com.yahoo.vespa.objects.FieldBase field, AnnotationReference value)
field
- field description (name and data type)value
- field valueCopyright © 2018. All rights reserved.