|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.axonframework.eventstore.jdbc.criteria.JdbcCriteria
public abstract class JdbcCriteria
Abstract implementation of the Criteria interface for a Jdbc Event Store.
Constructor Summary | |
---|---|
JdbcCriteria()
|
Method Summary | |
---|---|
JdbcCriteria |
and(Criteria criteria)
Returns a criteria instance where both this and given criteria must match. |
JdbcCriteria |
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 JdbcCriteria()
Method Detail |
---|
public JdbcCriteria and(Criteria criteria)
Criteria
this
and given criteria
must match.
and
in interface Criteria
criteria
- The criteria that must match
this
and criteria
matchpublic JdbcCriteria or(Criteria criteria)
Criteria
this
or the given criteria
must match.
or
in interface Criteria
criteria
- The criteria that must match if this
doesn't match
this
or the given criteria
matchpublic 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 |