Class SimulatedSqlQuery<T>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static RuntimeException SIMULATION_EXCEPTION  
      • 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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.querydsl.sql.SQLQuery<T> clone​(Connection conn)
      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.
      Map<String,​RepositoryQueryDiagResponse.ParameterValue> paramsMap()  
      • 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 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 Detail

      • SIMULATION_EXCEPTION

        public static final RuntimeException SIMULATION_EXCEPTION
    • Constructor Detail

      • SimulatedSqlQuery

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