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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidSets a new value for this StringFieldValue.voiddeserialize(Field field, FieldReader reader) Read a field value from the specified readerReturnsDataType.STRING.static com.yahoo.document.datatypes.UriFieldValue.FactoryMethods inherited from class com.yahoo.document.datatypes.StringFieldValue
clear, clone, compareTo, equals, getSpanTree, getSpanTreeMap, getSpanTrees, getString, getWrappedValue, hashCode, printXml, removeSpanTree, serialize, setSpanTree, setUnChecked, toStringMethods inherited from class com.yahoo.document.datatypes.FieldValue
create, deserialize, getRecursiveValue, getRecursiveValue, onDeserialize, onSerialize, serialize, toXmlMethods inherited from class com.yahoo.vespa.objects.Identifiable
create, createFromId, deserialize, deserializeOptional, deserializeWithId, equals, getClassId, getRawUtf8Bytes, getUtf8, onGetClassId, putUtf8, registerClass, registerClass, serialize, serializeOptional, serializeWithId, visitMembersMethods 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:StringFieldValueSets 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:
assignin classStringFieldValue- Parameters:
obj- the new String to assign to this. An argument of null is equal to calling clear().
-
getDataType
Description copied from class:StringFieldValueReturnsDataType.STRING.- Overrides:
getDataTypein classStringFieldValue- Returns:
- DataType.STRING, always
-
deserialize
Description copied from class:FieldValueRead a field value from the specified reader- Overrides:
deserializein classStringFieldValue
-