Package org.nuxeo.ecm.core.storage.dbs
Class DBSQueryOptimizer
java.lang.Object
org.nuxeo.ecm.core.storage.QueryOptimizer
org.nuxeo.ecm.core.storage.dbs.DBSQueryOptimizer
DBS-specific query optimizer.
Knows how reference prefixes are computed, especially for the ACL case which has a storage structure different than what the NXQL syntax suggests.
- Since:
- 9.3
-
Nested Class Summary
Nested classes/interfaces inherited from class org.nuxeo.ecm.core.storage.QueryOptimizer
QueryOptimizer.PrefixInfo, QueryOptimizer.ProjectionReferenceRenamer, QueryOptimizer.ProjectionWildcardsFinder, QueryOptimizer.ReferencePrefixAnalyzer
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final Pattern
protected static final String
protected static final Pattern
Fields inherited from class org.nuxeo.ecm.core.storage.QueryOptimizer
CORR_BASE, correlationCounter, facetFilter, GROUPING_BY_EXPR_PREFIX, neverPerInstanceMixins, onlyRelations, schemaManager, TYPE_DOCUMENT, TYPE_RELATION, TYPE_ROOT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the prefix to use for this reference name (NXQL) if it contains a correlated wildcard.Methods inherited from class org.nuxeo.ecm.core.storage.QueryOptimizer
addFacetFilters, addIsNotNullClauses, addTypes, addWhere, addWhere, addWildcardNotNullClauses, findPrefix, getDocumentTypeNamesExtending, getDocumentTypeNamesForFacet, getExpressionCount, getPredicatePrefix, getStringLiterals, isTypeRelation, makeSingleAndPredicate, optimize, reorganizeGroupedExpressions, simplifyTypes, withFacetFilter
-
Field Details
-
CORRELATED_WILDCARD_SPLIT
-
CORRELATED_ECM_TAG
-
CORRELATED_ECM_TAG_IMPLICIT
- See Also:
-
-
Constructor Details
-
DBSQueryOptimizer
public DBSQueryOptimizer()
-
-
Method Details