Package com.yahoo.document.datatypes
Class CollectionFieldValue<T extends FieldValue>
java.lang.Object
com.yahoo.vespa.objects.Selectable
com.yahoo.vespa.objects.Identifiable
com.yahoo.document.datatypes.FieldValue
com.yahoo.document.datatypes.CompositeFieldValue
com.yahoo.document.datatypes.CollectionFieldValue<T>
- All Implemented Interfaces:
Cloneable,Comparable<FieldValue>
- Direct Known Subclasses:
Array,WeightedSet
Superclass of multivalue field values
- Author:
- HÃ¥kon Humberset
-
Field Summary
Fields inherited from class com.yahoo.document.datatypes.FieldValue
classId -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanabstract booleanprotected FieldValueUtility function to wrap primitives.abstract booleanisEmpty()protected booleanisEmpty(Collection collection) iterator()abstract booleanprotected booleanremoveValue(FieldValue o, Collection collection) abstract intsize()voidMethods inherited from class com.yahoo.document.datatypes.CompositeFieldValue
equals, hashCode, setDataTypeMethods inherited from class com.yahoo.document.datatypes.FieldValue
assign, clear, clone, compareTo, create, deserialize, deserialize, getRecursiveValue, getRecursiveValue, getWrappedValue, onDeserialize, onSerialize, printXml, serialize, 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, toString, visitMembersMethods inherited from class com.yahoo.vespa.objects.Selectable
select, select, selectMembers
-
Method Details
-
getDataType
- Overrides:
getDataTypein classCompositeFieldValue
-
createFieldValue
Utility function to wrap primitives.- See Also:
-
Array.ListWrapper
-
verifyElementCompatibility
-
fieldValueIterator
-
add
-
contains
-
isEmpty
public abstract boolean isEmpty() -
isEmpty
-
iterator
-
removeValue
-
removeValue
-
size
public abstract int size()
-