java.lang.Object
org.tentackle.sql.datatypes.AbstractDataType<T>
org.tentackle.sql.datatypes.AbstractNumberType<Double>
org.tentackle.sql.datatypes.DoubleType
org.tentackle.sql.datatypes.DoublePrimitiveType
Datatype for the primitive type
double.-
Field Summary
Fields inherited from class org.tentackle.sql.datatypes.AbstractDataType
maxLinesInLiteral -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the name of the Java type.booleanReturns whether type is a primitive.DataType<?>Gets the non-primitive type if this is a primitive.Methods inherited from class org.tentackle.sql.datatypes.DoubleType
get, getSqlType, set, toPrimitive, valueOfMethods inherited from class org.tentackle.sql.datatypes.AbstractNumberType
isNumeric, valueOfLiteralToCodeMethods inherited from class org.tentackle.sql.datatypes.AbstractDataType
assertColumnCountNotBackendSpecific, createColumnNames, createColumnNamesAsString, equals, getColumnAlias, getColumnCount, getColumnGetter, getColumnSuffix, getColumnValue, getCommentSuffix, getDataTypeConstant, getMappedNullValue, getScale, getSize, getSortableColumns, getVariant, hashCode, isBool, isColumnCountBackendSpecific, isDateOrTime, isDowncastNecessary, isJavaTypeGenerified, isLiteralSupported, isMapNullSupported, isModelProvidingInnerType, isMutable, isPredefined, isTimezoneApplicable, isUTCSupported, set, toLiteral, toString, toString, valueStringToCode
-
Constructor Details
-
DoublePrimitiveType
public DoublePrimitiveType()Creates the datatype for the primitive typedouble.
-
-
Method Details
-
getJavaType
Description copied from interface:DataTypeGets the name of the Java type.- Specified by:
getJavaTypein interfaceDataType<Double>- Overrides:
getJavaTypein classDoubleType- Returns:
- the type
-
isPrimitive
public boolean isPrimitive()Description copied from interface:DataTypeReturns whether type is a primitive.- Specified by:
isPrimitivein interfaceDataType<Double>- Overrides:
isPrimitivein classAbstractDataType<Double>- Returns:
- true if primitive
-
toNonPrimitive
Description copied from interface:DataTypeGets the non-primitive type if this is a primitive.- Specified by:
toNonPrimitivein interfaceDataType<Double>- Overrides:
toNonPrimitivein classAbstractDataType<Double>- Returns:
- the non-primitive type, this type if it is already a non-primitive
-