org.apache.spark.sql.jdbc
Class JdbcType
Object
org.apache.spark.sql.jdbc.JdbcType
- All Implemented Interfaces:
- java.io.Serializable, scala.Equals, scala.Product
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:
- Serialized Form
Constructor Summary |
JdbcType(String databaseTypeDefinition,
int jdbcNullType)
|
Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface scala.Product |
productArity, productElement, productIterator, productPrefix |
Methods inherited from interface scala.Equals |
canEqual, equals |
JdbcType
public JdbcType(String databaseTypeDefinition,
int jdbcNullType)
databaseTypeDefinition
public String databaseTypeDefinition()
jdbcNullType
public int jdbcNullType()