Uses of Interface
org.tentackle.sql.DataType
-
Packages that use DataType Package Description org.tentackle.sql SQL backend layer.org.tentackle.sql.datatypes DataType implementations. -
-
Uses of DataType in org.tentackle.sql
Methods in org.tentackle.sql that return DataType Modifier and Type Method Description default <T> DataType<T>DataTypeFactory. get(java.lang.Class<T> clazz)Gets the datatype singleton.default <T> DataType<T>DataTypeFactory. get(java.lang.Class<T> clazz, java.lang.String variant)Gets the datatype singleton.default DataType<?>DataTypeFactory. get(java.lang.String javaType)Gets the datatype singleton.DataType<?>DataTypeFactory. get(java.lang.String name, java.lang.String variant)Gets the datatype singleton.DataType<?>DefaultDataTypeFactory. get(java.lang.String name, java.lang.String variant)DataType<?>DataType. toNonPrimitive()Gets the non-primitive type if this is a primitive.Methods in org.tentackle.sql that return types with arguments of type DataType Modifier and Type Method Description java.util.Optional<DataType<?>>DataType. toPrimitive()Gets the primitive type if this is a non-primitive.Methods in org.tentackle.sql with parameters of type DataType Modifier and Type Method Description <T> intBackendPreparedStatement. set(DataType<T> dataType, int p, T object, boolean mapNull, java.lang.Integer size)Sets the object into the statement via itsDataType.
This method is provided for application-specific types.<T> voidBackendPreparedStatement. set(DataType<T> dataType, int p, T object, int index, boolean mapNull, java.lang.Integer size)Sets a column of an object into a prepared statement via itsDataType.
This method is provided for application-specific types. -
Uses of DataType in org.tentackle.sql.datatypes
Classes in org.tentackle.sql.datatypes that implement DataType Modifier and Type Class Description classAbstractDataType<T>Implements some common methods for datatypes.classAbstractDateTimeType<T>Base class for date- or time-related data types.classAbstractNumberType<T extends java.lang.Number>Base class for number data types.classBigDecimalTypeDatatype forBigDecimal.classBinaryTypeDatatype forBinary.classBMoneyTypeDatatype forBMoney.classBooleanPrimitiveTypeDatatype for the primitive typeboolean.classBooleanTypeDatatype forBoolean.classBytePrimitiveTypeDatatype for the primitive typebyte.classByteTypeDatatype forByte.classCharacterPrimitiveTypeDatatype for the primitive typechar.classCharacterTypeDatatype forCharacter.classConvertibleTypeVirtual type for application-specific wrapper classes implementingorg.tentackle.misc.Convertible.classDateTypeDatatype forDate.classDMoneyTypeDatatype forDMoney.classDoublePrimitiveTypeDatatype for the primitive typedouble.classDoubleTypeDatatype forDouble.classFloatPrimitiveTypeDatatype for the primitive typefloat.classFloatTypeDatatype forFloat.classIntegerPrimitiveTypeDatatype for the primitive typeint.classIntegerTypeDatatype forInteger.classLargeStringTypeDatatype forString.classLocalDateTimeTypeDatatype forLocalDateTime.classLocalDateTypeDatatype forLocalDate.classLocalTimeTypeDatatype forLocalTime.classLongPrimitiveTypeDatatype for the primitive typelong.classLongTypeDatatype forLong.classShortPrimitiveTypeDatatype for the primitive typeshort.classShortTypeDatatype forShort.classStringTypeDatatype forString.classTimestampTypeDatatype forTimestamp.classTimeTypeDatatype forTime.Methods in org.tentackle.sql.datatypes that return DataType Modifier and Type Method Description DataType<?>AbstractDataType. toNonPrimitive()DataType<?>BooleanPrimitiveType. toNonPrimitive()DataType<?>BytePrimitiveType. toNonPrimitive()DataType<?>CharacterPrimitiveType. toNonPrimitive()DataType<?>DoublePrimitiveType. toNonPrimitive()DataType<?>FloatPrimitiveType. toNonPrimitive()DataType<?>IntegerPrimitiveType. toNonPrimitive()DataType<?>LongPrimitiveType. toNonPrimitive()DataType<?>ShortPrimitiveType. toNonPrimitive()Methods in org.tentackle.sql.datatypes that return types with arguments of type DataType Modifier and Type Method Description java.util.Optional<DataType<?>>AbstractDataType. toPrimitive()java.util.Optional<DataType<?>>BooleanType. toPrimitive()java.util.Optional<DataType<?>>ByteType. toPrimitive()java.util.Optional<DataType<?>>CharacterType. toPrimitive()java.util.Optional<DataType<?>>DoubleType. toPrimitive()java.util.Optional<DataType<?>>FloatType. toPrimitive()java.util.Optional<DataType<?>>IntegerType. toPrimitive()java.util.Optional<DataType<?>>LongType. toPrimitive()java.util.Optional<DataType<?>>ShortType. toPrimitive()
-