Package io.delta.kernel.internal.actions
Class CommitInfo
Object
io.delta.kernel.internal.actions.CommitInfo
Delta log action representing a commit information action. According to the Delta protocol there
isn't any specific schema for this action, but we use the following schema:
- timestamp: Long - Milliseconds since epoch UTC of when this commit happened
- engineInfo: String - Engine that made this commit
- operation: String - Operation (e.g. insert, delete, merge etc.)
- operationParameters: Map(String, String) - each operation depending upon the type may add zero or more parameters about the operation. E.g. when creating a table `partitionBy` key with list of partition columns is added.
- isBlindAppend: Boolean - Is this commit a blind append?
- txnId: String - a unique transaction id of this commit
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongtoRow()Encode as aRowobject with the schemaFULL_SCHEMA.
-
Field Details
-
FULL_SCHEMA
-
-
Constructor Details
-
CommitInfo
-
-
Method Details
-
getTimestamp
public long getTimestamp() -
getEngineInfo
-
getOperation
-
toRow
Encode as aRowobject with the schemaFULL_SCHEMA.- Returns:
Rowobject with the schemaFULL_SCHEMA
-