|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.axonframework.eventstore.jpa.criteria.JpaCriteria
public abstract class JpaCriteria
Abstract implementation of the Criteria interface for a JPA Event Store.
| Constructor Summary | |
|---|---|
JpaCriteria()
|
|
| Method Summary | |
|---|---|
JpaCriteria |
and(Criteria criteria)
Returns a criteria instance where both this and given criteria must match. |
JpaCriteria |
or(Criteria criteria)
Returns a criteria instance where either this or the given criteria must match. |
abstract void |
parse(String entryKey,
StringBuilder whereClause,
ParameterRegistry parameters)
Parses the criteria to a JPA compatible where clause and parameter values. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JpaCriteria()
| Method Detail |
|---|
public JpaCriteria and(Criteria criteria)
Criteriathis and given criteria must match.
and in interface Criteriacriteria - The criteria that must match
this and criteria matchpublic JpaCriteria or(Criteria criteria)
Criteriathis or the given criteria must match.
or in interface Criteriacriteria - The criteria that must match if this doesn't match
this or the given criteria match
public abstract void parse(String entryKey,
StringBuilder whereClause,
ParameterRegistry parameters)
entryKey - The variable assigned to the entry in the whereClausewhereClause - The buffer to write the where clause to.parameters - The registry where parameters and assigned values can be registered.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||