Object

org.apache.spark.sql.store

CodeGeneration

Related Doc: package store

Permalink

object CodeGeneration extends Logging

Utilities to generate code for exchanging data from Spark layer (Row, InternalRow) to store (Statement, ExecRow).

This extends the Spark code generation facilities to allow lazy generation of code string itself only if not found in cache (and using some other lookup key than the code string)

Linear Supertypes
Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CodeGeneration
  2. Logging
  3. AnyRef
  4. 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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. lazy val cacheSize: Int

    Permalink
  6. def clearAllCache(skipTypeCache: Boolean = true): Unit

    Permalink
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. lazy val codeCacheSize: Int

    Permalink
  9. def compileCode(name: String, schema: Array[StructField], genCode: () ⇒ (CodeAndComment, Array[Any])): (GeneratedClass, Array[Any])

    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 executeUpdate(name: String, stmt: PreparedStatement, row: Row, schema: Array[StructField], dialect: JdbcDialect): Int

    Permalink
  13. def executeUpdate(name: String, stmt: PreparedStatement, rows: Seq[Row], multipleRows: Boolean, batchSize: Int, schema: Array[StructField], dialect: JdbcDialect): Int

    Permalink
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def genStmtSetters(schema: Array[StructField], dialect: JdbcDialect, rowInput: (Int) ⇒ ExprCode, stmt: String, schemaTerm: String, ctx: CodegenContext): String

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. def getColumnSetterFragment(col: Int, dataType: DataType, dialect: JdbcDialect, ev: ExprCode, stmt: String, schema: String, ctx: CodegenContext): String

    Permalink
  18. def getComplexTypeSerializer(dataType: DataType): SerializeComplexType

    Permalink
  19. def getGeneratedIndexStatement(name: String, schema: StructType, dialect: JdbcDialect): (PreparedStatement, InternalRow) ⇒ Int

    Permalink
  20. def getRowSetterFragment(schema: Array[StructField], dialect: JdbcDialect, row: String, stmt: String, schemaTerm: String, ctx: CodegenContext): String

    Permalink
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. def initializeLogIfNecessary(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  23. final def isDebugEnabled: Boolean

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

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

    Permalink
    Definition Classes
    Any
  26. final def isTraceEnabled: Boolean

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

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

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

    Permalink
    Definition Classes
    CodeGeneration → Logging
  30. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

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

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

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

    Permalink
    Definition Classes
    CodeGeneration → Logging
  34. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  44. def removeCache(name: String): Unit

    Permalink
  45. def resetLogger(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  47. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  48. final def wait(): Unit

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

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

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

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped