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 underFlexibleRelationalPathBase
, but is for convenience. [IMPORTANT] *Be aware that the materialized view is refreshed only on demand!* This is executed whenOrgFilter
is used inSqaleQueryContext.beforeQuery()
or when executingSqaleRepositoryService#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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static com.querydsl.sql.ColumnMetadata
ANCESTOR_OID
UuidPath
ancestorOid
static String
DEFAULT_ALIAS_NAME
static com.querydsl.sql.ColumnMetadata
DESCENDANT_OID
UuidPath
descendantOid
static String
TABLE_NAME
-
Fields inherited from class com.evolveum.midpoint.repo.sqlbase.querydsl.FlexibleRelationalPathBase
DEFAULT_SCHEMA_NAME
-
-
Constructor Summary
Constructors Constructor Description QOrgClosure()
QOrgClosure(String variable)
QOrgClosure(String variable, String schema)
-
Method Summary
-
Methods inherited from class com.evolveum.midpoint.repo.sqlbase.querydsl.FlexibleRelationalPathBase
addMetadata, createArray, createBoolean, createByteArray, createDateTime, createEnum, createInstant, createInteger, createLong, createNumber, createString, createUuid, getPath
-
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
-
-
-
-
Field Detail
-
TABLE_NAME
public static final String TABLE_NAME
- See Also:
- Constant Field Values
-
DEFAULT_ALIAS_NAME
public static final String DEFAULT_ALIAS_NAME
- See Also:
- Constant Field Values
-
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
-
-