Interface UpdatableItemSqlMapper<Q extends FlexibleRelationalPathBase<R>,R>

Type Parameters:
Q - entity path owning the mapped item
R - row type with the mapped item
All Superinterfaces:
ItemSqlMapper<Q,R>
All Known Implementing Classes:
ExtensionItemSqlMapper, SqaleItemSqlMapper

public interface UpdatableItemSqlMapper<Q extends FlexibleRelationalPathBase<R>,R> extends ItemSqlMapper<Q,R>
Extension of ItemSqlMapper adding update capability (delta processing).
  • Method Details

    • createItemDeltaProcessor

      ItemDeltaProcessor createItemDeltaProcessor(SqaleUpdateContext<?,?,?> sqlUpdateContext)
      Creates ItemDeltaProcessor based on this mapping. Provided SqaleUpdateContext is 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.