Class SimulatedSqlQuery<T>

java.lang.Object
com.querydsl.core.support.QueryBase<Q>
com.querydsl.core.support.FetchableQueryBase<T,Q>
com.querydsl.core.support.FetchableSubQueryBase<T,Q>
com.querydsl.sql.ProjectableSQLQuery<T,Q>
com.querydsl.sql.AbstractSQLQuery<T,com.querydsl.sql.SQLQuery<T>>
com.querydsl.sql.SQLQuery<T>
com.evolveum.midpoint.repo.sqale.SimulatedSqlQuery<T>
All Implemented Interfaces:
com.querydsl.core.Fetchable<T>, com.querydsl.core.FetchableQuery<T,com.querydsl.sql.SQLQuery<T>>, com.querydsl.core.FilteredClause<com.querydsl.sql.SQLQuery<T>>, com.querydsl.core.Query<com.querydsl.sql.SQLQuery<T>>, com.querydsl.core.SimpleQuery<com.querydsl.sql.SQLQuery<T>>, com.querydsl.core.support.ExtendedSubQuery<T>, com.querydsl.core.types.Expression<T>, com.querydsl.core.types.SubQueryExpression<T>, com.querydsl.sql.SQLCommonQuery<com.querydsl.sql.SQLQuery<T>>, Serializable

public class SimulatedSqlQuery<T> extends com.querydsl.sql.SQLQuery<T>
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final RuntimeException
     

    Fields inherited from class com.querydsl.sql.AbstractSQLQuery

    listeners, PARENT_CONTEXT, useLiterals

    Fields inherited from class com.querydsl.sql.ProjectableSQLQuery

    configuration, firstUnionSubQuery, union, unionAll

    Fields inherited from class com.querydsl.core.support.QueryBase

    MDC_PARAMETERS, MDC_QUERY, queryMixin
  • Constructor Summary

    Constructors
    Constructor
    Description
    SimulatedSqlQuery(@NotNull com.querydsl.sql.Configuration querydslConfiguration, @Nullable Connection conn, boolean simulationOnly)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.querydsl.sql.SQLQuery<T>
    When SqlQueryContext.executeQuery(com.evolveum.midpoint.repo.sqlbase.JdbcSession) calls this, we don't want it to create a new query object.
    protected void
    logQuery(String queryString, Collection<Object> parameters)
    This is called early in the AbstractSQLQuery.fetch() code and contains exactly what we need.
     

    Methods inherited from class com.querydsl.sql.SQLQuery

    select, select

    Methods inherited from class com.querydsl.sql.AbstractSQLQuery

    addListener, as, as, clone, clone, createSerializer, endContext, fetch, fetchCount, fetchResults, forShare, forShare, forUpdate, getConfiguration, getResults, getResults, iterate, onException, setParameters, setStatementOptions, setUseLiterals, startContext

    Methods inherited from class com.querydsl.sql.ProjectableSQLQuery

    accept, addFlag, addFlag, addFlag, addFlag, addJoinFlag, addJoinFlag, fetchOne, from, from, from, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, getSQL, getSQL, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, join, join, join, join, join, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, on, on, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, serialize, toString, union, union, union, unionAll, unionAll, unionAll, with, with, with, withRecursive, withRecursive, withRecursive

    Methods inherited from class com.querydsl.core.support.FetchableSubQueryBase

    contains, contains, eq, eq, exists, getMetadata, getType, goe, goe, gt, gt, hashCode, in, in, isNotNull, isNull, loe, loe, lt, lt, ne, ne, notExists

    Methods inherited from class com.querydsl.core.support.FetchableQueryBase

    equals, fetchFirst, transform, uniqueResult

    Methods inherited from class com.querydsl.core.support.QueryBase

    distinct, groupBy, groupBy, having, having, limit, offset, orderBy, orderBy, restrict, set, where, where

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.querydsl.core.Fetchable

    fetchFirst, stream

    Methods inherited from interface com.querydsl.core.FetchableQuery

    transform

    Methods inherited from interface com.querydsl.core.FilteredClause

    where

    Methods inherited from interface com.querydsl.core.Query

    groupBy, having

    Methods inherited from interface com.querydsl.core.SimpleQuery

    distinct, limit, offset, orderBy, restrict, set
  • Field Details

    • SIMULATION_EXCEPTION

      public static final RuntimeException SIMULATION_EXCEPTION
  • Constructor Details

    • SimulatedSqlQuery

      public SimulatedSqlQuery(@NotNull @NotNull com.querydsl.sql.Configuration querydslConfiguration, @Nullable @Nullable Connection conn, boolean simulationOnly)
  • Method Details