public interface DataFile extends ContentFile<DataFile>
Modifier and Type | Field and Description |
---|---|
static Types.NestedField |
COLUMN_SIZES |
static Types.NestedField |
CONTENT |
static Types.NestedField |
EQUALITY_IDS |
static Types.NestedField |
FILE_FORMAT |
static Types.NestedField |
FILE_PATH |
static Types.NestedField |
FILE_SIZE |
static Types.NestedField |
KEY_METADATA |
static Types.NestedField |
LOWER_BOUNDS |
static Types.NestedField |
NAN_VALUE_COUNTS |
static Types.NestedField |
NULL_VALUE_COUNTS |
static java.lang.String |
PARTITION_DOC |
static int |
PARTITION_ID |
static java.lang.String |
PARTITION_NAME |
static Types.NestedField |
RECORD_COUNT |
static Types.NestedField |
SORT_ORDER_ID |
static Types.NestedField |
SPEC_ID |
static Types.NestedField |
SPLIT_OFFSETS |
static Types.NestedField |
UPPER_BOUNDS |
static Types.NestedField |
VALUE_COUNTS |
Modifier and Type | Method and Description |
---|---|
default FileContent |
content()
Returns type of content stored in the file; one of DATA, POSITION_DELETES, or EQUALITY_DELETES.
|
default java.util.List<java.lang.Integer> |
equalityFieldIds()
Returns the set of field IDs used for equality comparison, in equality delete files.
|
static Types.StructType |
getType(Types.StructType partitionType) |
columnSizes, copy, copyWithoutStats, fileSizeInBytes, format, keyMetadata, lowerBounds, nanValueCounts, nullValueCounts, partition, path, pos, recordCount, sortOrderId, specId, splitOffsets, upperBounds, valueCounts
static final Types.NestedField CONTENT
static final Types.NestedField FILE_PATH
static final Types.NestedField FILE_FORMAT
static final Types.NestedField RECORD_COUNT
static final Types.NestedField FILE_SIZE
static final Types.NestedField COLUMN_SIZES
static final Types.NestedField VALUE_COUNTS
static final Types.NestedField NULL_VALUE_COUNTS
static final Types.NestedField NAN_VALUE_COUNTS
static final Types.NestedField LOWER_BOUNDS
static final Types.NestedField UPPER_BOUNDS
static final Types.NestedField KEY_METADATA
static final Types.NestedField SPLIT_OFFSETS
static final Types.NestedField EQUALITY_IDS
static final Types.NestedField SORT_ORDER_ID
static final Types.NestedField SPEC_ID
static final int PARTITION_ID
static final java.lang.String PARTITION_NAME
static final java.lang.String PARTITION_DOC
static Types.StructType getType(Types.StructType partitionType)
default FileContent content()
ContentFile
content
in interface ContentFile<DataFile>
default java.util.List<java.lang.Integer> equalityFieldIds()
ContentFile
An equality delete file may contain additional data fields that are not used by equality comparison. The subset of columns in a delete file to be used in equality comparison are tracked by ID. Extra columns can be used to reconstruct changes and metrics from extra columns are used during job planning.
equalityFieldIds
in interface ContentFile<DataFile>