Interface DeleteFile
-
- All Superinterfaces:
ContentFile<DeleteFile>
public interface DeleteFile extends ContentFile<DeleteFile>
Interface for delete files listed in a table delete manifest.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.lang.LongcontentOffset()Returns the offset in the file where the content starts.default java.lang.LongcontentSizeInBytes()Returns the length of referenced content stored in the file.default java.lang.StringreferencedDataFile()Returns the location of a data file that all deletes reference.default java.util.List<java.lang.Long>splitOffsets()Returns list of recommended split locations, if applicable, null otherwise.-
Methods inherited from interface org.apache.iceberg.ContentFile
columnSizes, content, copy, copy, copyWithoutStats, copyWithStats, dataSequenceNumber, equalityFieldIds, fileSequenceNumber, fileSizeInBytes, firstRowId, format, keyMetadata, location, lowerBounds, manifestLocation, nanValueCounts, nullValueCounts, partition, path, pos, recordCount, sortOrderId, specId, upperBounds, valueCounts
-
-
-
-
Method Detail
-
splitOffsets
default java.util.List<java.lang.Long> splitOffsets()
Description copied from interface:ContentFileReturns list of recommended split locations, if applicable, null otherwise.When available, this information is used for planning scan tasks whose boundaries are determined by these offsets. The returned list must be sorted in ascending order.
- Specified by:
splitOffsetsin interfaceContentFile<DeleteFile>- Returns:
- List of recommended split locations, if applicable, null otherwise. When available, this information is used for planning scan tasks whose boundaries are determined by these offsets. The returned list must be sorted in ascending order.
-
referencedDataFile
default java.lang.String referencedDataFile()
Returns the location of a data file that all deletes reference.The referenced data file is required for deletion vectors and may be optionally captured for position delete files that apply to only one data file. This method always returns null for equality delete files.
-
contentOffset
default java.lang.Long contentOffset()
Returns the offset in the file where the content starts.The content offset is required for deletion vectors and points to the start of the deletion vector blob in the Puffin file, enabling direct access. This method always returns null for equality and position delete files.
-
contentSizeInBytes
default java.lang.Long contentSizeInBytes()
Returns the length of referenced content stored in the file.The content size is required for deletion vectors and indicates the size of the deletion vector blob in the Puffin file, enabling direct access. This method always returns null for equality and position delete files.
-
-