Interface SearchWithToken

All Superinterfaces:
ISearch
All Known Implementing Classes:
DefaultSearchWithToken

public interface SearchWithToken extends ISearch
A search that additionally specifies a search token.
  • Field Details

    • TOKEN_UNDEFINED

      static final long TOKEN_UNDEFINED
      A constant that represent the absence of token, i.e. the search will be performed without any token. This value is returned when ISearch.generatesToken() is false when using OpenSearch.
      See Also:
  • Method Details

    • getSearchToken

      long getSearchToken()
      Returns:
      a search token that allows additional searching to be performed against a specific version of the index (perhaps older version).
    • toBuilder

      Specified by:
      toBuilder in interface ISearch
      Returns:
      a builder that's initialised with the values of the current search object