Package org.projectnessie.gc.iceberg
Class IcebergContentToFiles
- java.lang.Object
-
- org.projectnessie.gc.iceberg.IcebergContentToFiles
-
- All Implemented Interfaces:
org.projectnessie.gc.expire.ContentToFiles
@Immutable public abstract class IcebergContentToFiles extends java.lang.Object implements org.projectnessie.gc.expire.ContentToFilesProvides 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceIcebergContentToFiles.Builder
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringS3_KEY_NOT_FOUND
-
Constructor Summary
Constructors Constructor Description IcebergContentToFiles()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IcebergContentToFiles.Builderbuilder()java.util.stream.Stream<org.projectnessie.gc.files.FileReference>extractFiles(org.projectnessie.gc.contents.ContentReference contentReference)Provides aStreamwith theFileReferences referencing the table-metadata, themanifest-list, allmanifest-filesand alldata files.
-
-
-
Field Detail
-
S3_KEY_NOT_FOUND
public static final java.lang.String S3_KEY_NOT_FOUND
- See Also:
- Constant Field Values
-
-
Method Detail
-
builder
public static IcebergContentToFiles.Builder builder()
-
extractFiles
@MustBeClosed public java.util.stream.Stream<org.projectnessie.gc.files.FileReference> extractFiles(org.projectnessie.gc.contents.ContentReference contentReference)
Provides aStreamwith theFileReferences referencing the table-metadata, themanifest-list, allmanifest-filesand alldata files.- Specified by:
extractFilesin interfaceorg.projectnessie.gc.expire.ContentToFiles
-
-