Class SqaleItemSqlMapper<S,Q extends FlexibleRelationalPathBase<R>,R>  
java.lang.Object
com.evolveum.midpoint.repo.sqlbase.mapping.DefaultItemSqlMapper<S,Q,R>
  
com.evolveum.midpoint.repo.sqale.mapping.SqaleItemSqlMapper<S,Q,R>  
- Type Parameters:
- S- schema type owning the mapped item
- Q- entity path owning the mapped item
- R- row type with the mapped item
- All Implemented Interfaces:
- UpdatableItemSqlMapper<Q,,- R> - ItemSqlMapper<Q,- R> 
public class SqaleItemSqlMapper<S,Q extends FlexibleRelationalPathBase<R>,R>  
extends DefaultItemSqlMapper<S,Q,R>
implements UpdatableItemSqlMapper<Q,R>   
Declarative information how an item (from schema/prism world) is to be processed
 when interpreting query or applying delta (delta application is addition to sqlbase superclass).
 Being extension of 
DefaultItemSqlMapper this uses processor factory functions
 (typically provided as lambdas), no logic is here, everything is delegated to the processors
 returned by these processor functions.- 
Constructor SummaryConstructorsConstructorDescriptionSqaleItemSqlMapper(@NotNull Function<SqaleUpdateContext<S, Q, R>, ItemDeltaValueProcessor<?>> deltaProcessorFactory) Version of mapper supporting only delta processor, but not filter processor.SqaleItemSqlMapper(@NotNull Function<SqlQueryContext<S, Q, R>, ItemValueFilterProcessor<?>> filterProcessorFactory, @NotNull Function<SqaleUpdateContext<S, Q, R>, ItemDeltaValueProcessor<?>> deltaProcessorFactory) SqaleItemSqlMapper(@NotNull Function<SqlQueryContext<S, Q, R>, ItemValueFilterProcessor<?>> filterProcessorFactory, @NotNull Function<SqaleUpdateContext<S, Q, R>, ItemDeltaValueProcessor<?>> deltaProcessorFactory, @Nullable Function<Q, P> primaryItemMapping) 
- 
Method SummaryModifier and TypeMethodDescriptioncreateItemDeltaProcessor(SqaleUpdateContext<?, ?, ?> sqlUpdateContext) CreatesItemDeltaProcessorbased on this mapping.Methods inherited from class com.evolveum.midpoint.repo.sqlbase.mapping.DefaultItemSqlMappercreateFilterProcessor, createRightHandProcessor, primaryPathMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.repo.sqlbase.mapping.ItemSqlMappercreateFilterProcessor, createRightHandProcessor, primaryPath
- 
Constructor Details- 
SqaleItemSqlMapperpublic SqaleItemSqlMapper(@NotNull @NotNull Function<SqlQueryContext<S, Q, R>, ItemValueFilterProcessor<?>> filterProcessorFactory, @NotNull @NotNull Function<SqaleUpdateContext<S, Q, R>, ItemDeltaValueProcessor<?>> deltaProcessorFactory, @Nullable @Nullable Function<Q, P> primaryItemMapping) 
- 
SqaleItemSqlMapperpublic SqaleItemSqlMapper(@NotNull @NotNull Function<SqlQueryContext<S, Q, R>, ItemValueFilterProcessor<?>> filterProcessorFactory, @NotNull @NotNull Function<SqaleUpdateContext<S, Q, R>, ItemDeltaValueProcessor<?>> deltaProcessorFactory) 
- 
SqaleItemSqlMapperpublic SqaleItemSqlMapper(@NotNull @NotNull Function<SqaleUpdateContext<S, Q, R>, ItemDeltaValueProcessor<?>> deltaProcessorFactory) Version of mapper supporting only delta processor, but not filter processor. Typical example is container which can't be used as a filter condition as a whole. This does not mean the inner part of the item can't be resolved and filtered by, but it's not job of this mapper (seeItemRelationResolver).
 
- 
- 
Method Details- 
createItemDeltaProcessorpublic ItemDeltaValueProcessor<?> createItemDeltaProcessor(SqaleUpdateContext<?, ?, ?> sqlUpdateContext) CreatesItemDeltaProcessorbased on this mapping. ProvidedSqaleUpdateContextis used to figure out the query paths when this is executed (as the entity path instance is not yet available when the mapping is configured in a declarative manner). The type of the returned processor is adapted to the client code needs for convenience. Also the type of the provided context is flexible, but with proper mapping it's all safe.- Specified by:
- createItemDeltaProcessorin interface- UpdatableItemSqlMapper<S,- Q extends FlexibleRelationalPathBase<R>> 
 
 
-