Interface RealmSearchDAO

All Known Implementing Classes:
AbstractJPARealmSearchDAO, AbstractRealmSearchDAO, ElasticsearchRealmSearchDAO, MariaDBJPARealmSearchDAO, MySQLJPARealmSearchDAO, Neo4jRealmSearchDAO, OpenSearchRealmSearchDAO, OracleJPARealmSearchDAO, PGJPARealmSearchDAO

public interface RealmSearchDAO
  • Method Details

    • findByFullPath

      Optional<Realm> findByFullPath(String fullPath)
    • findByName

      List<Realm> findByName(String name)
    • findChildren

      List<Realm> findChildren(Realm realm)
    • findDescendants

      List<Realm> findDescendants(String base, String prefix)
    • findAncestors

      default void findAncestors(List<Realm> result, Realm realm)
    • findAncestors

      default List<Realm> findAncestors(Realm realm)
    • findByDerAttrValue

      List<Realm> findByDerAttrValue(String expression, String value, boolean ignoreCaseMatch)
      Find realmss by derived attribute value. This method could fail if one or more string literals contained into the derived attribute value provided derive from identifier (schema key) replacement. When you are going to specify a derived attribute expression you must be quite sure that string literals used to build the expression cannot be found into the attribute values used to replace attribute schema keys used as identifiers.
      Parameters:
      expression - JEXL expression
      value - derived attribute value
      ignoreCaseMatch - whether comparison for string values should take case into account or not
      Returns:
      list of realms
    • count

      long count(Set<String> bases, SearchCond cond)
    • search

      List<Realm> search(Set<String> bases, SearchCond cond, org.springframework.data.domain.Pageable pageable)
    • getAllMatchingCond

      default SearchCond getAllMatchingCond()