class KernelSnapshotDelegator extends SnapshotImpl
This class is designed to be passed to OptimisticTransactionImpl, and provide exactly what that needs to operate, but on a Kernel Snapshot rather than a standalone Snapshot.
The methods/variables used by OptimisticTransactionImpl that we implement are:
- protocolScala
- metadataScala
- version
- getMetadata
Other functions that are used, we do not implement, but fall back to standalone. These functions are only called in "exceptional" cases, so should not overly impact performance. They include:
- scanScala (only called in markFilesAsRead, not used by flink)
- transactions (only used in txnVersion, which is used only on first commit for a flink app)
- This is a val, but it calls setTransactionsScala, so we log for that
- numOfFiles (only used in verifySchemaCompatibility, which happens only when a metadata update occures)
- allFilesScala (only used in verifySchemaCompatibility)
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- KernelSnapshotDelegator
- SnapshotImpl
- Logging
- Snapshot
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new KernelSnapshotDelegator(kernelSnapshot: kernel.internal.SnapshotImpl, kernelSnapshotWrapper: KernelSnapshotWrapper, hadoopConf: Configuration, path: Path, version: Long, kernelDeltaLog: KernelDeltaLogDelegator, standaloneDeltaLog: DeltaLogImpl)
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
-
def
allFilesScala: Seq[AddFile]
- Definition Classes
- KernelSnapshotDelegator → SnapshotImpl
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
val
deltaLog: DeltaLogImpl
- Definition Classes
- SnapshotImpl
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getAllFiles(): List[AddFile]
- Definition Classes
- KernelSnapshotDelegator → SnapshotImpl → Snapshot
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getLatestTransactionVersion(id: String): Option[Long]
-
def
getMetadata(): Metadata
- Definition Classes
- KernelSnapshotDelegator → SnapshotImpl → Snapshot
-
def
getVersion(): Long
- Definition Classes
- KernelSnapshotDelegator → SnapshotImpl → Snapshot
-
val
hadoopConf: Configuration
- Definition Classes
- SnapshotImpl
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
logError(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logError(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logInfo(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logInfo(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
val
logSegment: LogSegment
- Definition Classes
- SnapshotImpl
-
def
logWarning(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logWarning(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
lazy val
metadataScala: Metadata
- Definition Classes
- KernelSnapshotDelegator → SnapshotImpl
-
val
minFileRetentionTimestamp: Long
- Definition Classes
- SnapshotImpl
-
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
numOfFiles: Long
- Definition Classes
- KernelSnapshotDelegator → SnapshotImpl
-
def
open(): CloseableIterator[RowRecord]
- Definition Classes
- KernelSnapshotDelegator → SnapshotImpl → Snapshot
-
val
path: Path
- Definition Classes
- SnapshotImpl
-
def
protocol: Protocol
- Definition Classes
- SnapshotImpl
-
lazy val
protocolMetadataLoadMetrics: ProtocolMetadataLoadMetrics
- Definition Classes
- SnapshotImpl
-
lazy val
protocolScala: Protocol
Internal vals we need to override
Internal vals we need to override
- Definition Classes
- KernelSnapshotDelegator → SnapshotImpl
-
def
scan(predicate: Expression): DeltaScan
- Definition Classes
- KernelSnapshotDelegator → SnapshotImpl → Snapshot
-
def
scan(): DeltaScan
- Definition Classes
- KernelSnapshotDelegator → SnapshotImpl → Snapshot
-
def
scanScala(): DeltaScanImpl
- Definition Classes
- KernelSnapshotDelegator → SnapshotImpl
-
def
scanScala(predicate: Expression): DeltaScanImpl
- Definition Classes
- SnapshotImpl
-
def
setTransactions: Seq[SetTransaction]
- Definition Classes
- SnapshotImpl
-
def
setTransactionsScala: Seq[SetTransaction]
- Definition Classes
- KernelSnapshotDelegator → SnapshotImpl
- lazy val standaloneSnapshot: SnapshotImpl
-
lazy val
state: State
- Attributes
- protected
- Definition Classes
- SnapshotImpl
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
timestamp: Long
- Definition Classes
- SnapshotImpl
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
tombstones: Seq[RemoveFile]
- Definition Classes
- SnapshotImpl
-
def
tombstonesScala: Seq[RemoveFile]
- Definition Classes
- SnapshotImpl
-
lazy val
transactions: Map[String, Long]
- Definition Classes
- SnapshotImpl
-
val
version: Long
- Definition Classes
- KernelSnapshotDelegator → SnapshotImpl
-
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()