org.apache.spark.sql.delta.managedcommit
TableCommitOwnerClient
Companion object TableCommitOwnerClient
case class TableCommitOwnerClient(commitOwnerClient: CommitOwnerClient, logPath: Path, tableConf: Map[String, String], hadoopConf: Configuration, logStore: LogStore) extends Product with Serializable
A wrapper around CommitOwnerClient 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 CommitOwnerClient e.g. logPath / logStore / managedCommitTableConf / hadoopConf.
- commitOwnerClient
the underlying CommitOwnerClient
- logPath
the path to the log directory
- tableConf
the table specific managed-commit configuration
- hadoopConf
hadoop configuration
- logStore
the log store
- Alphabetic
- By Inheritance
- TableCommitOwnerClient
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
TableCommitOwnerClient(commitOwnerClient: CommitOwnerClient, logPath: Path, tableConf: Map[String, String], hadoopConf: Configuration, logStore: LogStore)
- commitOwnerClient
the underlying CommitOwnerClient
- logPath
the path to the log directory
- tableConf
the table specific managed-commit 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(startVersion: Long, endVersion: Option[Long]): Unit
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def commit(commitVersion: Long, actions: Iterator[String], updatedActions: UpdatedActions): CommitResponse
- val commitOwnerClient: CommitOwnerClient
-
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[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getCommits(startVersion: Long, 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
semanticsEquals(otherCommitOwnerClient: TableCommitOwnerClient): Boolean
Checks whether the signature of the underlying backing CommitOwnerClient is the same as the given
otherCommitOwnerClient -
def
semanticsEquals(otherCommitOwnerClient: CommitOwnerClient): Boolean
Checks whether the signature of the underlying backing CommitOwnerClient is the same as the given
otherCommitOwnerClient -
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val tableConf: Map[String, String]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()