java.lang.Object
org.tentackle.sql.datatypes.AbstractDataType<Float>
org.tentackle.sql.datatypes.AbstractNumberType<Float>
org.tentackle.sql.datatypes.FloatType
org.tentackle.sql.datatypes.FloatPrimitiveType
Datatype for the primitive type
float.-
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.FloatType
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
-
FloatPrimitiveType
public FloatPrimitiveType()Creates the datatype for the primitive typefloat.
-
-
Method Details
-
getJavaType
Description copied from interface:DataTypeGets the name of the Java type.- Specified by:
getJavaTypein interfaceDataType<Float>- Overrides:
getJavaTypein classFloatType- Returns:
- the type
-
isPrimitive
public boolean isPrimitive()Description copied from interface:DataTypeReturns whether type is a primitive.- Specified by:
isPrimitivein interfaceDataType<Float>- Overrides:
isPrimitivein classAbstractDataType<Float>- Returns:
- true if primitive
-
toNonPrimitive
Description copied from interface:DataTypeGets the non-primitive type if this is a primitive.- Specified by:
toNonPrimitivein interfaceDataType<Float>- Overrides:
toNonPrimitivein classAbstractDataType<Float>- Returns:
- the non-primitive type, this type if it is already a non-primitive
-