Class Contents

    • Constructor Detail

      • Contents

        public Contents()
    • Method Detail

      • getId

        @Nullable
        @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.

        todo this is nullable to maintain backwards compatibility with the version of nessie deployed with iceberg. Remove after 0.6.0 is finished (#1054)

      • unwrap

        public <T> Optional<T> unwrap​(Class<T> clazz)
        Unwrap object if possible, otherwise throw.
        Type Parameters:
        T - Type to wrap to.
        Parameters:
        clazz - Class we're trying to return.
        Returns:
        The return value