Class JdbcType

Object
org.apache.spark.sql.jdbc.JdbcType
All Implemented Interfaces:
Serializable, scala.Equals, scala.Product, scala.Serializable

public class JdbcType extends Object implements scala.Product, scala.Serializable
:: DeveloperApi :: A database type definition coupled with the jdbc type needed to send null values to the database. param: databaseTypeDefinition The database type definition param: jdbcNullType The jdbc type (as defined in java.sql.Types) used to send a null value to the database.
See Also:
  • Constructor Details

    • JdbcType

      public JdbcType(String databaseTypeDefinition, int jdbcNullType)
  • Method Details

    • apply

      public abstract static R apply(T1 v1, T2 v2)
    • toString

      public static String toString()
    • databaseTypeDefinition

      public String databaseTypeDefinition()
    • jdbcNullType

      public int jdbcNullType()