public interface ViewBuilder extends VersionBuilder<ViewBuilder>
View
.
Call ViewCatalog.buildView(org.apache.iceberg.catalog.TableIdentifier)
to create a new builder.
Modifier and Type | Method and Description |
---|---|
View |
create()
Create the view.
|
View |
createOrReplace()
Create or replace the view.
|
View |
replace()
Replace the view.
|
default ViewBuilder |
withLocation(java.lang.String location)
Sets a location for the view
|
ViewBuilder |
withProperties(java.util.Map<java.lang.String,java.lang.String> properties)
Add key/value properties to the view.
|
ViewBuilder |
withProperty(java.lang.String key,
java.lang.String value)
Add a key/value property to the view.
|
withDefaultCatalog, withDefaultNamespace, withQuery, withSchema
ViewBuilder withProperties(java.util.Map<java.lang.String,java.lang.String> properties)
properties
- key/value propertiesViewBuilder withProperty(java.lang.String key, java.lang.String value)
key
- a keyvalue
- a valuedefault ViewBuilder withLocation(java.lang.String location)
location
- the location to set for the viewView create()