Class SqlQueryContext<S,​Q extends FlexibleRelationalPathBase<R>,​R>

  • Type Parameters:
    S - schema type, used by encapsulated mapping
    Q - type of entity path
    R - row type related to the SqlQueryContext
    All Implemented Interfaces:
    FilterProcessor<ObjectFilter>

    public abstract class SqlQueryContext<S,​Q extends FlexibleRelationalPathBase<R>,​R>
    extends Object
    implements FilterProcessor<ObjectFilter>
    Context information about SQL query. Works as a kind of accumulator where information are added as the object query is interpreted. It is also used as an entry point for FilterProcessor processing for this query. And finally, it also executes the query, because this way it is more practical to contain all the needed parametrized types without using Class-type parameters.

    This object does not handle SQL connections or transaction in any way, any connection needed is provided from the outside.