java.lang.Object
org.tentackle.sql.datatypes.AbstractDataType<Byte>
org.tentackle.sql.datatypes.AbstractNumberType<Byte>
org.tentackle.sql.datatypes.ByteType
org.tentackle.sql.datatypes.BytePrimitiveType
Datatype for the primitive type
byte.-
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.ByteType
get, getSqlType, isDowncastNecessary, 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, isJavaTypeGenerified, isLiteralSupported, isMapNullSupported, isModelProvidingInnerType, isMutable, isPredefined, isTimezoneApplicable, isUTCSupported, set, toLiteral, toString, toString, valueStringToCode
-
Constructor Details
-
BytePrimitiveType
public BytePrimitiveType()Creates the datatype for the primitive typebyte.
-
-
Method Details
-
getJavaType
Description copied from interface:DataTypeGets the name of the Java type.- Specified by:
getJavaTypein interfaceDataType<Byte>- Overrides:
getJavaTypein classByteType- Returns:
- the type
-
isPrimitive
public boolean isPrimitive()Description copied from interface:DataTypeReturns whether type is a primitive.- Specified by:
isPrimitivein interfaceDataType<Byte>- Overrides:
isPrimitivein classAbstractDataType<Byte>- Returns:
- true if primitive
-
toNonPrimitive
Description copied from interface:DataTypeGets the non-primitive type if this is a primitive.- Specified by:
toNonPrimitivein interfaceDataType<Byte>- Overrides:
toNonPrimitivein classAbstractDataType<Byte>- Returns:
- the non-primitive type, this type if it is already a non-primitive
-