class InMemoryLogReplay extends LogReplay
Replays a history of actions, resolving them to produce the current state of the table. The protocol for resolution is as follows:
- The most recent AddFile and accompanying metadata for any
(path, dv id)tuple wins. - RemoveFile deletes a corresponding AddFile and is retained as a
tombstone until
minFileRetentionTimestamphas passed. A RemoveFile "corresponds" to the AddFile that matches both the parquet file URI *and* the deletion vector's URI (if any). - The most recent version for any
appIdin a SetTransaction wins. - The most recent Metadata wins.
- The most recent Protocol version wins.
- For each
(path, dv id)tuple, this class should always output only one FileAction (either AddFile or RemoveFile)
This class is not thread safe.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- InMemoryLogReplay
- LogReplay
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new InMemoryLogReplay(minFileRetentionTimestamp: Long, minSetTransactionRetentionTimestamp: Option[Long])
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
append(version: Long, actions: Iterator[Action]): Unit
Append these
actionsto the state.Append these
actionsto the state. Must only be called in ascending order ofversion.- Definition Classes
- InMemoryLogReplay → LogReplay
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
checkpoint: Iterator[Action]
Returns the current state of the Table as an iterator of actions.
Returns the current state of the Table as an iterator of actions.
- Definition Classes
- InMemoryLogReplay → LogReplay
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
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
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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()