public interface QueryFactory
from(java.lang.Class<?>)
method which
returns a QueryBuilder
capable of constructing Query
objects. The other methods are use for creating
sub-conditions.Modifier and Type | Method and Description |
---|---|
Query |
create(String queryString)
Creates a Query based on an Ickle query string.
|
QueryBuilder |
from(Class<?> entityType)
Creates a QueryBuilder for the given entity type.
|
QueryBuilder |
from(String entityType)
Creates a QueryBuilder for the given entity type.
|
FilterConditionEndContext |
having(Expression expression)
Creates a condition on the given attribute path that is to be completed later by using it as a sub-condition.
|
FilterConditionEndContext |
having(String attributePath)
Creates a condition on the given attribute path that is to be completed later by using it as a sub-condition.
|
FilterConditionBeginContext |
not()
Creates a negated condition that is to be completed later by using it as a sub-condition.
|
FilterConditionContext |
not(FilterConditionContext fcc)
Creates a negated condition based on a given sub-condition.
|
Query create(String queryString)
QueryBuilder from(Class<?> entityType)
entityType
- the Class of the entityQueryBuilder from(String entityType)
entityType
- fully qualified entity type nameFilterConditionEndContext having(Expression expression)
expression
- a path ExpressionFilterConditionEndContext having(String attributePath)
attributePath
- the attribute pathFilterConditionBeginContext not()
FilterConditionContext not(FilterConditionContext fcc)
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.