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
      org.apache.iceberg.util.StructLikeSet loadEqualityDeletes​(java.lang.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​(java.lang.Iterable<org.apache.iceberg.DeleteFile> deleteFiles, java.lang.CharSequence filePath)
      Loads the content of a deletion vector or position delete files for a given data file path into a position index.
    • Method Detail

      • loadEqualityDeletes

        org.apache.iceberg.util.StructLikeSet loadEqualityDeletes​(java.lang.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​(java.lang.Iterable<org.apache.iceberg.DeleteFile> deleteFiles,
                                                                           java.lang.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