Class

org.apache.spark.sql

SnappyDataBaseDialect

Related Doc: package sql

Permalink

abstract class SnappyDataBaseDialect extends JdbcExtendedDialect

Base implementation of various dialect implementations for SnappyData.

Linear Supertypes
JdbcExtendedDialect, JdbcDialect, Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SnappyDataBaseDialect
  2. JdbcExtendedDialect
  3. JdbcDialect
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SnappyDataBaseDialect()

    Permalink

Abstract Value Members

  1. abstract def canHandle(url: String): Boolean

    Permalink
    Definition Classes
    JdbcDialect

Concrete 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 clone(): AnyRef

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

    Permalink

    Create a new schema.

    Create a new schema.

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

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

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

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

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

    Permalink
  14. def getCatalystType(sqlType: Int, typeName: String, size: Int, md: MetadataBuilder): Option[DataType]

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. 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)

  17. 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
  18. def getJDBCType(dt: DataType): Option[JdbcType]

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

    Permalink
  20. def getSchemaQuery(table: String): String

    Permalink
    Definition Classes
    SnappyDataBaseDialect → JdbcDialect
  21. def getTableExistsQuery(table: String): String

    Permalink
    Definition Classes
    SnappyDataBaseDialect → JdbcDialect
  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  23. def initializeTable(tableName: String, caseSensitive: Boolean, conn: Connection): Unit

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

    Permalink
    Definition Classes
    JdbcDialect
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    JdbcDialect
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. 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
  32. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  33. 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
  34. final def wait(): Unit

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

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

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

Inherited from JdbcExtendedDialect

Inherited from JdbcDialect

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped