Interface DeleteLoader

All Known Implementing Classes:
BaseDeleteLoader

public interface DeleteLoader
An API for loading delete file content into in-memory data structures.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.iceberg.util.StructLikeSet
    loadEqualityDeletes(Iterable<org.apache.iceberg.DeleteFile> deleteFiles, org.apache.iceberg.Schema projection)
    Loads the content of equality delete files into a set.
    org.apache.iceberg.deletes.PositionDeleteIndex
    loadPositionDeletes(Iterable<org.apache.iceberg.DeleteFile> deleteFiles, CharSequence filePath)
    Loads the content of a deletion vector or position delete files for a given data file path into a position index.
  • Method Details

    • loadEqualityDeletes

      org.apache.iceberg.util.StructLikeSet loadEqualityDeletes(Iterable<org.apache.iceberg.DeleteFile> deleteFiles, org.apache.iceberg.Schema projection)
      Loads the content of equality delete files into a set.
      Parameters:
      deleteFiles - equality delete files
      projection - a projection of columns to load
      Returns:
      a set of equality deletes
    • loadPositionDeletes

      org.apache.iceberg.deletes.PositionDeleteIndex loadPositionDeletes(Iterable<org.apache.iceberg.DeleteFile> deleteFiles, CharSequence filePath)
      Loads the content of a deletion vector or position delete files for a given data file path into a position index.
      Parameters:
      deleteFiles - a deletion vector or position delete files
      filePath - the data file path for which to load deletes
      Returns:
      a position delete index for the provided data file path