Object

org.apache.spark.sql

SnappyDataPoolDialect

Related Doc: package sql

Permalink

object SnappyDataPoolDialect extends SnappyDataBaseDialect with Logging with Product with Serializable

Default dialect for SnappyData using pooled client Driver.

Annotations
@DeveloperApi()
Linear Supertypes
Product, Equals, Logging, SnappyDataBaseDialect, JdbcExtendedDialect, JdbcDialect, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SnappyDataPoolDialect
  2. Product
  3. Equals
  4. Logging
  5. SnappyDataBaseDialect
  6. JdbcExtendedDialect
  7. JdbcDialect
  8. Serializable
  9. Serializable
  10. AnyRef
  11. 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. def addExtraDriverProperties(isLoner: Boolean, props: Properties): Unit

    Permalink
    Definition Classes
    JdbcExtendedDialect
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def beforeFetch(connection: Connection, properties: Map[String, String]): Unit

    Permalink
    Definition Classes
    JdbcDialect
  7. def canHandle(url: String): Boolean

    Permalink
    Definition Classes
    SnappyDataPoolDialect → JdbcDialect
  8. def clone(): AnyRef

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

    Permalink

    Create a new schema.

    Create a new schema.

    Definition Classes
    SnappyDataBaseDialectJdbcExtendedDialect
  10. def dropTable(tableName: String, conn: Connection, context: SQLContext, ifExists: Boolean): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

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

    Permalink
    Definition Classes
    SnappyDataBaseDialect
  15. def getCatalystType(sqlType: Int, typeName: String, size: Int, md: MetadataBuilder): Option[DataType]

    Permalink
    Definition Classes
    SnappyDataBaseDialect → JdbcDialect
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def getJDBCMetadata(dt: DataType, md: Metadata, forTableDefn: Boolean): (DataType, String, Int, Int, Int)

    Permalink

    Get JDBC metadata for a catalyst column representation.

    Get JDBC metadata for a catalyst column representation.

    See SPARK-10101 issue for similar problem. If the PR raised is merged we can update VARCHAR handling here accordingly. [UPDATE] related PRs have been merged and SPARK-10101 closed but it is only for passing through full types in CREATE TABLE and not when reading unlike what is reauired for SnappyData.

    dt

    the DataType of the column

    md

    any additional Metadata for the column

    forTableDefn

    if true then the type name string returned will be suitable for column definition in CREATE TABLE etc; the differences being that it will include size definitions for CHAR/VARCHAR and complex types will be mapped to underlying storage format rather than for display (i.e. BLOB)

    Definition Classes
    SnappyDataBaseDialect
  18. def getJDBCType(dt: DataType, md: Metadata): Option[JdbcType]

    Permalink

    Look SPARK-10101 issue for similar problem.

    Look SPARK-10101 issue for similar problem. If the PR raised is ever merged we can remove this method here.

    md

    The metadata

    returns

    The new JdbcType if there is an override for this DataType

    Definition Classes
    SnappyDataBaseDialectJdbcExtendedDialect
  19. def getJDBCType(dt: DataType): Option[JdbcType]

    Permalink
    Definition Classes
    SnappyDataBaseDialect → JdbcDialect
  20. def getPartitionByClause(col: String): String

    Permalink
  21. def getSchemaQuery(query: String): String

    Permalink
    Definition Classes
    SnappyDataPoolDialectSnappyDataBaseDialect → JdbcDialect
  22. def getTableExistsQuery(query: String): String

    Permalink
    Definition Classes
    SnappyDataPoolDialectSnappyDataBaseDialect → JdbcDialect
  23. def initializeLogIfNecessary(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  24. def initializeTable(tableName: String, caseSensitive: Boolean, conn: Connection): Unit

    Permalink
  25. def isCascadingTruncateTable(): Option[Boolean]

    Permalink
    Definition Classes
    JdbcDialect
  26. final def isDebugEnabled: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  27. final def isInfoEnabled: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  28. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  29. final def isTraceEnabled: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  30. final var levelFlags: Int

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  31. def log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  32. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  33. def logDebug(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  34. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  35. def logError(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  36. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  37. def logInfo(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  38. def logName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  39. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  40. def logTrace(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  41. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  42. def logWarning(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  43. final var log_: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  44. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  45. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  47. def quoteIdentifier(colName: String): String

    Permalink
    Definition Classes
    JdbcDialect
  48. def register(): Unit

    Permalink
  49. def resetLogger(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  50. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink

    Query string to check for existence of a table

    Query string to check for existence of a table

    Definition Classes
    SnappyDataBaseDialectJdbcExtendedDialect
  52. def truncateTable(tableName: String): String

    Permalink

    Get the DDL to truncate a table, or null/empty if truncate is not supported.

    Get the DDL to truncate a table, or null/empty if truncate is not supported.

    Definition Classes
    JdbcExtendedDialect
  53. final def wait(): Unit

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

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

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

Inherited from Product

Inherited from Equals

Inherited from Logging

Inherited from SnappyDataBaseDialect

Inherited from JdbcExtendedDialect

Inherited from JdbcDialect

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped