Interface View

All Known Implementing Classes:
BaseView

public interface View
Interface for view definition.
  • Method Details

    • currentVersion

      Version currentVersion()
      Get the current version for this view, or null if there are no versions.
      Returns:
      the current view version.
    • versions

      Iterable<Version> versions()
      Get the versions of this view.
      Returns:
      an Iterable of versions of this view.
    • version

      Version version(int versionId)
      Get a version in this view by ID.
      Parameters:
      versionId - version ID
      Returns:
      a Version, or null if the ID cannot be found
    • history

      List<HistoryEntry> history()
      Get the version history of this table.
      Returns:
      a list of HistoryEntry
    • properties

      Map<String,String> properties()
      Return a map of string properties for this view.
      Returns:
      this view's properties map
    • updateProperties

      UpdateProperties updateProperties()
      Update view properties and commit the changes.
      Returns:
      a new UpdateProperties