Package com.yahoo.document
Class ArrayDataType
java.lang.Object
com.yahoo.vespa.objects.Selectable
com.yahoo.vespa.objects.Identifiable
com.yahoo.document.DataType
com.yahoo.document.CollectionDataType
com.yahoo.document.ArrayDataType
- All Implemented Interfaces:
Cloneable
,Comparable<DataType>
- Author:
- Einar M R Rosenvinge
-
Field Summary
-
Constructor Summary
ConstructorDescriptionArrayDataType
(DataType nestedType) ArrayDataType
(DataType nestedType, int code) -
Method Summary
Modifier and TypeMethodDescriptionbuildFieldPath
(String remainFieldName) Creates a field path from the given field path string.clone()
Creates a new, empty FieldValue of this typeMethods inherited from class com.yahoo.document.CollectionDataType
createByReflection, getNestedType, getPrimitiveType, isMultivalue, isValueCompatible, register, visitMembers
Methods inherited from class com.yahoo.document.DataType
compareTo, createFieldValue, equals, getArray, getCode, getId, getMap, getName, getTensor, getWeightedSet, getWeightedSet, hashCode, isAssignableFrom, isRegistered, lastPredefinedDataTypeId, register, setId, setName, toString
Methods inherited from class com.yahoo.vespa.objects.Identifiable
create, createFromId, deserialize, deserializeOptional, deserializeWithId, equals, getClassId, getRawUtf8Bytes, getUtf8, onDeserialize, onGetClassId, onSerialize, putUtf8, registerClass, serialize, serializeOptional, serializeWithId
Methods inherited from class com.yahoo.vespa.objects.Selectable
select, select, selectMembers
-
Field Details
-
classId
public static int classId
-
-
Constructor Details
-
ArrayDataType
-
ArrayDataType
-
-
Method Details
-
clone
- Overrides:
clone
in classCollectionDataType
-
createFieldValue
Description copied from class:DataType
Creates a new, empty FieldValue of this type- Specified by:
createFieldValue
in classCollectionDataType
-
getValueClass
- Specified by:
getValueClass
in classDataType
-
buildFieldPath
Description copied from class:DataType
Creates a field path from the given field path string.- Overrides:
buildFieldPath
in classDataType
- Parameters:
remainFieldName
- a string containing the field path- Returns:
- Returns a valid field path, parsed from the string
-