Class IcebergView

    • Nested Class Summary

    • Constructor Summary

      Constructors 
      Constructor Description
      IcebergView()  
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static org.projectnessie.model.ImmutableIcebergView.Builder builder()  
      abstract java.lang.String getDialect()  
      abstract java.util.Map<java.lang.String,​java.lang.Object> getMetadata()
      Deprecated.
      abstract @NotNull @NotNull @NotBlank @NotBlank java.lang.String getMetadataLocation()
      Location where Iceberg stored its ViewMetadata file.
      abstract int getSchemaId()  
      abstract @NotBlank @NotBlank @NotNull @NotNull java.lang.String getSqlText()  
      Content.Type getType()
      Returns the Content.Type value for this content object.
      abstract long getVersionId()
      Corresponds to Iceberg's currentVersionId.
      static IcebergView of​(java.lang.String metadataLocation, long versionId, int schemaId, java.lang.String dialect, java.lang.String sqlText)  
      static IcebergView of​(java.lang.String id, java.lang.String metadataLocation, long versionId, int schemaId, java.lang.String dialect, java.lang.String sqlText)  
      abstract IcebergView withId​(java.lang.String id)  
      • Methods inherited from class java.lang.Object

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

      • IcebergView

        public IcebergView()
    • Method Detail

      • getMetadataLocation

        @NotNull
        @NotNull
        @NotBlank
        @NotBlank
        public abstract @NotNull @NotNull @NotBlank @NotBlank java.lang.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 java.lang.String getSqlText()
      • getDialect

        @Nullable
        @Nullable
        public abstract java.lang.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 java.util.Map<java.lang.String,​java.lang.Object> getMetadata()
        Deprecated.
      • builder

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

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

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