public abstract class AbstractWhereClauseMatchCriteria extends Object implements WhereClauseMatchCriteria
toString() method of this class produces a where clause beginning
with the text "WHERE" such that is can be directly appended to a SQL
statement without a where clause to narrow results.| Modifier and Type | Field and Description |
|---|---|
protected StringBuilder |
sbClause
Stores where clause string
|
| Constructor and Description |
|---|
AbstractWhereClauseMatchCriteria() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addCriteria(String column)
Adds a parameterized selection criterion of the form column=? to the
where clause.
|
protected void |
addCriteria(String column,
String operator)
Adds a parameterized selection criterion of the form "column [operator] ?"
to the where clause.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetParameterValuesprotected StringBuilder sbClause
public String toString()
toString in interface WhereClauseMatchCriteriatoString in class Objectprotected void addCriteria(String column)
column - Database column name.Copyright © 2007-2017 Apereo. All Rights Reserved.