Package org.projectnessie.gc.expire
Interface ContentToFiles
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ContentToFilesRetrieve all files/objects for a specificContentReference, specific to table formats.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.stream.Stream<FileReference>extractFiles(@NotNull @NotNull ContentReference contentReference)Extracts all files and base locations from the givenContentobject.
-
-
-
Method Detail
-
extractFiles
@MustBeClosed java.util.stream.Stream<FileReference> extractFiles(@NotNull @NotNull @NotNull @NotNull ContentReference contentReference)
Extracts all files and base locations from the givenContentobject.- Parameters:
contentReference- content object to extract all files and base location(s) from- Returns:
- stream of all files used by the provided content object - only the
FileReference.base()andFileReference.path()attributes of the returnedFileReferences contain useful information (aka the modification time is set to an arbitrary value and must be ignored). TheFileReference.base()attribute must correspond to the base path of the referenced content.
-
-