Class BaseView

    • Constructor Detail

      • BaseView

        public BaseView​(ViewOperations ops,
                        java.lang.String name)
    • Method Detail

      • currentVersion

        public Version currentVersion()
        Description copied from interface: View
        Get the current version for this view, or null if there are no versions.
        Specified by:
        currentVersion in interface View
        Returns:
        the current view version.
      • version

        public Version version​(int versionId)
        Description copied from interface: View
        Get a version in this view by ID.
        Specified by:
        version in interface View
        Parameters:
        versionId - version ID
        Returns:
        a Version, or null if the ID cannot be found
      • versions

        public java.lang.Iterable<Version> versions()
        Description copied from interface: View
        Get the versions of this view.
        Specified by:
        versions in interface View
        Returns:
        an Iterable of versions of this view.
      • history

        public java.util.List<HistoryEntry> history()
        Description copied from interface: View
        Get the version history of this table.
        Specified by:
        history in interface View
        Returns:
        a list of HistoryEntry
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • properties

        public java.util.Map<java.lang.String,​java.lang.String> properties()
        Description copied from interface: View
        Return a map of string properties for this view.
        Specified by:
        properties in interface View
        Returns:
        this view's properties map