Class NessieUtil


  • public final class NessieUtil
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Optional<org.projectnessie.model.Conflict> extractSingleConflict​(org.projectnessie.error.NessieReferenceConflictException ex, java.util.Collection<org.projectnessie.model.Conflict.ConflictType> handledConflictTypes)  
      static ViewMetadata loadViewMetadata​(ViewMetadata metadata, java.lang.String metadataLocation, org.projectnessie.model.Reference reference)  
      static TableMetadata updateTableMetadataWithNessieSpecificProperties​(TableMetadata tableMetadata, java.lang.String metadataLocation, org.projectnessie.model.IcebergTable table, java.lang.String identifier, org.projectnessie.model.Reference reference)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • NESSIE_CONFIG_PREFIX

        public static final java.lang.String NESSIE_CONFIG_PREFIX
        See Also:
        Constant Field Values
      • CLIENT_API_VERSION

        public static final java.lang.String CLIENT_API_VERSION
        See Also:
        Constant Field Values
    • Method Detail

      • updateTableMetadataWithNessieSpecificProperties

        public static TableMetadata updateTableMetadataWithNessieSpecificProperties​(TableMetadata tableMetadata,
                                                                                    java.lang.String metadataLocation,
                                                                                    org.projectnessie.model.IcebergTable table,
                                                                                    java.lang.String identifier,
                                                                                    org.projectnessie.model.Reference reference)
      • extractSingleConflict

        public static java.util.Optional<org.projectnessie.model.Conflict> extractSingleConflict​(org.projectnessie.error.NessieReferenceConflictException ex,
                                                                                                 java.util.Collection<org.projectnessie.model.Conflict.ConflictType> handledConflictTypes)
      • loadViewMetadata

        public static ViewMetadata loadViewMetadata​(ViewMetadata metadata,
                                                    java.lang.String metadataLocation,
                                                    org.projectnessie.model.Reference reference)