java.lang.Object
org.tentackle.sql.datatypes.AbstractDataType<T>
org.tentackle.sql.datatypes.AbstractNumberType<Long>
org.tentackle.sql.datatypes.LongType
org.tentackle.sql.datatypes.LongPrimitiveType
Datatype for the primitive type
long.-
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.LongType
get, getSqlType, set, toPrimitive, valueOf, valueOfLiteralToCodeMethods inherited from class org.tentackle.sql.datatypes.AbstractNumberType
isNumericMethods 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
-
LongPrimitiveType
public LongPrimitiveType()Creates the datatype for the primitive typelong.
-
-
Method Details
-
getJavaType
Description copied from interface:DataTypeGets the name of the Java type.- Specified by:
getJavaTypein interfaceDataType<Long>- Overrides:
getJavaTypein classLongType- Returns:
- the type
-
isPrimitive
public boolean isPrimitive()Description copied from interface:DataTypeReturns whether type is a primitive.- Specified by:
isPrimitivein interfaceDataType<Long>- Overrides:
isPrimitivein classAbstractDataType<Long>- Returns:
- true if primitive
-
toNonPrimitive
Description copied from interface:DataTypeGets the non-primitive type if this is a primitive.- Specified by:
toNonPrimitivein interfaceDataType<Long>- Overrides:
toNonPrimitivein classAbstractDataType<Long>- Returns:
- the non-primitive type, this type if it is already a non-primitive
-