Class IcebergContentToFiles

  • All Implemented Interfaces:
    org.projectnessie.gc.expire.ContentToFiles

    @Immutable
    public abstract class IcebergContentToFiles
    extends java.lang.Object
    implements org.projectnessie.gc.expire.ContentToFiles
    Provides functionality to extract information about files and base locations from Iceberg content, which is the one Iceberg table snapshot referred to by a Nessie commit.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String S3_KEY_NOT_FOUND  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static IcebergContentToFiles.Builder builder()  
      java.util.stream.Stream<org.projectnessie.gc.files.FileReference> extractFiles​(org.projectnessie.gc.contents.ContentReference contentReference)
      Provides a Stream with the FileReferences referencing the table-metadata, the manifest-list, all manifest-files and all data files.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • S3_KEY_NOT_FOUND

        public static final java.lang.String S3_KEY_NOT_FOUND
        See Also:
        Constant Field Values
    • Constructor Detail

      • IcebergContentToFiles

        public IcebergContentToFiles()
    • Method Detail

      • extractFiles

        @MustBeClosed
        public java.util.stream.Stream<org.projectnessie.gc.files.FileReference> extractFiles​(org.projectnessie.gc.contents.ContentReference contentReference)
        Provides a Stream with the FileReferences referencing the table-metadata, the manifest-list, all manifest-files and all data files.
        Specified by:
        extractFiles in interface org.projectnessie.gc.expire.ContentToFiles