Interface Version

  • All Known Implementing Classes:
    BaseVersion

    public interface Version
    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 Detail

      • versionId

        int versionId()
        Return this version's ID.
        Returns:
        a long ID
      • parentId

        java.lang.Integer parentId()
        Return this version's parent ID or null.
        Returns:
        a long ID for this version's parent, or null if it has no parent
      • timestampMillis

        long timestampMillis()
        Return this version's timestamp.

        This timestamp is the same as those produced by System.currentTimeMillis().

        Returns:
        a long timestamp in milliseconds
      • summary

        VersionSummary summary()
        Returns the version summary such as the name and genie-id of the operation that created that version of the view.
        Returns:
        a version summary
      • viewDefinition

        ViewDefinition viewDefinition()
        Returns the view sql metadata.
        Returns:
        View SQL metadata