Package | Description |
---|---|
org.keycloak.models.map.storage | |
org.keycloak.models.map.storage.chm |
Modifier and Type | Method and Description |
---|---|
QueryParameters<M> |
QueryParameters.limit(Integer limit)
Sets limit parameter
|
QueryParameters<M> |
QueryParameters.offset(Integer offset)
Sets offset parameter
|
QueryParameters<M> |
QueryParameters.orderBy(SearchableModelField<M> searchableModelField,
QueryParameters.Order order)
Sets orderBy parameter; can be called repeatedly; fields are stored in a list where the first field has highest
priority when determining order; e.g.
|
QueryParameters<M> |
QueryParameters.pagination(Integer offset,
Integer limit,
SearchableModelField<M> orderByAscField)
Sets pagination (offset, limit and orderBy) parameters to
QueryParameters |
static <M> QueryParameters<M> |
QueryParameters.withCriteria(ModelCriteriaBuilder<M> mcb)
Creates a new
QueryParameters instance initialized with ModelCriteriaBuilder |
Modifier and Type | Method and Description |
---|---|
long |
MapStorage.delete(QueryParameters<M> queryParameters)
Deletes objects that match the given criteria.
|
long |
MapKeycloakTransaction.delete(QueryParameters<M> queryParameters)
Instructs this transaction to remove values (identified by
mcb filter) from the underlying store on commit. |
long |
MapStorage.getCount(QueryParameters<M> queryParameters)
Returns the number of objects satisfying given
criteria from the storage. |
long |
MapKeycloakTransaction.getCount(QueryParameters<M> queryParameters)
Returns a number of values present in the underlying storage that fulfill the given criteria with respect to
changes done in the current transaction.
|
Stream<V> |
MapStorage.read(QueryParameters<M> queryParameters)
Returns stream of objects satisfying given
criteria from the storage. |
Stream<V> |
MapKeycloakTransaction.read(QueryParameters<M> queryParameters)
Returns a stream of values from underlying storage that are updated based on the current transaction changes;
i.e.
|
Modifier and Type | Method and Description |
---|---|
long |
ConcurrentHashMapStorage.delete(QueryParameters<M> queryParameters) |
long |
ConcurrentHashMapKeycloakTransaction.delete(QueryParameters<M> queryParameters) |
long |
ConcurrentHashMapStorage.getCount(QueryParameters<M> queryParameters) |
long |
ConcurrentHashMapKeycloakTransaction.getCount(QueryParameters<M> queryParameters) |
Stream<V> |
ConcurrentHashMapStorage.read(QueryParameters<M> queryParameters) |
Stream<V> |
ConcurrentHashMapKeycloakTransaction.read(QueryParameters<M> queryParameters)
Returns the stream of records that match given criteria and includes changes made in this transaction, i.e.
|
Copyright © 2021 JBoss by Red Hat. All rights reserved.