Class OpenSearchRealmSearchDAO
java.lang.Object
org.apache.syncope.core.persistence.opensearch.dao.OpenSearchRealmSearchDAO
- All Implemented Interfaces:
RealmSearchDAO
-
Field Summary
-
Constructor Summary
ConstructorDescriptionOpenSearchRealmSearchDAO
(RealmDAO realmDAO, org.opensearch.client.opensearch.OpenSearchClient client, int indexMaxResultWindow) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.opensearch.client.opensearch._types.query_dsl.Query
buildDescendantQuery
(String base, String keyword) long
countDescendants
(String base, String keyword) findByFullPath
(String fullPath) findByName
(String name) findChildren
(Realm realm) findDescendants
(String base, String prefix) findDescendants
(String base, String keyword, org.springframework.data.domain.Pageable pageable) search
(org.opensearch.client.opensearch._types.query_dsl.Query query) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.syncope.core.persistence.api.dao.RealmSearchDAO
findAncestors, findAncestors
-
Field Details
-
LOG
-
REALM_SORT_OPTIONS
-
realmDAO
-
client
protected final org.opensearch.client.opensearch.OpenSearchClient client -
indexMaxResultWindow
protected final int indexMaxResultWindow
-
-
Constructor Details
-
OpenSearchRealmSearchDAO
public OpenSearchRealmSearchDAO(RealmDAO realmDAO, org.opensearch.client.opensearch.OpenSearchClient client, int indexMaxResultWindow)
-
-
Method Details
-
findByFullPath
- Specified by:
findByFullPath
in interfaceRealmSearchDAO
-
search
-
findByName
- Specified by:
findByName
in interfaceRealmSearchDAO
-
findChildren
- Specified by:
findChildren
in interfaceRealmSearchDAO
-
buildDescendantQuery
-
countDescendants
- Specified by:
countDescendants
in interfaceRealmSearchDAO
-
findDescendants
public List<Realm> findDescendants(String base, String keyword, org.springframework.data.domain.Pageable pageable) - Specified by:
findDescendants
in interfaceRealmSearchDAO
-
findDescendants
- Specified by:
findDescendants
in interfaceRealmSearchDAO
-