Package org.projectnessie.model
Class Contents
- java.lang.Object
-
- org.projectnessie.model.Contents
-
- Direct Known Subclasses:
DeltaLakeTable,HiveDatabase,HiveTable,IcebergTable,SqlView
public abstract class Contents extends Object
Abstract implementation of contents within Nessie.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classContents.Type
-
Constructor Summary
Constructors Constructor Description Contents()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()Unique id for this object.<T> Optional<T>unwrap(Class<T> clazz)Unwrap object if possible, otherwise throw.
-
-
-
Method Detail
-
getId
@Default public String getId()
Unique id for this object.This id is unique for the entire lifetime of this Contents object and persists across renames. Two contents with the same key will have different id.
-
-