Struct deltalake::checkpoints::CheckPointWriter [−][src]
pub struct CheckPointWriter { /* fields omitted */ }
Expand description
Struct for writing checkpoints to the delta log.
Implementations
Creates a new CheckPointWriter.
Creates a new CheckPointWriter for the table URI.
pub async fn create_checkpoint_for_version(
&self,
version: DeltaDataTypeVersion
) -> Result<(), CheckPointWriterError>
pub async fn create_checkpoint_for_version(
&self,
version: DeltaDataTypeVersion
) -> Result<(), CheckPointWriterError>
Creates a new checkpoint at the specified version. NOTE: This method loads a new instance of delta table to determine the state to checkpoint.
pub async fn create_checkpoint_from_state(
&self,
version: DeltaDataTypeVersion,
state: &DeltaTableState
) -> Result<(), CheckPointWriterError>
pub async fn create_checkpoint_from_state(
&self,
version: DeltaDataTypeVersion,
state: &DeltaTableState
) -> Result<(), CheckPointWriterError>
Creates a new checkpoint at the specified version from the given DeltaTableState.
Auto Trait Implementations
impl !RefUnwindSafe for CheckPointWriter
impl Send for CheckPointWriter
impl Sync for CheckPointWriter
impl Unpin for CheckPointWriter
impl !UnwindSafe for CheckPointWriter