Class JdbcType

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

public class JdbcType extends Object implements scala.Product, 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 Summary

    Constructors
    Constructor
    Description
    JdbcType(String databaseTypeDefinition, int jdbcNullType)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract static R
    apply(T1 v1, T2 v2)
     
     
    int
     
    static String
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface scala.Equals

    canEqual, equals

    Methods inherited from interface scala.Product

    productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
  • 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()