Interface DeleteLoader

  • All Known Implementing Classes:
    BaseDeleteLoader

    public interface DeleteLoader
    An API for loading delete file content into in-memory data structures.
    • 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 files
        projection - 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 files
        filePath - the data file path for which to load deletes
        Returns:
        a position delete index for the provided data file path