|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Constraint
Common interface for all constraint types used in a SQL query.
Match| Method Summary | |
|---|---|
java.lang.String |
getConstraint(java.util.List<java.lang.String> unboundVariables)
Get the SQL text for this constraint, using any variables from the provided list |
java.util.Set<ITable> |
listTables()
Get the set of tables to which this constraint is based |
void |
writeConstraint(java.lang.StringBuffer buf,
java.util.List<java.lang.String> unboundVariables)
Write the SQL text for this constraint to the provided buffer, using any variables from the provided list |
| Method Detail |
|---|
java.util.Set<ITable> listTables()
java.lang.String getConstraint(java.util.List<java.lang.String> unboundVariables)
unboundVariables - set of variables that can be used within constraints
void writeConstraint(java.lang.StringBuffer buf,
java.util.List<java.lang.String> unboundVariables)
buf - StringBuffer to which the SQL text for this constraint is appendedunboundVariables - set of variables that can be used within constraints
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||