object DeltaSource extends Serializable
- Alphabetic
- By Inheritance
- DeltaSource
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
createRewindableActionIterator(spark: SparkSession, deltaLog: DeltaLog, fileStatus: FileStatus): ClosableIterator[Action] with SupportsRewinding[Action]
Read an ClosableIterator of Delta actions from file status, considering memory constraints
-
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] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getStartingVersionFromTimestamp(spark: SparkSession, deltaLog: DeltaLog, timestamp: Timestamp, canExceedLatest: Boolean = false): Long
- If a commit version exactly matches the provided timestamp, we return it.
- If a commit version exactly matches the provided timestamp, we return it. - Otherwise, we return the earliest commit version with a timestamp greater than the provided one. - If the provided timestamp is larger than the timestamp of any committed version, and canExceedLatest is disabled we throw an error. - If the provided timestamp is larger than the timestamp of any committed version, and canExceedLatest is enabled we return a version that is greater than deltaLog.snapshot.version by one
- spark
- current spark session
- deltaLog
- Delta log of the table for which we find the version.
- timestamp
- user specified timestamp
- canExceedLatest
- if true, version can be greater than the latest snapshot commit
- returns
- corresponding version number for timestamp
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
iteratorLast[T](iter: ClosableIterator[T]): Option[T]
Scan and get the last item of the iterator.
-
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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()