Package org.apache.iceberg.view
Interface ViewVersion
public interface ViewVersion
A version of the view at a point in time.
 
A version consists of a view metadata file.
Versions are created by view operations, like Create and Replace.
- 
Method SummaryModifier and TypeMethodDescriptiondefault StringThe default catalog when the view is created.The default namespace to use when the SQL does not contain a namespace.default StringReturn the operation which produced the view versionReturn the list of other view representations.intschemaId()The query output schema at version create time, without aliasessummary()Return the version summarylongReturn this version's timestamp.intReturn this version's id.
- 
Method Details- 
versionIdint versionId()Return this version's id. Version ids are monotonically increasing
- 
timestampMillislong timestampMillis()Return this version's timestamp.This timestamp is the same as those produced by System.currentTimeMillis().- Returns:
- a long timestamp in milliseconds
 
- 
summaryReturn the version summary- Returns:
- a version summary
 
- 
representationsList<ViewRepresentation> representations()Return the list of other view representations.May contain SQL view representations for other dialects. - Returns:
- the list of view representations
 
- 
operationReturn the operation which produced the view version- Returns:
- the string operation which produced the view version
 
- 
schemaIdint schemaId()The query output schema at version create time, without aliases
- 
defaultCatalogThe default catalog when the view is created.
- 
defaultNamespaceNamespace defaultNamespace()The default namespace to use when the SQL does not contain a namespace.
 
-