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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionArrayDataType(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, visitMembersMethods inherited from class com.yahoo.document.DataType
compareTo, createFieldValue, equals, getArray, getCode, getId, getMap, getName, getTensor, getWeightedSet, getWeightedSet, hashCode, isAssignableFrom, isAssignableTo, isRegistered, lastPredefinedDataTypeId, register, setId, setName, toStringMethods inherited from class com.yahoo.vespa.objects.Identifiable
create, createFromId, deserialize, deserializeOptional, deserializeWithId, equals, getClassId, getRawUtf8Bytes, getUtf8, onDeserialize, onGetClassId, onSerialize, putUtf8, registerClass, registerClass, serialize, serializeOptional, serializeWithIdMethods 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:
clonein classCollectionDataType
-
createFieldValue
Description copied from class:DataTypeCreates a new, empty FieldValue of this type- Specified by:
createFieldValuein classCollectionDataType
-
getValueClass
- Specified by:
getValueClassin classDataType
-
buildFieldPath
Description copied from class:DataTypeCreates a field path from the given field path string.- Overrides:
buildFieldPathin classDataType- Parameters:
remainFieldName- a string containing the field path- Returns:
- Returns a valid field path, parsed from the string
-