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 boolean
abstract boolean
protected FieldValue
Utility function to wrap primitives.abstract boolean
isEmpty()
protected boolean
isEmpty
(Collection collection) iterator()
abstract boolean
protected boolean
removeValue
(FieldValue o, Collection collection) abstract int
size()
void
Methods inherited from class com.yahoo.document.datatypes.CompositeFieldValue
equals, hashCode, setDataType
Methods inherited from class com.yahoo.document.datatypes.FieldValue
assign, clear, clone, compareTo, create, deserialize, deserialize, getRecursiveValue, getRecursiveValue, getWrappedValue, onDeserialize, onSerialize, printXml, serialize, serialize, toXml
Methods inherited from class com.yahoo.vespa.objects.Identifiable
create, createFromId, deserialize, deserializeOptional, deserializeWithId, equals, getClassId, getRawUtf8Bytes, getUtf8, onGetClassId, putUtf8, registerClass, serialize, serializeOptional, serializeWithId, toString, visitMembers
Methods inherited from class com.yahoo.vespa.objects.Selectable
select, select, selectMembers
-
Method Details
-
getDataType
- Overrides:
getDataType
in 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()
-