public class AddFile
extends Object
| Modifier and Type | Field and Description |
|---|---|
static StructType |
FULL_SCHEMA
Full schema of the
add action in the Delta Log. |
static StructType |
SCHEMA_WITH_STATS |
static StructType |
SCHEMA_WITHOUT_STATS
Schema of the
add action in the Delta Log without stats. |
| Constructor and Description |
|---|
AddFile() |
| Modifier and Type | Method and Description |
|---|---|
static Row |
convertDataFileStatus(java.net.URI tableRoot,
DataFileStatus dataFileStatus,
java.util.Map<String,Literal> partitionValues,
boolean dataChange)
Utility to generate `AddFile` row from the given
DataFileStatus and partition values. |
public static final StructType SCHEMA_WITHOUT_STATS
add action in the Delta Log without stats. Used for constructing table
snapshot to read data from the table.public static final StructType SCHEMA_WITH_STATS
public static final StructType FULL_SCHEMA
add action in the Delta Log.public static Row convertDataFileStatus(java.net.URI tableRoot, DataFileStatus dataFileStatus, java.util.Map<String,Literal> partitionValues, boolean dataChange)
DataFileStatus and partition values.