Package org.apache.iceberg.nessie
Class NessieUtil
- java.lang.Object
-
- org.apache.iceberg.nessie.NessieUtil
-
public final class NessieUtil extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CLIENT_API_VERSION
static java.lang.String
NESSIE_CONFIG_PREFIX
-
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)
-
-
-
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)
-
-