Package org.apache.iceberg.view
Class BaseView
java.lang.Object
org.apache.iceberg.view.BaseView
- All Implemented Interfaces:
- Serializable,- View
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGet the current version for this view, or null if there are no versions.history()Get the version history of this table.location()Return the view's base location.name()Return a map of string properties for this view.Create a newReplaceViewVersionto replace the view's current version.schema()Return theschemafor this view.schemas()Return a map ofschemafor this view.This implementation of sqlFor will resolve what is considered the "closest" dialect.Create a newUpdateLocationto set the view's location.Create a newUpdateViewPropertiesto update view properties.uuid()Returns the view's UUIDversion(int versionId) Get a version in this view by ID.versions()Get the versions of this view.
- 
Constructor Details- 
BaseView
 
- 
- 
Method Details- 
name
- 
operations
- 
schemaDescription copied from interface:ViewReturn theschemafor this view.
- 
schemasDescription copied from interface:ViewReturn a map ofschemafor this view.
- 
currentVersionDescription copied from interface:ViewGet the current version for this view, or null if there are no versions.- Specified by:
- currentVersionin interface- View
- Returns:
- the current view version.
 
- 
versionsDescription copied from interface:ViewGet the versions of this view.
- 
versionDescription copied from interface:ViewGet a version in this view by ID.
- 
historyDescription copied from interface:ViewGet the version history of this table.- Specified by:
- historyin interface- View
- Returns:
- a list of ViewHistoryEntry
 
- 
propertiesDescription copied from interface:ViewReturn a map of string properties for this view.- Specified by:
- propertiesin interface- View
- Returns:
- this view's properties map
 
- 
locationDescription copied from interface:ViewReturn the view's base location.
- 
updatePropertiesDescription copied from interface:ViewCreate a newUpdateViewPropertiesto update view properties.- Specified by:
- updatePropertiesin interface- View
- Returns:
- a new UpdateViewProperties
 
- 
replaceVersionDescription copied from interface:ViewCreate a newReplaceViewVersionto replace the view's current version.- Specified by:
- replaceVersionin interface- View
- Returns:
- a new ReplaceViewVersion
 
- 
updateLocationDescription copied from interface:ViewCreate a newUpdateLocationto set the view's location.- Specified by:
- updateLocationin interface- View
- Returns:
- a new UpdateLocation
 
- 
uuidDescription copied from interface:ViewReturns the view's UUID
- 
sqlForThis implementation of sqlFor will resolve what is considered the "closest" dialect. If an exact match is found, then that is returned. Otherwise, the first representation would be returned. If no SQL representation is found, null is returned.
 
-