Interface DBSRepository

All Superinterfaces:
LockManager, Repository
All Known Implementing Classes:
DBSCachingRepository, DBSRepositoryBase, MemRepository, MongoDBRepository

public interface DBSRepository extends Repository, LockManager
Interface for a Repository for Document-Based Storage.
Since:
5.9.4
  • Method Details

    • getConnection

      DBSConnection getConnection()
      Gets a new connection to this repository.
      Returns:
      a new connection
      Since:
      11.1
    • getBlobManager

      BlobManager getBlobManager()
      Gets the blob manager.
      Returns:
      the blob manager.
    • getLockManager

      LockManager getLockManager()
      Gets the lock manager for this repository.
      Returns:
      the lock manager
      Since:
      7.4
    • isFulltextDisabled

      boolean isFulltextDisabled()
      Checks if fulltext indexing (and search) is disabled.
      Returns:
      true if fulltext indexing is disabled, false if it is enabled
      Since:
      7.1, 6.0-HF02
    • isFulltextStoredInBlob

      boolean isFulltextStoredInBlob()
      Checks if fulltext is stored in a blob.
      Returns:
      true if fulltext is stored in a blob, false if it is stored as a regular string
      Since:
      11.1
    • isFulltextSearchDisabled

      boolean isFulltextSearchDisabled()
      Checks if fulltext search is disabled.
      Returns:
      true if fulltext search is disabled, false if it is enabled
      Since:
      10.2
    • isChangeTokenEnabled

      boolean isChangeTokenEnabled()
      Checks if database-managed document change tokens are enabled.
      Returns:
      true if the database maintains document change tokens
      Since:
      9.1
    • supportsTransactions

      boolean supportsTransactions()
      Checks whether this repository supports transactions.
      Returns:
      true if the repository supports transactions
      Since:
      11.1
      See Also:
    • getBlobKeysPaths

      List<List<String>> getBlobKeysPaths()
      Gets the list of blob keys paths of all possible blobs in all schemas.

      Each "path" is a list of path components. Example: [[content, data], [files, file, data], ...]

      Since:
      11.5
    • updateCapabilities

      void updateCapabilities()
      Update repository capabilities after a migration. Internal use only.
      Since:
      2023.0