Interface ViewChange
- All Known Implementing Classes:
ViewChange.RemoveProperty
,ViewChange.SetProperty
@DeveloperApi
public interface ViewChange
ViewChange subclasses represent requested changes to a view.
These are passed to
ViewCatalog.alterView(org.apache.spark.sql.connector.catalog.Identifier, org.apache.spark.sql.connector.catalog.ViewChange...)
.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
static final class
-
Method Summary
Modifier and TypeMethodDescriptionstatic ViewChange
removeProperty
(String property) Create a ViewChange for removing a table property.static ViewChange
setProperty
(String property, String value) Create a ViewChange for setting a table property.
-
Method Details
-
setProperty
Create a ViewChange for setting a table property.- Parameters:
property
- the property namevalue
- the new property value- Returns:
- a ViewChange
-
removeProperty
Create a ViewChange for removing a table property.- Parameters:
property
- the property name- Returns:
- a ViewChange
-