Package org.projectnessie.model
Class IcebergView
- java.lang.Object
-
- org.projectnessie.model.Content
-
- org.projectnessie.model.IcebergView
-
- Direct Known Subclasses:
ImmutableIcebergView
@Immutable public abstract class IcebergView extends Content
-
-
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 Modifier and Type Method Description abstract @NotNull @NotBlank StringgetDialect()abstract @NotNull @NotBlank StringgetMetadataLocation()Location where Iceberg stored itsViewMetadatafile.abstract intgetSchemaId()abstract @NotBlank @NotNull StringgetSqlText()Content.TypegetType()Returns theContent.Typeenum constant for this content object.abstract intgetVersionId()static IcebergViewof(String metadataLocation, int versionId, int schemaId, String dialect, String sqlText)static IcebergViewof(String id, String metadataLocation, int versionId, int schemaId, String dialect, String sqlText)
-
-
-
Method Detail
-
getMetadataLocation
@NotNull @NotBlank public abstract @NotNull @NotBlank 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()
-
getSchemaId
public abstract int getSchemaId()
-
getSqlText
@NotBlank @NotNull public abstract @NotBlank @NotNull String getSqlText()
-
getDialect
@NotNull @NotBlank public abstract @NotNull @NotBlank String getDialect()
-
getType
public Content.Type getType()
Description copied from class:ContentReturns theContent.Typeenum constant for this content object.The name of the returned enum value should match the JSON type name used for serializing the content object.
-
of
public static IcebergView of(String metadataLocation, int versionId, int schemaId, String dialect, String sqlText)
-
of
public static IcebergView of(String id, String metadataLocation, int versionId, int schemaId, String dialect, String sqlText)
-
-