Package org.projectnessie.model
Class IcebergView
- java.lang.Object
-
- org.projectnessie.model.Content
-
- org.projectnessie.model.IcebergContent
-
- org.projectnessie.model.IcebergView
-
@Immutable public abstract class IcebergView extends IcebergContent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.projectnessie.model.Content
Content.Type
-
-
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.Builderbuilder()abstract java.lang.StringgetDialect()abstract GenericMetadatagetMetadata()Deprecated.abstract @NotNull @NotBlank java.lang.StringgetMetadataLocation()Location where Iceberg stored itsViewMetadatafile.abstract intgetSchemaId()abstract @NotBlank @NotNull java.lang.StringgetSqlText()Content.TypegetType()Returns theContent.Typevalue for this content object.abstract intgetVersionId()Corresponds to Iceberg'scurrentVersionId.static IcebergViewof(java.lang.String metadataLocation, int versionId, int schemaId, java.lang.String dialect, java.lang.String sqlText)static IcebergViewof(java.lang.String id, java.lang.String metadataLocation, int versionId, int schemaId, java.lang.String dialect, java.lang.String sqlText)
-
-
-
Method Detail
-
getMetadataLocation
@NotNull @NotBlank public abstract @NotNull @NotBlank java.lang.String getMetadataLocation()
Location where Iceberg stored itsViewMetadatafile. The location depends on the (implementation of) Iceberg'sFileIOconfigured for the particular Iceberg table.
-
getVersionId
public abstract int getVersionId()
Corresponds to Iceberg'scurrentVersionId.
-
getSchemaId
public abstract int getSchemaId()
-
getSqlText
@NotBlank @NotNull public abstract @NotBlank @NotNull java.lang.String getSqlText()
-
getDialect
@Nullable public abstract java.lang.String getDialect()
-
getType
public Content.Type getType()
Description copied from class:ContentReturns theContent.Typevalue for this content object.The name of the returned value should match the JSON type name used for serializing the content object.
-
getMetadata
@Deprecated @Nullable public abstract GenericMetadata getMetadata()
Deprecated.
-
builder
public static org.projectnessie.model.ImmutableIcebergView.Builder builder()
-
of
public static IcebergView of(java.lang.String metadataLocation, int versionId, int schemaId, java.lang.String dialect, java.lang.String sqlText)
-
of
public static IcebergView of(java.lang.String id, java.lang.String metadataLocation, int versionId, int schemaId, java.lang.String dialect, java.lang.String sqlText)
-
-