Interface MTTimestampQuery

All Superinterfaces:
MTPatternQuery, MTQuery

public interface MTTimestampQuery extends MTQuery, MTPatternQuery
  • Method Details

    • selectAll

      MTTimestampQuery selectAll()
      Selects all timestamps in the repository.
    • selectByType

      MTTimestampQuery selectByType(String type)
      Selects timestamps by type in the repository.
      Parameters:
      type - The type.
    • select

      MTTimestampQuery select(List<Long> ids)
      Selects timestamps by their ID.
      Parameters:
      ids - The ID:s of the timestamps to select.
    • selectByUUID

      MTTimestampQuery selectByUUID(List<String> uuids)
      Selects timestamps by their UUID.
      Parameters:
      uuids - The UUIDS:s of the timestamps to select.
    • selectByNamedQuery

      MTTimestampQuery selectByNamedQuery(MTNamedQuery namedQuery)
      Selects from a named query. This way you can base queries on other named queries and filter them further.
      Parameters:
      namedQuery - The named query to base this query on.
    • withPattern

      MTTimestampQuery withPattern(String pattern, MTLanguage language, boolean exactMatch, boolean ignoreCase)
      Excludes results where the title does not contain pattern as a substring.
      Specified by:
      withPattern in interface MTPatternQuery
      Parameters:
      pattern - The pattern to search for.
      language - The language of the title to find the pattern in.
      exactMatch - Require the pattern to match the title exactly rather than containing the pattern.
      ignoreCase - Ignores case. This makes "exact match" check lowercase strings for equality and "contains match" check lowercase for contains.