org.apache.spark.sql.delta.coordinatedcommits
TableCommitCoordinatorClient
Companion object TableCommitCoordinatorClient
case class TableCommitCoordinatorClient(commitCoordinatorClient: CommitCoordinatorClient, logPath: Path, tableConf: Map[String, String], hadoopConf: Configuration, logStore: LogStore) extends Product with Serializable
A wrapper around CommitCoordinatorClient that provides a more user-friendly API for committing/ accessing commits to a specific table. This class takes care of passing the table specific configuration to the underlying CommitCoordinatorClient e.g. logPath / logStore / coordinatedCommitsTableConf / hadoopConf.
- commitCoordinatorClient
the underlying CommitCoordinatorClient
- logPath
the path to the log directory
- tableConf
the table specific coordinated-commits configuration
- hadoopConf
hadoop configuration
- logStore
the log store
- Alphabetic
- By Inheritance
- TableCommitCoordinatorClient
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TableCommitCoordinatorClient(commitCoordinatorClient: CommitCoordinatorClient, logPath: Path, tableConf: Map[String, String], hadoopConf: Configuration, logStore: LogStore)
- commitCoordinatorClient
the underlying CommitCoordinatorClient
- logPath
the path to the log directory
- tableConf
the table specific coordinated-commits configuration
- hadoopConf
hadoop configuration
- logStore
the log store
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def backfillToVersion(tableIdentifierOpt: Option[TableIdentifier], version: Long, lastKnownBackfilledVersion: Option[Long] = None): Unit
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def commit(commitVersion: Long, actions: Iterator[String], updatedActions: UpdatedActions, tableIdentifierOpt: Option[TableIdentifier]): CommitResponse
- val commitCoordinatorClient: CommitCoordinatorClient
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getCommits(tableIdentifierOpt: Option[TableIdentifier], startVersion: Option[Long] = None, endVersion: Option[Long] = None): GetCommitsResponse
- val hadoopConf: Configuration
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val logPath: Path
- val logStore: LogStore
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def semanticsEquals(otherCommitCoordinatorClient: TableCommitCoordinatorClient): Boolean
Checks whether the signature of the underlying backing CommitCoordinatorClient is the same as the given
otherCommitCoordinatorClient - def semanticsEquals(otherCommitCoordinatorClient: CommitCoordinatorClient): Boolean
Checks whether the signature of the underlying backing CommitCoordinatorClient is the same as the given
otherCommitCoordinatorClient - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tableConf: Map[String, String]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()