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:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<DataType>
public class ArrayDataType extends CollectionDataType
- Author:
- Einar M R Rosenvinge
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ArrayDataType(DataType nestedType)
ArrayDataType(DataType nestedType, int code)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldPath
buildFieldPath(java.lang.String remainFieldName)
Creates a field path from the given field path string.ArrayDataType
clone()
Array
createFieldValue()
Creates a new, empty FieldValue of this typejava.lang.Class
getValueClass()
-
Methods inherited from class com.yahoo.document.CollectionDataType
createByReflection, getNestedType, getPrimitiveType, isMultivalue, isValueCompatible, register, setNestedType, 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
-
-
-
-
Method Detail
-
clone
public ArrayDataType clone()
- Overrides:
clone
in classCollectionDataType
-
createFieldValue
public Array createFieldValue()
Description copied from class:DataType
Creates a new, empty FieldValue of this type- Specified by:
createFieldValue
in classCollectionDataType
-
getValueClass
public java.lang.Class getValueClass()
- Specified by:
getValueClass
in classDataType
-
buildFieldPath
public FieldPath buildFieldPath(java.lang.String remainFieldName)
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
-
-