Object

org.apache.spark.sql.sources

JdbcExtendedUtils

Related Doc: package sources

Permalink

object JdbcExtendedUtils

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JdbcExtendedUtils
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val DUMMY_TABLE_NAME: String

    Permalink
  5. val DUMMY_TABLE_QUALIFIED_NAME: String

    Permalink
  6. val EMPTY_SCHEMA: StructType

    Permalink
  7. val PREFIXES: Array[String]

    Permalink
  8. val SYSIBM_SCHEMA: String

    Permalink
  9. def addSplitProperty(value: String, propertyName: String, options: Map[String, String], threshold: Int): Map[String, String]

    Permalink
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def createSchema(schemaName: String, conn: Connection, dialect: JdbcDialect): Unit

    Permalink
  13. def defaultPoolURL(session: SparkSession): String

    Permalink
  14. def dropTable(conn: Connection, tableName: String, dialect: JdbcDialect, context: SQLContext, ifExists: Boolean): Unit

    Permalink
  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  17. def executeUpdate(sql: String, conn: Connection): Unit

    Permalink
  18. def fillColumnsClause(sql: StringBuilder, fields: Seq[String], escapeQuotes: Boolean = false, separator: String = " AND "): Unit

    Permalink

    Returns the SQL for creating the WHERE clause for a set of columns.

  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def getCatalystType(dialect: JdbcDialect, jdbcType: Int, typeName: String, size: Int, scale: Int, md: MetadataBuilder, session: Option[SparkSession]): DataType

    Permalink
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. def getInsertOrPutString(table: String, rddSchema: StructType, putInto: Boolean, escapeQuotes: Boolean = false): String

    Permalink

    Returns the SQL for prepare to insert or put rows into a table.

  23. def getJdbcType(dt: DataType, md: Metadata, dialect: JdbcDialect): JdbcType

    Permalink

    Get JdbcType for given DataType and Metadata.

  24. def getSQLDataType(dataType: DataType): DataType

    Permalink
    Annotations
    @tailrec()
  25. def getTableSchema(schemaName: String, tableName: String, conn: Connection, session: Option[SparkSession]): StructType

    Permalink
  26. def getTableWithSchema(table: String, conn: Connection, session: Option[SparkSession], forSpark: Boolean = true): (String, String)

    Permalink
  27. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  28. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  29. def isRowLevelSecurityEnabled(table: String, conn: Connection): Boolean

    Permalink
  30. def isSigned(typeId: Int): Boolean

    Permalink

    Is the given JDBC type (java.sql.Types) data type signed.

  31. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  32. def normalizeSchema(schema: StructType, forSpark: Boolean = true): StructType

    Permalink
  33. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  35. def quotedName(table: String, escapeQuotes: Boolean = false): String

    Permalink

    get the table name in SQL quoted form e.g.

    get the table name in SQL quoted form e.g. "APP"."TABLE1"

  36. def readSplitProperty(propertyName: String, options: Map[String, String]): Option[String]

    Permalink
  37. def schemaString(schema: StructType, dialect: JdbcDialect): String

    Permalink

    Compute the schema string for this RDD.

    Compute the schema string for this RDD. This is different from JdbcUtils.schemaString in having its own getJdbcType that can honour metadata for VARCHAR/CHAR types.

  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  39. def tableExists(table: String, conn: Connection, dialect: JdbcDialect, context: SQLContext): Boolean

    Permalink

    Returns true if the table already exists in the JDBC database.

  40. def tableExistsInMetaData(schemaName: String, tableName: String, conn: Connection, skipType: String = ""): Boolean

    Permalink
  41. def toLowerCase(k: String): String

    Permalink
  42. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  43. def toUpperCase(k: String): String

    Permalink
  44. def truncateTable(conn: Connection, tableName: String, dialect: JdbcDialect): Unit

    Permalink
  45. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped