|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Restriction
This interface represents a restriction applied to the query SELECT .. FROM .. statement to filter the search result.
Positioned parameter (JDBC-style ? parameters) is used to bind the query.
| Method Summary | |
|---|---|
java.lang.String |
getClause()
Generate the WHERE clause fragment (after prefixing "WHERE" or "AND" keywords)
that will be appended to the SELECT statement. |
java.util.List |
getParameters()
List of parameters (each parameter element is the type of Parameter). |
| Method Detail |
|---|
java.lang.String getClause()
WHERE clause fragment (after prefixing "WHERE" or "AND" keywords)
that will be appended to the SELECT statement.
The key words "WHERE" and "AND" is be excluded from this clause fragment.
The clause fragment can contain multiple '?' IN parameter placeholders
java.util.List getParameters()
Parameter).
The number of parameters should be the same as the number of IN parameter placeholders in the returned clause fragment.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||