Interface ContentReference


  • @Immutable
    public interface ContentReference
    Content references provide the relevant information for live-content identification plus expiry resp. orphan files deletion.
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String commitId()
      Nessie commit ID from which the referenced content can be retrieved via contentKey().
      java.lang.String contentId()
      Value from Content.getId().
      org.projectnessie.model.ContentKey contentKey()
      Content key in Nessie commit from which the referenced content can be retrieved.
      org.projectnessie.model.Content.Type contentType()  
      static ContentReference icebergTable​(@NotNull java.lang.String contentId, @NotNull java.lang.String commitId, @NotNull org.projectnessie.model.ContentKey contentKey, @NotNull java.lang.String metadataLocation, long snapshotId)  
      java.lang.String metadataLocation()
      Value from IcebergTable.getMetadataLocation().
      java.lang.Long snapshotId()
      Value from IcebergTable.getSnapshotId().
    • Method Detail

      • contentId

        @Parameter(order=1)
        java.lang.String contentId()
        Value from Content.getId().
      • commitId

        @Auxiliary
        @Parameter(order=2)
        java.lang.String commitId()
        Nessie commit ID from which the referenced content can be retrieved via contentKey().
      • contentKey

        @Auxiliary
        @Parameter(order=3)
        org.projectnessie.model.ContentKey contentKey()
        Content key in Nessie commit from which the referenced content can be retrieved.
      • contentType

        @Parameter(order=4)
        org.projectnessie.model.Content.Type contentType()
      • metadataLocation

        @Parameter(order=5)
        @Nullable
        java.lang.String metadataLocation()
        Value from IcebergTable.getMetadataLocation().
      • snapshotId

        @Parameter(order=6)
        @Nullable
        java.lang.Long snapshotId()
        Value from IcebergTable.getSnapshotId().
      • icebergTable

        static ContentReference icebergTable​(@NotNull
                                             @NotNull java.lang.String contentId,
                                             @NotNull
                                             @NotNull java.lang.String commitId,
                                             @NotNull
                                             @NotNull org.projectnessie.model.ContentKey contentKey,
                                             @NotNull
                                             @NotNull java.lang.String metadataLocation,
                                             long snapshotId)