Packages

case class DeltaTableV2(spark: SparkSession, path: Path, catalogTable: Option[CatalogTable] = None, tableIdentifier: Option[String] = None, timeTravelOpt: Option[DeltaTimeTravelSpec] = None, options: Map[String, String] = Map.empty, cdcOptions: CaseInsensitiveStringMap = CaseInsensitiveStringMap.empty()) extends Table with SupportsWrite with V2TableWithV1Fallback with DeltaLogging with Product with Serializable

The data source V2 representation of a Delta table that exists.

path

The path to the table

tableIdentifier

The table identifier for this table

Linear Supertypes
Serializable, Product, Equals, DeltaLogging, DatabricksLogging, DeltaProgressReporter, Logging, V2TableWithV1Fallback, SupportsWrite, Table, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DeltaTableV2
  2. Serializable
  3. Product
  4. Equals
  5. DeltaLogging
  6. DatabricksLogging
  7. DeltaProgressReporter
  8. Logging
  9. V2TableWithV1Fallback
  10. SupportsWrite
  11. Table
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DeltaTableV2(spark: SparkSession, path: Path, catalogTable: Option[CatalogTable] = None, tableIdentifier: Option[String] = None, timeTravelOpt: Option[DeltaTimeTravelSpec] = None, options: Map[String, String] = Map.empty, cdcOptions: CaseInsensitiveStringMap = CaseInsensitiveStringMap.empty())

    path

    The path to the table

    tableIdentifier

    The table identifier for this table

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def capabilities(): Set[TableCapability]
    Definition Classes
    DeltaTableV2 → Table
  6. val catalogTable: Option[CatalogTable]
  7. val cdcOptions: CaseInsensitiveStringMap
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. lazy val deltaLog: DeltaLog
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getTableIdentifierIfExists: Option[TableIdentifier]
  14. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  15. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  18. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  19. def logConsole(line: String): Unit
    Definition Classes
    DatabricksLogging
  20. def logDebug(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  21. def logDebug(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  22. def logError(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  23. def logError(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  24. def logInfo(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  25. def logInfo(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  26. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  27. def logTrace(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  28. def logTrace(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  29. def logWarning(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def logWarning(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  31. def name(): String
    Definition Classes
    DeltaTableV2 → Table
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. def newWriteBuilder(info: LogicalWriteInfo): WriteBuilder
    Definition Classes
    DeltaTableV2 → SupportsWrite
  34. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. val options: Map[String, String]
  37. def partitioning(): Array[Transform]
    Definition Classes
    DeltaTableV2 → Table
  38. val path: Path
  39. def productElementNames: Iterator[String]
    Definition Classes
    Product
  40. def properties(): Map[String, String]
    Definition Classes
    DeltaTableV2 → Table
  41. def recordDeltaEvent(deltaLog: DeltaLog, opType: String, tags: Map[TagDefinition, String] = Map.empty, data: AnyRef = null, path: Option[Path] = None): Unit

    Used to record the occurrence of a single event or report detailed, operation specific statistics.

    Used to record the occurrence of a single event or report detailed, operation specific statistics.

    path

    Used to log the path of the delta table when deltaLog is null.

    Attributes
    protected
    Definition Classes
    DeltaLogging
  42. def recordDeltaOperation[A](deltaLog: DeltaLog, opType: String, tags: Map[TagDefinition, String] = Map.empty)(thunk: => A): A

    Used to report the duration as well as the success or failure of an operation on a deltaLog.

    Used to report the duration as well as the success or failure of an operation on a deltaLog.

    Attributes
    protected
    Definition Classes
    DeltaLogging
  43. def recordDeltaOperationForTablePath[A](tablePath: String, opType: String, tags: Map[TagDefinition, String] = Map.empty)(thunk: => A): A

    Used to report the duration as well as the success or failure of an operation on a tahoePath.

    Used to report the duration as well as the success or failure of an operation on a tahoePath.

    Attributes
    protected
    Definition Classes
    DeltaLogging
  44. def recordEvent(metric: MetricDefinition, additionalTags: Map[TagDefinition, String] = Map.empty, blob: String = null, trimBlob: Boolean = true): Unit
    Definition Classes
    DatabricksLogging
  45. def recordFrameProfile[T](group: String, name: String)(thunk: => T): T
    Attributes
    protected
    Definition Classes
    DeltaLogging
  46. def recordOperation[S](opType: OpType, opTarget: String = null, extraTags: Map[TagDefinition, String], isSynchronous: Boolean = true, alwaysRecordStats: Boolean = false, allowAuthTags: Boolean = false, killJvmIfStuck: Boolean = false, outputMetric: MetricDefinition = null, silent: Boolean = true)(thunk: => S): S
    Definition Classes
    DatabricksLogging
  47. def recordProductEvent(metric: MetricDefinition with CentralizableMetric, additionalTags: Map[TagDefinition, String] = Map.empty, blob: String = null, trimBlob: Boolean = true): Unit
    Definition Classes
    DatabricksLogging
  48. def recordProductUsage(metric: MetricDefinition with CentralizableMetric, quantity: Double, additionalTags: Map[TagDefinition, String] = Map.empty, blob: String = null, forceSample: Boolean = false, trimBlob: Boolean = true, silent: Boolean = false): Unit
    Definition Classes
    DatabricksLogging
  49. def recordUsage(metric: MetricDefinition, quantity: Double, additionalTags: Map[TagDefinition, String] = Map.empty, blob: String = null, forceSample: Boolean = false, trimBlob: Boolean = true, silent: Boolean = false): Unit
    Definition Classes
    DatabricksLogging
  50. def schema(): StructType
    Definition Classes
    DeltaTableV2 → Table
  51. lazy val snapshot: Snapshot
  52. val spark: SparkSession
  53. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  54. val tableIdentifier: Option[String]
  55. val timeTravelOpt: Option[DeltaTimeTravelSpec]
  56. def toBaseRelation: BaseRelation

    Creates a V1 BaseRelation from this Table to allow read APIs to go through V1 DataSource code paths.

  57. def v1Table: CatalogTable
    Definition Classes
    DeltaTableV2 → V2TableWithV1Fallback
  58. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  59. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  60. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  61. def withDmqTag[T](thunk: => T): T
    Attributes
    protected
    Definition Classes
    DeltaLogging
  62. def withOptions(options: Map[String, String]): DeltaTableV2

    Check the passed in options and existing timeTravelOpt, set new time travel by options.

  63. def withStatusCode[T](statusCode: String, defaultMessage: String, data: Map[String, Any] = Map.empty)(body: => T): T

    Report a log to indicate some command is running.

    Report a log to indicate some command is running.

    Definition Classes
    DeltaProgressReporter

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from DeltaLogging

Inherited from DatabricksLogging

Inherited from DeltaProgressReporter

Inherited from Logging

Inherited from V2TableWithV1Fallback

Inherited from SupportsWrite

Inherited from Table

Inherited from AnyRef

Inherited from Any

Ungrouped