Package io.delta.kernel.internal.actions
Class AddFile
Object
io.delta.kernel.internal.actions.AddFile
Delta log action representing an `AddFile`
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StructTypeFull schema of theaddaction in the Delta Log.static final StructTypestatic final StructTypeSchema of theaddaction in the Delta Log without stats. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RowconvertDataFileStatus(URI tableRoot, DataFileStatus dataFileStatus, Map<String, Literal> partitionValues, boolean dataChange) Utility to generate `AddFile` row from the givenDataFileStatusand partition values.
-
Field Details
-
SCHEMA_WITHOUT_STATS
Schema of theaddaction in the Delta Log without stats. Used for constructing table snapshot to read data from the table. -
SCHEMA_WITH_STATS
-
FULL_SCHEMA
Full schema of theaddaction in the Delta Log.
-
-
Constructor Details
-
AddFile
public AddFile()
-
-
Method Details
-
convertDataFileStatus
public static Row convertDataFileStatus(URI tableRoot, DataFileStatus dataFileStatus, Map<String, Literal> partitionValues, boolean dataChange) Utility to generate `AddFile` row from the givenDataFileStatusand partition values.
-