public interface VersionBuilder<T>
Modifier and Type | Method and Description |
---|---|
T |
withDefaultCatalog(java.lang.String catalog)
Set the default catalog to use for the view.
|
T |
withDefaultNamespace(Namespace namespace)
Set the default namespace to use for the view.
|
T |
withQuery(java.lang.String dialect,
java.lang.String sql)
Add a view representation for the given dialect and the SQL to the view.
|
T |
withSchema(Schema schema)
Set the view schema.
|
T withSchema(Schema schema)
schema
- The schema to use for this view versionT withQuery(java.lang.String dialect, java.lang.String sql)
dialect
- The dialect of the view representationsql
- The SQL of the view representationT withDefaultCatalog(java.lang.String catalog)
catalog
- The default catalog to use when the SQL does not contain a catalog