Interface JdbcType

    • Method Detail

      • getFriendlyName

        default String getFriendlyName()
        A "friendly" name for use in logging
      • getDefaultSqlTypeCode

        default int getDefaultSqlTypeCode()
        Get a JDBC type code that identifies the SQL column type to be used for schema generation. This value is passed to Dialect.getTypeName(int) to obtain the SQL column type.
        Returns:
        a JDBC type code
      • getBinder

        <X> ValueBinder<X> getBinder​(JavaType<X> javaTypeDescriptor)
        Get the binder (setting JDBC in-going parameter values) capable of handling values of the type described by the passed descriptor.
        Parameters:
        javaTypeDescriptor - The descriptor describing the types of Java values to be bound
        Returns:
        The appropriate binder.
      • getExtractor

        <X> ValueExtractor<X> getExtractor​(JavaType<X> javaTypeDescriptor)
        Get the extractor (pulling out-going values from JDBC objects) capable of handling values of the type described by the passed descriptor.
        Parameters:
        javaTypeDescriptor - The descriptor describing the types of Java values to be extracted
        Returns:
        The appropriate extractor
      • isInteger

        default boolean isInteger()
      • isFloat

        default boolean isFloat()
      • isDecimal

        default boolean isDecimal()
      • isNumber

        default boolean isNumber()
      • isBinary

        default boolean isBinary()
      • isString

        default boolean isString()
      • isTemporal

        default boolean isTemporal()
      • isInterval

        default boolean isInterval()
      • getCastType

        default CastType getCastType()