Package | Description |
---|---|
com.edorasware.commons.core.any |
Classes for generic work object management.
|
com.edorasware.commons.core.any.support |
SPIs and APIs to integrate with generic work object management.
|
com.edorasware.commons.core.beat | |
com.edorasware.commons.core.beat.support | |
com.edorasware.commons.core.persistence.entity.jdbc | |
com.edorasware.commons.core.persistence.jdbc |
Classes for JDBC-based database persistence management and configuration thereof.
|
com.edorasware.commons.core.query |
Classes to build queries.
|
com.edorasware.commons.core.query.entity |
Classes to build entity-specific queries.
|
com.edorasware.commons.core.service.entity |
Classes related to entity services.
|
com.edorasware.commons.core.util.bulk |
Modifier and Type | Method and Description |
---|---|
static AnyWorkObjectDefinitionQuery |
AnyWorkObjectDefinitionQuery.byPredicate(Predicate predicate)
Convenience method to create an
AnyWorkObjectDefinitionQuery with the given predicate. |
static AnyWorkObjectQuery |
AnyWorkObjectQuery.byPredicate(Predicate predicate)
Convenience method to create an
AnyWorkObjectQuery with the given predicate. |
long |
AnyWorkObjectDefinitionService.countWorkObjectDefinitions(Predicate anyWorkObjectDefinitionPredicate)
Counts the concrete work objects that match the query with the given predicate.
|
long |
AnyWorkObjectDefinitionService.countWorkObjectDefinitions(Predicate anyWorkObjectDefinitionPredicate,
SearchScope searchScope)
Counts the concrete work objects that match the query with the given predicate in given scope.
|
long |
AnyWorkObjectService.countWorkObjects(Predicate predicate)
Counts the concrete work objects that match the query with the given predicate.
|
long |
AnyWorkObjectService.countWorkObjects(Predicate predicate,
SearchScope searchScope)
Counts the concrete work objects that match the query with the given predicate.
|
AnyWorkObject |
AnyWorkObjectService.findWorkObject(Predicate predicate)
Finds the concrete work object that matches the query with the given predicate.
|
AnyWorkObject |
AnyWorkObjectService.findWorkObject(Predicate predicate,
SearchScope searchScope)
Finds the concrete work object that matches the query with the given predicate.
|
AnyWorkObjectDefinition |
AnyWorkObjectDefinitionService.findWorkObjectDefinition(Predicate anyWorkObjectDefinitionPredicate)
Finds the concrete work object definition that matches the query with the given predicate.
|
AnyWorkObjectDefinition |
AnyWorkObjectDefinitionService.findWorkObjectDefinition(Predicate anyWorkObjectDefinitionPredicate,
SearchScope searchScope)
Finds the concrete work object definition that matches the query with the given predicate in given scope.
|
List<AnyWorkObjectDefinition> |
AnyWorkObjectDefinitionService.findWorkObjectDefinitions(Predicate anyWorkObjectDefinitionPredicate)
Finds the concrete work object definitions that match the query with the given predicate.
|
List<AnyWorkObjectDefinition> |
AnyWorkObjectDefinitionService.findWorkObjectDefinitions(Predicate anyWorkObjectDefinitionPredicate,
SearchScope searchScope)
Finds the concrete work object definitions that match the query with the given predicate in given scope.
|
List<AnyWorkObject> |
AnyWorkObjectService.findWorkObjects(Predicate predicate)
Finds the concrete work objects that match the query with the given predicate.
|
List<AnyWorkObject> |
AnyWorkObjectService.findWorkObjects(Predicate predicate,
SearchScope searchScope)
Finds the concrete work objects that match the query with the given predicate.
|
Modifier and Type | Method and Description |
---|---|
Predicate |
AnyWorkObjectDefinitionPredicatePostProcessor.restrict(Predicate predicate) |
Predicate |
AnyWorkObjectPredicatePostProcessor.restrict(Predicate predicate) |
Modifier and Type | Method and Description |
---|---|
Predicate |
AnyWorkObjectDefinitionPredicatePostProcessor.restrict(Predicate predicate) |
Predicate |
AnyWorkObjectPredicatePostProcessor.restrict(Predicate predicate) |
Modifier and Type | Method and Description |
---|---|
static BeatQuery |
BeatQuery.byPredicate(Predicate predicate)
Convenience method to create a
BeatQuery with the given predicate. |
long |
BeatService.countBeats(Predicate beatPredicate)
Counts the beats that match the query with the given predicate.
|
long |
BeatService.countBeats(Predicate beatPredicate,
SearchScope searchScope)
Counts the beats that match the query with the given predicate in given scope.
|
Beat |
BeatService.findBeat(Predicate beatPredicate)
Finds the beat that matches the query with the given predicate.
|
Beat |
BeatService.findBeat(Predicate beatPredicate,
SearchScope searchScope)
Finds the beat that matches the query with the given predicate in given scope.
|
List<Beat> |
BeatService.findBeats(Predicate beatPredicate)
Finds the beats that match the query with the given predicate.
|
List<Beat> |
BeatService.findBeats(Predicate beatPredicate,
SearchScope searchScope)
Finds the beats that match the query with the given predicate in given scope.
|
Modifier and Type | Method and Description |
---|---|
Predicate |
BeatPredicatePostProcessor.restrict(Predicate predicate) |
Modifier and Type | Method and Description |
---|---|
Predicate |
BeatPredicatePostProcessor.restrict(Predicate predicate) |
Modifier and Type | Method and Description |
---|---|
protected Predicate |
JdbcEntityPersistence.restrictType(Predicate predicate) |
Modifier and Type | Method and Description |
---|---|
RenderedSql |
SqlEntityPredicateRenderer.render(Predicate predicate,
RenderingMode mode) |
RenderedSql |
BaseSqlQueryRenderer.renderPredicate(Predicate predicate,
RenderingMode mode) |
protected Predicate |
JdbcEntityPersistence.restrictType(Predicate predicate) |
Modifier and Type | Method and Description |
---|---|
RenderedSql |
SqlPredicateRenderer.render(Predicate predicate,
RenderingMode mode) |
RenderedSql |
SqlQueryRenderer.renderPredicate(Predicate predicate,
RenderingMode mode) |
Modifier and Type | Class and Description |
---|---|
class |
ComparisonPredicate
A predicate which compares a query parameter (i.e. left operand) with an expected value (i.e. right operand) based on a specific operator.
|
class |
CompositePredicate
A logical concatenation of n predicates, which itself is again a predicate.
|
class |
InnerSelectInPredicate
A predicate which compares a query parameter (i.e. left operand) with an inner select predicate (i.e. right operand) based on a IN operator.
|
class |
InPredicate
A predicate which compares a query parameter (i.e. left operand) with a set of possible values (i.e. right operand) based on a IN operator.
|
class |
NeverMatchingPredicate
A tagging predicate which never matches.
|
class |
NotNullPredicate
A predicate whose right operand is always
not null . |
class |
NotPredicate
Negating wrapper around an arbitrary predicate.
|
class |
NullPredicate
A predicate whose right operand always equals
null . |
class |
QueryParameterPredicate
Predicates that have a
QueryParameter as their left operand. |
class |
RawPredicate
A predicate expressed through a raw sql where-clause.
|
class |
RenderingModePredicate
Predicate which can enforce rendering mode
|
Modifier and Type | Field and Description |
---|---|
static Predicate |
Predicates.EMPTY
An empty predicate.
|
Modifier and Type | Field and Description |
---|---|
static Set<Class<? extends Predicate>> |
PredicateUtils.SUPPORTED_PREDICATES
Supported predicates which are not filtered out in the
PredicateUtils.removeNotSupportedPredicates(List) (List)} method. |
Modifier and Type | Method and Description |
---|---|
static <T extends Predicate> |
PredicateUtils.removeEmptyPredicates(List<? extends T> predicates)
Removes all empty predicates from the given non-null predicates.
|
static <T extends Predicate> |
PredicateUtils.removeNotSupportedPredicates(List<? extends T> predicates)
Removes all not supported (
PredicateUtils.SUPPORTED_PREDICATES ) predicates from the given non-null predicates. |
Modifier and Type | Method and Description |
---|---|
Predicate |
DateOperand.after(Date referenceDate)
Builds a predicate representing a
queryParameter > referenceValue comparison. |
Predicate |
DateOperand.afterOrEq(Date referenceDate)
Builds a predicate representing a
queryParameter >= referenceValue comparison. |
static Predicate |
Predicates.and(List<? extends Predicate> predicates)
Concatenates the given predicates to a combined predicate through a logical AND operator.
|
Predicate |
Predicate.and(Predicate predicate)
Concatenates this predicate with the given predicate to a combined predicate through a logical AND operator.
|
static Predicate |
Predicates.and(Predicate one,
Predicate two,
Predicate... more)
Concatenates the given predicates to a combined predicate through a logical AND operator.
|
Predicate |
CompositePredicate.apply(PredicateTransformation transformation) |
Predicate |
NotPredicate.apply(PredicateTransformation transformation) |
Predicate |
Predicate.apply(PredicateTransformation transformation)
Applies the given transformation, returning the transformed predicate.
|
Predicate |
DateOperand.before(Date referenceDate)
Builds a predicate representing a
queryParameter < referenceValue comparison. |
Predicate |
DateOperand.beforeOrEq(Date referenceDate)
Builds a predicate representing a
queryParameter <= referenceValue comparison. |
Predicate |
DateOperand.between(Date startDate,
Date endDate)
Builds a predicate representing a
queryParameter >= startDate AND queryParameter <= endDate comparison. |
Predicate |
BasicOperand.eq(BasicOperand<?> operand,
Predicate innerSelectPredicate)
Builds a predicate which tests the
queryParameter of the given operand is equal to a single match of the given inner select predicate. |
Predicate |
BasicOperand.eq(Predicate innerSelectPredicate)
Builds a predicate which tests the
queryParameter of this operand is equal to a single match of the given inner select predicate. |
Predicate |
BasicOperand.eq(T expectedValue)
Builds a predicate representing a
queryParameter = expectedValue comparison. |
Predicate |
InnerSelectInPredicate.getInnerSelectPredicate()
Returns the inner select predicate (i.e. right operand) of this predicate.
|
static Predicate |
Predicates.getMinimalPredicate(CompositePredicate compositePredicate)
Returns the minimal predicate for the given composite.
|
Predicate |
AggregateReferenceValue.getPredicate() |
Predicate |
BaseQuery.getPredicate() |
Predicate |
BasicOperand.InnerSelectReferenceValue.getPredicate() |
Predicate |
NotPredicate.getPredicate()
The predicate to be negated.
|
Predicate |
Query.getPredicate()
The predicate to match.
|
Predicate |
NumberOperand.greaterThan(T referenceValue)
Builds a predicate representing a
queryParameter > referenceValue comparison. |
Predicate |
NumberOperand.greaterThanOrEq(T referenceValue)
Builds a predicate representing a
queryParameter >= referenceValue comparison. |
Predicate |
BasicOperand.in(BasicOperand<?> operand,
Predicate innerSelectPredicate)
Builds a predicate which tests the
queryParameter of the given operand to be contained in any of the given inner select predicate matches. |
Predicate |
BasicOperand.in(Collection<? extends T> possibleValues)
Builds a predicate which tests that the
queryParameter of this operand contains any of the given possibleValues . |
Predicate |
BasicOperand.in(Predicate innerSelectPredicate)
Builds a predicate which tests the
queryParameter of this operand to be contained in any of the given inner select predicate matches. |
Predicate |
BasicOperand.in(T possibleValue)
Builds a predicate which tests that the
queryParameter of this operand contains possibleValue1 . |
Predicate |
BasicOperand.in(T possibleValue1,
T possibleValue2)
Builds a predicate which tests that the
queryParameter of this operand contains either possibleValue1 or possibleValue2 . |
Predicate |
BasicOperand.in(T possibleValue1,
T possibleValue2,
T possibleValue3)
Builds a predicate which tests that the
queryParameter of this operand contains either possibleValue1 , possibleValue2 , or
possibleValue3 . |
Predicate |
BasicOperand.in(T possibleValue1,
T possibleValue2,
T possibleValue3,
T... morePossibleValues)
Builds a predicate which tests that the
queryParameter of this operand contains either possibleValue1 , possibleValue2 ,
possibleValue3 , or any of morePossibleValues . |
protected Predicate |
BasicOperand.interceptPredicate(Predicate predicate) |
Predicate |
ConstructionInterceptor.interceptPredicateConstruction(Predicate predicate)
Hook to modify a new predicate right after its construction.
|
Predicate |
BooleanOperand.isFalse()
Builds a predicate representing a
queryParameter = false comparison. |
Predicate |
BasicOperand.isNotNull()
Builds a predicate representing a
queryParameter IS NOT NULL comparison. |
Predicate |
BasicOperand.isNull()
Builds a predicate representing a
queryParameter IS NULL comparison. |
Predicate |
BooleanOperand.isTrue()
Builds a predicate representing a
queryParameter = true comparison. |
Predicate |
NumberOperand.lessThan(T referenceValue)
Builds a predicate representing a
queryParameter < referenceValue comparison. |
Predicate |
NumberOperand.lessThanOrEq(T referenceValue)
Builds a predicate representing a
queryParameter <= referenceValue comparison. |
Predicate |
StringOperand.like(String expectedValue)
Builds a predicate representing a
queryParameter LIKE expectedValue comparison. |
Predicate |
Predicate.not()
Negates this predicate through a logical NOT operator.
|
static Predicate |
Predicates.not(Predicate predicate)
Negates the given predicate through a NOT operator.
|
static Predicate |
Predicates.or(List<? extends Predicate> predicates)
Concatenates the given predicates to a combined predicate through a logical OR operator.
|
Predicate |
Predicate.or(Predicate predicate)
Concatenates this predicate with the given predicate to a combined predicate through a logical OR operator.
|
static Predicate |
Predicates.or(Predicate one,
Predicate two,
Predicate... more)
Concatenates the given predicates to a combined predicate through a logical OR operator.
|
Predicate |
MergeCompositesPredicateTransformation.transform(Predicate input) |
Predicate |
PredicateTransformation.transform(Predicate input)
Optionally transform the given predicate.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<Predicate> |
CompositePredicate.getPredicates()
All predicates to be concatenated.
|
Modifier and Type | Method and Description |
---|---|
Predicate |
Predicate.and(Predicate predicate)
Concatenates this predicate with the given predicate to a combined predicate through a logical AND operator.
|
static Predicate |
Predicates.and(Predicate one,
Predicate two,
Predicate... more)
Concatenates the given predicates to a combined predicate through a logical AND operator.
|
static Predicate |
Predicates.and(Predicate one,
Predicate two,
Predicate... more)
Concatenates the given predicates to a combined predicate through a logical AND operator.
|
static boolean |
PredicateUtils.containsPredicate(Predicate predicateToCheck,
Class<? extends Predicate> predicateClass)
Returns true if the given
Predicate class is contained in the given predicate to check. |
Predicate |
BasicOperand.eq(BasicOperand<?> operand,
Predicate innerSelectPredicate)
Builds a predicate which tests the
queryParameter of the given operand is equal to a single match of the given inner select predicate. |
Predicate |
BasicOperand.eq(Predicate innerSelectPredicate)
Builds a predicate which tests the
queryParameter of this operand is equal to a single match of the given inner select predicate. |
Predicate |
BasicOperand.in(BasicOperand<?> operand,
Predicate innerSelectPredicate)
Builds a predicate which tests the
queryParameter of the given operand to be contained in any of the given inner select predicate matches. |
Predicate |
BasicOperand.in(Predicate innerSelectPredicate)
Builds a predicate which tests the
queryParameter of this operand to be contained in any of the given inner select predicate matches. |
protected Predicate |
BasicOperand.interceptPredicate(Predicate predicate) |
Predicate |
ConstructionInterceptor.interceptPredicateConstruction(Predicate predicate)
Hook to modify a new predicate right after its construction.
|
static Predicate |
Predicates.not(Predicate predicate)
Negates the given predicate through a NOT operator.
|
Predicate |
Predicate.or(Predicate predicate)
Concatenates this predicate with the given predicate to a combined predicate through a logical OR operator.
|
static Predicate |
Predicates.or(Predicate one,
Predicate two,
Predicate... more)
Concatenates the given predicates to a combined predicate through a logical OR operator.
|
static Predicate |
Predicates.or(Predicate one,
Predicate two,
Predicate... more)
Concatenates the given predicates to a combined predicate through a logical OR operator.
|
SELF |
BaseQuery.BaseQueryBuilder.predicate(Predicate predicate)
The predicate to match.
|
void |
BaseQuery.QueryData.setPredicate(Predicate predicate) |
Predicate |
MergeCompositesPredicateTransformation.transform(Predicate input) |
Predicate |
PredicateTransformation.transform(Predicate input)
Optionally transform the given predicate.
|
Modifier and Type | Method and Description |
---|---|
static Predicate |
Predicates.and(List<? extends Predicate> predicates)
Concatenates the given predicates to a combined predicate through a logical AND operator.
|
static void |
PredicateUtils.assertNoNullPredicates(List<? extends Predicate> predicates)
Asserts that all given predicates are not null.
|
static boolean |
PredicateUtils.containsPredicate(Predicate predicateToCheck,
Class<? extends Predicate> predicateClass)
Returns true if the given
Predicate class is contained in the given predicate to check. |
static Predicate |
Predicates.or(List<? extends Predicate> predicates)
Concatenates the given predicates to a combined predicate through a logical OR operator.
|
Constructor and Description |
---|
AggregateReferenceValue(Predicate predicate,
AggregateReferenceValue.AggregationStrategy aggregationStrategy) |
InnerSelectInPredicate(QueryParameter queryParameter,
Predicate innerSelectPredicate)
Creates a predicate instance representing a
queryParameter IN (select queryParameter from table where innerSelectPredicate) criterion. |
InnerSelectInPredicate(QueryParameter queryParameter,
QueryParameter innerSelectQueryParameter,
Predicate innerSelectPredicate)
Creates a predicate instance representing a
queryParameter IN (select innerSelectQueryParameter from table where innerSelectPredicate) criterion. |
InnerSelectReferenceValue(QueryParameter queryParameter,
QueryParameter innerSelectQueryParameter,
Predicate predicate) |
NotPredicate(Predicate predicate)
Constructs a new instance which wraps the given predicate.
|
Constructor and Description |
---|
CompositePredicate(CompositePredicate.Operator operator,
Collection<? extends Predicate> predicates)
Creates a predicate instance which concatenates the given predicates with the specified operator.
|
Modifier and Type | Class and Description |
---|---|
class |
IdentityLinkPredicate
A predicate implementation whose operands are identity links.
|
class |
MultipleNamedValuePredicate
A marker predicate which isolates multiple
NamedValue predicates (variable / property predicates) from each other. |
class |
NamedValuePredicate
A wrapper which serves as a marker for property/variable-based predicates.
|
Modifier and Type | Method and Description |
---|---|
Predicate |
IdentityLinkPredicate.apply(PredicateTransformation transformation) |
Predicate |
MultipleNamedValuePredicate.apply(PredicateTransformation transformation) |
Predicate |
NamedValuePredicate.apply(PredicateTransformation transformation) |
Predicate |
HierarchyOperand.childOf(T expectedId)
Builds a predicate representing
queryParameter child of expectedId comparison. |
Predicate |
HierarchyOperand.childrenOf(Collection<? extends T> expectedIds)
Builds a predicate representing
queryParameter child of any of expectedIds comparison. |
Predicate |
CandidateOperand.containsAnyOf(Collection<T> possibleCandidates)
Builds a predicate which tests that the value of this operand contains any of the given
possibleCandidates . |
Predicate |
CandidateOperand.containsAnyOf(T possibleCandidate)
Builds a predicate which tests that the value of this operand contains the given
possibleCandidate . |
Predicate |
CandidateOperand.containsAnyOf(T possibleCandidate1,
T possibleCandidate2)
Builds a predicate which tests that the value of this operand contains the given
possibleCandidate1 or possibleCandidate2 . |
Predicate |
CandidateOperand.containsAnyOf(T possibleCandidate1,
T possibleCandidate2,
T possibleCandidate3)
Builds a predicate which tests that the value of this operand contains the given
possibleCandidate1 , possibleCandidate2 , or
possibleCandidate3 |
Predicate |
CandidateOperand.containsAnyOf(T possibleCandidate1,
T possibleCandidate2,
T possibleCandidate3,
T... morePossibleCandidates)
Builds a predicate which tests that the value of this operand contains the given
possibleCandidate1 , possibleCandidate2 ,
possibleCandidate3 , or any of morePossibleCandidates . |
Predicate |
HierarchyOperand.descendantOf(T expectedId)
Builds a predicate representing
queryParameter descendant of expectedId comparison. |
Predicate |
HierarchyOperand.descendantOfOrEq(List<? extends T> expectedPathIds)
Builds a predicate representing
queryParameter descendant of expectedPathIds or queryParameter = expectedPathIds comparison. |
Predicate |
HierarchyOperand.descendantOfOrEq(T expectedId)
Builds a predicate representing
queryParameter descendant of expectedId or queryParameter = expectedId comparison. |
Predicate |
MultipleNamedValuePredicate.getPredicate()
Returns the marked predicate.
|
Predicate |
NamedValuePredicate.getPredicate() |
Predicate |
VariableRestrictionQueryHint.getPredicate()
Returns the predicate which defines the variable white list.
|
Predicate |
IdentityLinkPredicate.getTypePredicate() |
Predicate |
IdentityLinkPredicate.getValuesPredicate() |
Predicate |
PriorityOperand.highest()
Builds a predicate representing a
priority = max(all priority values) comparison. |
Predicate |
PriorityOperand.highest(Predicate aggregationPredicate)
Builds a predicate representing a
priority = max(all priority values matching aggregationPredicate) comparison. |
Predicate |
WorkObjectStateOperand.isActive() |
Predicate |
WorkObjectStateOperand.isCompleted() |
Predicate |
CandidateOperand.isEmpty()
Builds a predicate which tests that the value of this operand contains no candidates.
|
Predicate |
WorkObjectStateOperand.isInterrupted() |
Predicate |
VersionOperand.latest()
Builds a predicate representing a
version = max(all version values) comparison. |
Predicate |
VersionOperand.latest(Predicate aggregationPredicate)
Builds a predicate representing a
version = max(all version values matching aggregationPredicate) comparison. |
Predicate |
PriorityOperand.lowest()
Builds a predicate representing a
priority = min(all priority values) comparison. |
Predicate |
PriorityOperand.lowest(Predicate aggregationPredicate)
Builds a predicate representing a
priority = min(all priority values matching aggregationPredicate) comparison. |
static Predicate |
MultipleNamedValuePredicate.match(Predicate predicate)
Marks the given predicate.
|
static Predicate |
MultipleNamedValuePredicate.matchAll(List<? extends Predicate> predicates)
Marks each given predicate and combines them with the AND operator.
|
static Predicate |
MultipleNamedValuePredicate.matchAll(Predicate one,
Predicate two,
Predicate... more)
Marks each given predicate and combines them with the AND operator.
|
static Predicate |
MultipleNamedValuePredicate.matchAny(List<? extends Predicate> predicates)
Marks each given predicate and combines them with the OR operator.
|
static Predicate |
MultipleNamedValuePredicate.matchAny(Predicate one,
Predicate two,
Predicate... more)
Marks each given predicate and combines them with the AND operator.
|
<V> Predicate |
PropertyOperand.nameAndValueEq(PropertyName<V> expectedPropertyName,
V expectedValue)
Returns a predicate testing for properties with the given property name and the given value.
|
Predicate |
VariableOperand.nameAndValueEq(String expectedName,
Object expectedValue)
Returns a predicate testing for variables with the given name and the given value.
|
Predicate |
PropertyOperand.nameAndValueEq(String expectedName,
String expectedValue)
Returns a predicate testing for properties with the given name and the given value.
|
<V> Predicate |
VariableOperand.nameAndValueEq(VariableName<V,?> expectedVariableName,
V expectedValue)
Returns a predicate testing for variables with the given variable name and the given value.
|
Predicate |
MergeNamedValuesPredicateTransformation.transform(Predicate input) |
Predicate |
PropertyOperand.undefined(PropertyName<?> propertyName)
Returns a predicate representing an undefined property predicate
|
Predicate |
PropertyOperand.undefined(String propertyName)
Returns a predicate representing an undefined property predicate
|
Predicate |
VariableOperand.undefined(String variableName)
Returns a predicate representing an undefined variable predicate
|
Predicate |
VariableOperand.undefined(VariableName<?,?> variableName)
Returns a predicate representing an undefined variable predicate.
|
Predicate |
VariableOperand.valueIsNotNull()
Returns a predicate which checks that the variable value is null, irrespective of the value type.
|
Predicate |
VariableOperand.valueIsNull()
Returns a predicate which checks that the variable value is null, irrespective of the value type.
|
Predicate |
LatestVersionOperand.withKey(String key)
Builds a predicate representing a
key = values matching key AND version = max(all version values with matching key) comparison. |
Modifier and Type | Method and Description |
---|---|
Predicate |
PriorityOperand.highest(Predicate aggregationPredicate)
Builds a predicate representing a
priority = max(all priority values matching aggregationPredicate) comparison. |
Predicate |
VersionOperand.latest(Predicate aggregationPredicate)
Builds a predicate representing a
version = max(all version values matching aggregationPredicate) comparison. |
Predicate |
PriorityOperand.lowest(Predicate aggregationPredicate)
Builds a predicate representing a
priority = min(all priority values matching aggregationPredicate) comparison. |
static Predicate |
MultipleNamedValuePredicate.match(Predicate predicate)
Marks the given predicate.
|
static Predicate |
MultipleNamedValuePredicate.matchAll(Predicate one,
Predicate two,
Predicate... more)
Marks each given predicate and combines them with the AND operator.
|
static Predicate |
MultipleNamedValuePredicate.matchAll(Predicate one,
Predicate two,
Predicate... more)
Marks each given predicate and combines them with the AND operator.
|
static Predicate |
MultipleNamedValuePredicate.matchAny(Predicate one,
Predicate two,
Predicate... more)
Marks each given predicate and combines them with the AND operator.
|
static Predicate |
MultipleNamedValuePredicate.matchAny(Predicate one,
Predicate two,
Predicate... more)
Marks each given predicate and combines them with the AND operator.
|
QueryHint |
VariableRestrictionQueryHint.Factory.matching(Predicate predicate)
Creates a query hint which restricts the variables to be loaded based on the given predicate (white list semantics).
|
Predicate |
MergeNamedValuesPredicateTransformation.transform(Predicate input) |
Modifier and Type | Method and Description |
---|---|
static Predicate |
MultipleNamedValuePredicate.matchAll(List<? extends Predicate> predicates)
Marks each given predicate and combines them with the AND operator.
|
static Predicate |
MultipleNamedValuePredicate.matchAny(List<? extends Predicate> predicates)
Marks each given predicate and combines them with the OR operator.
|
Constructor and Description |
---|
NamedValuePredicate(Predicate predicate) |
Modifier and Type | Method and Description |
---|---|
Predicate |
NoOpPredicatePostProcessor.restrict(Predicate predicate) |
Predicate |
PredicatePostProcessor.restrict(Predicate predicate)
Add restrictions to a predicate before it is evaluated in the persistence layer.
|
Modifier and Type | Method and Description |
---|---|
long |
BaseEntityService.countEntities(Predicate predicate) |
long |
EntityService.countEntities(Predicate predicate)
Counts the entities that match the query with the given predicate.
|
long |
BaseEntityService.countEntities(Predicate predicate,
SearchScope searchScope) |
long |
EntityService.countEntities(Predicate predicate,
SearchScope searchScope)
Counts the entities that match the query with the given predicate in the given scope.
|
List<E> |
BaseEntityService.findEntities(Predicate predicate) |
List<E> |
EntityService.findEntities(Predicate predicate)
Finds the entities that match the query with the given predicate.
|
List<E> |
BaseEntityService.findEntities(Predicate predicate,
SearchScope searchScope) |
List<E> |
EntityService.findEntities(Predicate predicate,
SearchScope searchScope)
Finds the entities that match the query with the given predicate in the given scope.
|
E |
BaseEntityService.findEntity(Predicate predicate) |
E |
EntityService.findEntity(Predicate predicate)
Finds the entity that matches the query with the given predicate.
|
E |
BaseEntityService.findEntity(Predicate predicate,
SearchScope searchScope) |
E |
EntityService.findEntity(Predicate predicate,
SearchScope searchScope)
Finds the entity that matches the query with the given predicate in the given scope.
|
Predicate |
NoOpPredicatePostProcessor.restrict(Predicate predicate) |
Predicate |
PredicatePostProcessor.restrict(Predicate predicate)
Add restrictions to a predicate before it is evaluated in the persistence layer.
|
Modifier and Type | Method and Description |
---|---|
long |
BulkProcessor.process(String taskName,
Predicate predicate,
com.google.common.base.Function<T,Void> function,
SearchScope searchScope)
Process all objects matched by the given predicate, applying the given function to each one.
|
long |
BulkProcessor.process(String taskName,
Predicate predicate,
Set<QueryHint> hints,
com.google.common.base.Function<T,Void> function,
SearchScope searchScope)
Process all objects matched by the given predicate, applying the given function to each one.
|
Copyright © 2010 - 2018 edorasware ag. All Rights Reserved.