Modifier and Type | Class and Description |
---|---|
class |
MultiExpression
An expression for an single operator with an arbitrary number of operands.
|
Modifier and Type | Field and Description |
---|---|
Predicate |
WhereClause.predicate |
Modifier and Type | Field and Description |
---|---|
List<Predicate> |
MultiExpression.predicates |
Modifier and Type | Method and Description |
---|---|
static Predicate |
Predicates.and(Predicate left,
Predicate right) |
static Predicate |
Predicates.between(String name,
Object min,
Object max) |
static Predicate |
Predicates.eq(String name,
Object value) |
static Predicate |
Predicates.gt(String name,
Object value) |
static Predicate |
Predicates.gte(String name,
Object value) |
static Predicate |
Predicates.ilike(String name,
Object value) |
static Predicate |
Predicates.in(String name,
Iterable<?> values) |
static Predicate |
Predicates.in(String name,
Object[] values) |
static <T> Predicate |
Predicates.in(String name,
T value,
T... values) |
static Predicate |
Predicates.isnotnull(String name) |
static Predicate |
Predicates.isnull(String name) |
static Predicate |
Predicates.like(String name,
Object value) |
static Predicate |
Predicates.lt(String name,
Object value) |
static Predicate |
Predicates.lte(String name,
Object value) |
static Predicate |
Predicates.not(Predicate predicate) |
static Predicate |
Predicates.notbetween(String name,
Object min,
Object max) |
static Predicate |
Predicates.noteq(String name,
Object value) |
static Predicate |
Predicates.notilike(String name,
Object value) |
static Predicate |
Predicates.notin(String name,
Iterable<?> values) |
static Predicate |
Predicates.notin(String name,
Object[] values) |
static <T> Predicate |
Predicates.notin(String name,
T value,
T... values) |
static Predicate |
Predicates.notlike(String name,
Object value) |
static Predicate |
Predicates.or(Predicate left,
Predicate right) |
static Predicate |
Predicates.startsWith(String name,
Object value) |
Predicate |
QueryTransformer.transform(Predicate node) |
Predicate |
IdentityQueryTransformer.transform(Predicate node) |
Modifier and Type | Method and Description |
---|---|
QueryBuilder |
QueryBuilder.and(Predicate predicate)
Adds a new predicate to the list of AND predicates.
|
static Predicate |
Predicates.and(Predicate left,
Predicate right) |
static Predicate |
Predicates.not(Predicate predicate) |
QueryBuilder |
QueryBuilder.or(Predicate predicate)
Adds a new predicate to the list of OR predicates.
|
static Predicate |
Predicates.or(Predicate left,
Predicate right) |
QueryBuilder |
QueryBuilder.predicate(Predicate predicate)
Adds a new predicate to the list.
|
Predicate |
QueryTransformer.transform(Predicate node) |
Predicate |
IdentityQueryTransformer.transform(Predicate node) |
SQLQuery |
SQLQuery.withPredicate(Predicate predicate) |
Constructor and Description |
---|
WhereClause(Predicate predicate) |
Constructor and Description |
---|
MultiExpression(Operator operator,
List<Predicate> predicates) |
Modifier and Type | Field and Description |
---|---|
protected static Collector<Predicate,?,Map<String,List<Predicate>>> |
QueryOptimizer.GROUPING_BY_EXPR_PREFIX |
protected static Collector<Predicate,?,Map<String,List<Predicate>>> |
QueryOptimizer.GROUPING_BY_EXPR_PREFIX |
Modifier and Type | Method and Description |
---|---|
static Predicate |
QueryOptimizer.makeSingleAndPredicate(String prefix,
List<Predicate> predicates)
Makes a single AND predicate from several expressions known to have a common prefix.
|
Modifier and Type | Method and Description |
---|---|
protected void |
QueryOptimizer.addWhere(List<Predicate> clauses,
Predicate expr) |
protected static String |
QueryOptimizer.getPredicatePrefix(Predicate predicate) |
Modifier and Type | Method and Description |
---|---|
protected void |
QueryOptimizer.addFacetFilters(List<Predicate> clauses,
FacetFilter facetFilter) |
protected void |
QueryOptimizer.addTypes(List<Predicate> clauses,
FromClause node)
Finds all the types to take into account (all concrete types being a subtype of the passed types) based on the
FROM list.
|
protected void |
QueryOptimizer.addWhere(List<Predicate> clauses,
Predicate expr) |
protected void |
QueryOptimizer.addWhere(List<Predicate> clauses,
WhereClause where)
Adds a flattened version of all toplevel ANDed WHERE clauses.
|
static Predicate |
QueryOptimizer.makeSingleAndPredicate(String prefix,
List<Predicate> predicates)
Makes a single AND predicate from several expressions known to have a common prefix.
|
static void |
QueryOptimizer.reorganizeGroupedExpressions(Map<String,Predicate> groupedExpressions)
Reorganizes the grouped expressions in order to have 2-level nesting in case a group is a prefix of another.
|
protected void |
QueryOptimizer.simplifyTypes(List<Predicate> clauses)
Simplify ecm:primaryType positive references, and non-per-instance mixin types.
|
Modifier and Type | Field and Description |
---|---|
protected LinkedList<Predicate> |
NXQLQueryMaker.QueryAnalyzer.toplevelPredicates |
Modifier and Type | Method and Description |
---|---|
protected void |
NXQLQueryMaker.QueryAnalyzer.analyzeToplevelPredicates(Predicate predicate)
Process special toplevel ANDed operands: ecm:isProxy
|
Modifier and Type | Field and Description |
---|---|
static Predicate |
NoFile2SecurityPolicy.NoFileTransformer.NO_FILE |
Modifier and Type | Method and Description |
---|---|
protected Predicate |
AbstractAuditBackend.convert(FilterMapEntry entry) |
Modifier and Type | Method and Description |
---|---|
Predicate |
DefaultUserMultiTenantManagement.QueryTenantAdder.transform(Predicate node) |
Modifier and Type | Method and Description |
---|---|
Predicate |
DefaultUserMultiTenantManagement.QueryTenantAdder.transform(Predicate node) |
Copyright © 2019 Nuxeo. All rights reserved.