Package org.apache.iceberg.data
Interface DeleteLoader
-
- All Known Implementing Classes:
BaseDeleteLoader
public interface DeleteLoader
An API for loading delete file content into in-memory data structures.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StructLikeSet
loadEqualityDeletes(java.lang.Iterable<DeleteFile> deleteFiles, Schema projection)
Loads the content of equality delete files into a set.PositionDeleteIndex
loadPositionDeletes(java.lang.Iterable<DeleteFile> deleteFiles, java.lang.CharSequence filePath)
Loads the content of position delete files for a given data file path into a position index.
-
-
-
Method Detail
-
loadEqualityDeletes
StructLikeSet loadEqualityDeletes(java.lang.Iterable<DeleteFile> deleteFiles, Schema projection)
Loads the content of equality delete files into a set.- Parameters:
deleteFiles
- equality delete filesprojection
- a projection of columns to load- Returns:
- a set of equality deletes
-
loadPositionDeletes
PositionDeleteIndex loadPositionDeletes(java.lang.Iterable<DeleteFile> deleteFiles, java.lang.CharSequence filePath)
Loads the content of position delete files for a given data file path into a position index.- Parameters:
deleteFiles
- position delete filesfilePath
- the data file path for which to load deletes- Returns:
- a position delete index for the provided data file path
-
-