Package org.projectnessie.model
Class SqlView
- java.lang.Object
-
- org.projectnessie.model.Content
-
- org.projectnessie.model.SqlView
-
- Direct Known Subclasses:
ImmutableSqlView
@Immutable public abstract class SqlView extends Content
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSqlView.Dialect-
Nested classes/interfaces inherited from class org.projectnessie.model.Content
Content.Type
-
-
Constructor Summary
Constructors Constructor Description SqlView()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract @NotNull SqlView.DialectgetDialect()abstract @NotBlank StringgetSqlText()Content.TypegetType()Returns theContent.Typeenum constant for this content object.static SqlViewof(SqlView.Dialect dialect, String sqlText)
-
-
-
Method Detail
-
getSqlText
@NotBlank public abstract @NotBlank String getSqlText()
-
getDialect
@NotNull public abstract @NotNull SqlView.Dialect 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 SqlView of(SqlView.Dialect dialect, String sqlText)
-
-