Class IcebergView


@Immutable public abstract class IcebergView extends IcebergContent
  • Constructor Details

    • IcebergView

      public IcebergView()
  • Method Details

    • getMetadataLocation

      @NotNull @NotNull @NotBlank @NotBlank public abstract @NotNull @NotNull @NotBlank @NotBlank String getMetadataLocation()
      Location where Iceberg stored its ViewMetadata file. The location depends on the (implementation of) Iceberg's FileIO configured for the particular Iceberg table.
    • getVersionId

      public abstract long getVersionId()
      Corresponds to Iceberg's currentVersionId.
    • getSchemaId

      public abstract int getSchemaId()
    • getSqlText

      @NotBlank @NotBlank @NotNull @NotNull public abstract @NotBlank @NotBlank @NotNull @NotNull String getSqlText()
    • getDialect

      @Nullable @Nullable public abstract String getDialect()
    • getType

      public Content.Type getType()
      Description copied from class: Content
      Returns the Content.Type value for this content object.

      The name of the returned value should match the JSON type name used for serializing the content object.

      Specified by:
      getType in class Content
    • getMetadata

      @Deprecated @Nullable @Nullable public abstract Map<String,Object> getMetadata()
      Deprecated.
    • withId

      public abstract IcebergView withId(String id)
      Specified by:
      withId in class Content
    • builder

      public static org.projectnessie.model.ImmutableIcebergView.Builder builder()
    • of

      public static IcebergView of(String metadataLocation, long versionId, int schemaId, String dialect, String sqlText)
    • of

      public static IcebergView of(String id, String metadataLocation, long versionId, int schemaId, String dialect, String sqlText)