Class EnumItemDeltaProcessor<E extends Enum<E>>

  • Type Parameters:
    E - used enum type
    All Implemented Interfaces:
    ItemDeltaProcessor

    public class EnumItemDeltaProcessor<E extends Enum<E>>
    extends SinglePathItemDeltaProcessor<E,​com.querydsl.core.types.dsl.EnumPath<E>>
    Delta processor for an attribute path (Prism item) of enum type that is mapped to matching PostgreSQL enum type - this allows to use schema enums directly.
    • Constructor Detail

      • EnumItemDeltaProcessor

        public EnumItemDeltaProcessor​(SqaleUpdateContext<?,​Q,​R> context,
                                      Function<Q,​com.querydsl.core.types.dsl.EnumPath<E>> rootToQueryItem)
        Type Parameters:
        Q - entity query type from which the attribute is resolved
        R - row type related to EnumItemDeltaProcessor