Package com.yahoo.document.datatypes
Class UriFieldValue
java.lang.Object
com.yahoo.vespa.objects.Selectable
com.yahoo.vespa.objects.Identifiable
com.yahoo.document.datatypes.FieldValue
com.yahoo.document.datatypes.StringFieldValue
com.yahoo.document.datatypes.UriFieldValue
- All Implemented Interfaces:
Cloneable
,Comparable<FieldValue>
- Author:
- Magnar Nedland
-
Field Summary
Fields inherited from class com.yahoo.document.datatypes.StringFieldValue
classId
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Sets a new value for this StringFieldValue.void
deserialize
(Field field, FieldReader reader) Read a field value from the specified readerReturnsDataType
.STRING.static com.yahoo.document.datatypes.UriFieldValue.Factory
Methods inherited from class com.yahoo.document.datatypes.StringFieldValue
clear, clone, compareTo, equals, getSpanTree, getSpanTreeMap, getSpanTrees, getString, getWrappedValue, hashCode, printXml, removeSpanTree, serialize, setSpanTree, setUnChecked, toString
Methods inherited from class com.yahoo.document.datatypes.FieldValue
create, deserialize, getRecursiveValue, getRecursiveValue, onDeserialize, onSerialize, serialize, toXml
Methods inherited from class com.yahoo.vespa.objects.Identifiable
create, createFromId, deserialize, deserializeOptional, deserializeWithId, equals, getClassId, getRawUtf8Bytes, getUtf8, onGetClassId, putUtf8, registerClass, registerClass, serialize, serializeOptional, serializeWithId, visitMembers
Methods inherited from class com.yahoo.vespa.objects.Selectable
select, select, selectMembers
-
Constructor Details
-
UriFieldValue
public UriFieldValue() -
UriFieldValue
-
-
Method Details
-
getFactory
public static com.yahoo.document.datatypes.UriFieldValue.Factory getFactory() -
assign
Description copied from class:StringFieldValue
Sets a new value for this StringFieldValue. NOTE that doing so will clear all span trees from this value, since they most certainly will not make sense for a new string value.- Overrides:
assign
in classStringFieldValue
- Parameters:
obj
- the new String to assign to this. An argument of null is equal to calling clear().
-
getDataType
Description copied from class:StringFieldValue
ReturnsDataType
.STRING.- Overrides:
getDataType
in classStringFieldValue
- Returns:
- DataType.STRING, always
-
deserialize
Description copied from class:FieldValue
Read a field value from the specified reader- Overrides:
deserialize
in classStringFieldValue
-