Class QOrgClosure

java.lang.Object
com.querydsl.core.types.dsl.DslExpression<T>
com.querydsl.core.types.dsl.SimpleExpression<T>
com.querydsl.core.types.dsl.BeanPath<T>
com.querydsl.sql.RelationalPathBase<R>
com.evolveum.midpoint.repo.sqlbase.querydsl.FlexibleRelationalPathBase<MOrgClosure>
com.evolveum.midpoint.repo.sqale.qmodel.org.QOrgClosure
All Implemented Interfaces:
com.querydsl.core.types.EntityPath<MOrgClosure>, com.querydsl.core.types.Expression<MOrgClosure>, com.querydsl.core.types.Path<MOrgClosure>, com.querydsl.core.types.ProjectionRole<MOrgClosure>, com.querydsl.sql.RelationalPath<MOrgClosure>, Serializable

public class QOrgClosure extends FlexibleRelationalPathBase<MOrgClosure>
Querydsl query type for org closure table. Can also be used for common table expression (CTE) representing org hierarchy on the fly. This does not have to be under FlexibleRelationalPathBase, but is for convenience. [IMPORTANT] *Be aware that the materialized view is refreshed only on demand!* This is executed when OrgFilter is used in SqaleQueryContext.beforeQuery() or when executing SqaleRepositoryService#isAnySubordinate(java.lang.String, java.util.Collection). If any access via other paths is done, use statement `CALL m_refresh_org_closure()` before.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.querydsl.sql.ColumnMetadata
     
    final UuidPath
     
    static final String
     
    static final com.querydsl.sql.ColumnMetadata
     
    final UuidPath
     
    static final String
     

    Fields inherited from class com.evolveum.midpoint.repo.sqlbase.querydsl.FlexibleRelationalPathBase

    DEFAULT_SCHEMA_NAME

    Fields inherited from class com.querydsl.core.types.dsl.DslExpression

    hashCode, mixin
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    QOrgClosure(String variable)
     
    QOrgClosure(String variable, String schema)
     
  • Method Summary

    Methods inherited from class com.querydsl.sql.RelationalPathBase

    add, all, count, countDistinct, createForeignKey, createForeignKey, createInvForeignKey, createInvForeignKey, createPrimaryKey, eq, eq, getColumns, getForeignKeys, getInverseForeignKeys, getMetadata, getPrimaryKey, getProjection, getSchemaAndTable, getSchemaName, getTableName, ne, ne

    Methods inherited from class com.querydsl.core.types.dsl.BeanPath

    accept, as, createArray, createBoolean, createCollection, createComparable, createDate, createDateTime, createEnum, createList, createMap, createNumber, createSet, createSimple, createString, createTime, forProperty, getAnnotatedElement, getMetadata, getRoot, instanceOf, instanceOfAny

    Methods inherited from class com.querydsl.core.types.dsl.SimpleExpression

    as, as, eqAll, eqAll, eqAny, eqAny, in, in, in, in, in, isNotNull, isNull, neAll, neAny, notIn, notIn, notIn, notIn, notIn, nullif, nullif, when, when

    Methods inherited from class com.querydsl.core.types.dsl.DslExpression

    equals, getType, hashCode, toString

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface com.querydsl.core.types.Expression

    accept, getType

    Methods inherited from interface com.querydsl.core.types.Path

    getAnnotatedElement, getMetadata, getRoot
  • Field Details

    • TABLE_NAME

      public static final String TABLE_NAME
      See Also:
    • DEFAULT_ALIAS_NAME

      public static final String DEFAULT_ALIAS_NAME
      See Also:
    • ANCESTOR_OID

      public static final com.querydsl.sql.ColumnMetadata ANCESTOR_OID
    • DESCENDANT_OID

      public static final com.querydsl.sql.ColumnMetadata DESCENDANT_OID
    • ancestorOid

      public final UuidPath ancestorOid
    • descendantOid

      public final UuidPath descendantOid
  • Constructor Details

    • QOrgClosure

      public QOrgClosure()
    • QOrgClosure

      public QOrgClosure(String variable)
    • QOrgClosure

      public QOrgClosure(String variable, String schema)