Package org.projectnessie.gc.contents
Interface ContentReference
-
@Immutable public interface ContentReferenceContent 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.StringcommitId()Nessie commit ID from which the referenced content can be retrieved viacontentKey().java.lang.StringcontentId()Value fromContent.getId().org.projectnessie.model.ContentKeycontentKey()Content key in Nessiecommitfrom which the referenced content can be retrieved.org.projectnessie.model.Content.TypecontentType()static ContentReferenceicebergTable(@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.StringmetadataLocation()Value fromIcebergTable.getMetadataLocation().java.lang.LongsnapshotId()Value fromIcebergTable.getSnapshotId().
-
-
-
Method Detail
-
contentId
@Parameter(order=1) java.lang.String contentId()
Value fromContent.getId().
-
commitId
@Auxiliary @Parameter(order=2) java.lang.String commitId()
Nessie commit ID from which the referenced content can be retrieved viacontentKey().
-
contentKey
@Auxiliary @Parameter(order=3) org.projectnessie.model.ContentKey contentKey()
Content key in Nessiecommitfrom 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 fromIcebergTable.getMetadataLocation().
-
snapshotId
@Parameter(order=6) @Nullable java.lang.Long snapshotId()
Value fromIcebergTable.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)
-
-