public interface QueryFactory<T extends Query>
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 |
---|---|
QueryBuilder<T> |
from(Class entityType)
Creates a QueryBuilder for the given entity type.
|
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.
|
QueryBuilder<T> from(Class entityType)
entityType
- FilterConditionEndContext having(String attributePath)
attributePath
- FilterConditionBeginContext not()
FilterConditionContext not(FilterConditionContext fcc)
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.