Package com.yahoo.document
Class NumericDataType
- java.lang.Object
-
- com.yahoo.vespa.objects.Selectable
-
- com.yahoo.vespa.objects.Identifiable
-
- com.yahoo.document.DataType
-
- com.yahoo.document.PrimitiveDataType
-
- com.yahoo.document.NumericDataType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<DataType>
public class NumericDataType extends PrimitiveDataType
- Author:
- Einar M R Rosenvinge
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.yahoo.document.PrimitiveDataType
PrimitiveDataType.Factory
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
NumericDataType(java.lang.String name, int code, java.lang.Class type, PrimitiveDataType.Factory factory)
Creates a datatype
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NumericDataType
clone()
-
Methods inherited from class com.yahoo.document.PrimitiveDataType
createFieldValue, getPrimitiveType, getValueClass, isValueCompatible, visitMembers
-
Methods inherited from class com.yahoo.document.DataType
buildFieldPath, compareTo, createByReflection, createFieldValue, equals, getArray, getCode, getId, getMap, getName, getTensor, getWeightedSet, getWeightedSet, hashCode, isAssignableFrom, isMultivalue, isRegistered, lastPredefinedDataTypeId, register, register, setId, setName, toString
-
-
-
-
Constructor Detail
-
NumericDataType
protected NumericDataType(java.lang.String name, int code, java.lang.Class type, PrimitiveDataType.Factory factory)
Creates a datatype- Parameters:
name
- the name of the typecode
- the code (id) of the typetype
- the field value used for this type
-
-
Method Detail
-
clone
public NumericDataType clone()
- Overrides:
clone
in classPrimitiveDataType
-
-