public abstract class JdbcCriteria extends Object implements Criteria
Constructor and Description |
---|
JdbcCriteria() |
Modifier and Type | Method and Description |
---|---|
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.
|
public JdbcCriteria and(Criteria criteria)
Criteria
this
and given criteria
must match.public JdbcCriteria or(Criteria criteria)
Criteria
this
or the given criteria
must 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.Copyright © 2010-2014. All Rights Reserved.