Package org.apache.iceberg.viewdepoc
Class BaseVersion
java.lang.Object
org.apache.iceberg.viewdepoc.BaseVersion
- All Implemented Interfaces:
Version
-
Constructor Summary
ConstructorsConstructorDescriptionBaseVersion(int versionId, Integer parentId, long timestampMillis, VersionSummary summary, ViewDefinition viewDefinition) -
Method Summary
Modifier and TypeMethodDescriptionparentId()Return this version's parent ID or null.summary()Returns the version summary such as the name and genie-id of the operation that created that version of the view.longReturn this version's timestamp.toString()intReturn this version's ID.Returns the view sql metadata.
-
Constructor Details
-
BaseVersion
public BaseVersion(int versionId, Integer parentId, long timestampMillis, VersionSummary summary, ViewDefinition viewDefinition)
-
-
Method Details
-
versionId
public int versionId()Description copied from interface:VersionReturn this version's ID. -
parentId
Description copied from interface:VersionReturn this version's parent ID or null. -
timestampMillis
public long timestampMillis()Description copied from interface:VersionReturn this version's timestamp.This timestamp is the same as those produced by
System.currentTimeMillis().- Specified by:
timestampMillisin interfaceVersion- Returns:
- a long timestamp in milliseconds
-
summary
Description copied from interface:VersionReturns the version summary such as the name and genie-id of the operation that created that version of the view. -
viewDefinition
Description copied from interface:VersionReturns the view sql metadata.- Specified by:
viewDefinitionin interfaceVersion- Returns:
- View SQL metadata
-
toString
-