Package | Description |
---|---|
org.keycloak.models.map.storage | |
org.keycloak.models.map.storage.chm |
Modifier and Type | Class and Description |
---|---|
class |
MapModelCriteriaBuilder<K,V extends AbstractEntity<K>,M> |
Modifier and Type | Method and Description |
---|---|
default <T extends ModelCriteriaBuilder> |
ModelCriteriaBuilder.unwrap(Class<T> clazz)
Returns this object cast to the given class, or
null if the class cannot be cast to that clazz . |
Modifier and Type | Method and Description |
---|---|
ModelCriteriaBuilder<M> |
ModelCriteriaBuilder.and(ModelCriteriaBuilder<M>... builders)
Creates and returns a new instance of
ModelCriteriaBuilder that
combines the given builders with the Boolean AND operator. |
ModelCriteriaBuilder<M> |
ModelCriteriaBuilder.compare(SearchableModelField<M> modelField,
ModelCriteriaBuilder.Operator op,
Object... value)
Adds a constraint for the given model field to this criteria builder
and returns a criteria builder that is combined with the the new constraint.
|
ModelCriteriaBuilder<M> |
MapStorage.createCriteriaBuilder()
Returns criteria builder for the storage engine.
|
ModelCriteriaBuilder<M> |
ModelCriteriaBuilder.not(ModelCriteriaBuilder<M> builder)
Creates and returns a new instance of
ModelCriteriaBuilder that
negates the given builder. |
ModelCriteriaBuilder<M> |
ModelCriteriaBuilder.or(ModelCriteriaBuilder<M>... builders)
Creates and returns a new instance of
ModelCriteriaBuilder that
combines the given builders with the Boolean OR operator. |
Modifier and Type | Method and Description |
---|---|
ModelCriteriaBuilder<M> |
ModelCriteriaBuilder.and(ModelCriteriaBuilder<M>... builders)
Creates and returns a new instance of
ModelCriteriaBuilder that
combines the given builders with the Boolean AND operator. |
MapModelCriteriaBuilder<K,V,M> |
MapModelCriteriaBuilder.and(ModelCriteriaBuilder<M>... builders) |
long |
MapKeycloakTransaction.delete(K artificialKey,
ModelCriteriaBuilder<M> mcb)
Instructs this transaction to remove values (identified by
mcb filter) from the underlying store on commit. |
long |
MapStorage.delete(ModelCriteriaBuilder<M> criteria)
Deletes objects that match the given criteria.
|
long |
MapStorage.getCount(ModelCriteriaBuilder<M> criteria)
Returns the number of objects satisfying given
criteria from the storage. |
long |
MapKeycloakTransaction.getCount(ModelCriteriaBuilder<M> mcb)
Returns a number of values present in the underlying storage that fulfill the given criteria with respect to
changes done in the current transaction.
|
ModelCriteriaBuilder<M> |
ModelCriteriaBuilder.not(ModelCriteriaBuilder<M> builder)
Creates and returns a new instance of
ModelCriteriaBuilder that
negates the given builder. |
MapModelCriteriaBuilder<K,V,M> |
MapModelCriteriaBuilder.not(ModelCriteriaBuilder<M> builder) |
ModelCriteriaBuilder<M> |
ModelCriteriaBuilder.or(ModelCriteriaBuilder<M>... builders)
Creates and returns a new instance of
ModelCriteriaBuilder that
combines the given builders with the Boolean OR operator. |
MapModelCriteriaBuilder<K,V,M> |
MapModelCriteriaBuilder.or(ModelCriteriaBuilder<M>... builders) |
Stream<V> |
MapStorage.read(ModelCriteriaBuilder<M> criteria)
Returns stream of objects satisfying given
criteria from the storage. |
Stream<V> |
MapKeycloakTransaction.read(ModelCriteriaBuilder<M> mcb)
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 |
---|---|
ModelCriteriaBuilder<M> |
ConcurrentHashMapStorage.createCriteriaBuilder() |
Modifier and Type | Method and Description |
---|---|
long |
ConcurrentHashMapKeycloakTransaction.delete(K artificialKey,
ModelCriteriaBuilder<M> mcb) |
long |
ConcurrentHashMapStorage.delete(ModelCriteriaBuilder<M> criteria) |
long |
ConcurrentHashMapStorage.getCount(ModelCriteriaBuilder<M> criteria) |
long |
ConcurrentHashMapKeycloakTransaction.getCount(ModelCriteriaBuilder<M> mcb) |
Stream<V> |
ConcurrentHashMapStorage.read(ModelCriteriaBuilder<M> criteria) |
Stream<V> |
ConcurrentHashMapKeycloakTransaction.read(ModelCriteriaBuilder<M> mcb)
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.