Package org.apache.iceberg
Interface DataFile
- All Superinterfaces:
ContentFile<DataFile>
- All Known Implementing Classes:
SparkDataFile
Interface for data files listed in a table manifest.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Types.NestedFieldstatic final Types.NestedFieldstatic final Types.NestedFieldstatic final Types.NestedFieldstatic final Types.NestedFieldstatic final Types.NestedFieldstatic final Types.NestedFieldstatic final Types.NestedFieldstatic final Types.NestedFieldstatic final Types.NestedFieldstatic final Stringstatic final intstatic final Stringstatic final Types.NestedFieldstatic final Types.NestedFieldstatic final Types.NestedFieldstatic final Types.NestedFieldstatic final Types.NestedFieldstatic final Types.NestedField -
Method Summary
Modifier and TypeMethodDescriptiondefault FileContentcontent()Returns type of content stored in the file; one of DATA, POSITION_DELETES, or EQUALITY_DELETES.Returns the set of field IDs used for equality comparison, in equality delete files.static Types.StructTypegetType(Types.StructType partitionType) Methods inherited from interface org.apache.iceberg.ContentFile
columnSizes, copy, copy, copyWithoutStats, copyWithStats, dataSequenceNumber, fileSequenceNumber, fileSizeInBytes, format, keyMetadata, location, lowerBounds, manifestLocation, nanValueCounts, nullValueCounts, partition, path, pos, recordCount, sortOrderId, specId, splitOffsets, upperBounds, valueCounts
-
Field Details
-
CONTENT
-
FILE_PATH
-
FILE_FORMAT
-
RECORD_COUNT
-
FILE_SIZE
-
COLUMN_SIZES
-
VALUE_COUNTS
-
NULL_VALUE_COUNTS
-
NAN_VALUE_COUNTS
-
LOWER_BOUNDS
-
UPPER_BOUNDS
-
KEY_METADATA
-
SPLIT_OFFSETS
-
EQUALITY_IDS
-
SORT_ORDER_ID
-
SPEC_ID
-
PARTITION_ID
static final int PARTITION_ID- See Also:
-
PARTITION_NAME
- See Also:
-
PARTITION_DOC
- See Also:
-
-
Method Details
-
getType
-
content
Description copied from interface:ContentFileReturns type of content stored in the file; one of DATA, POSITION_DELETES, or EQUALITY_DELETES.- Specified by:
contentin interfaceContentFile<DataFile>- Returns:
- the content stored in the file; one of DATA, POSITION_DELETES, or EQUALITY_DELETES
-
equalityFieldIds
Description copied from interface:ContentFileReturns the set of field IDs used for equality comparison, in equality delete files.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.
- Specified by:
equalityFieldIdsin interfaceContentFile<DataFile>- Returns:
- IDs of the fields used in equality comparison with the records in this delete file
-