public class AndSubClause extends WhereClause
WhereClause.ClauseTypeSQLClause.SQLType| Constructor and Description |
|---|
AndSubClause() |
AndSubClause(WhereClause[] clauses) |
| Modifier and Type | Method and Description |
|---|---|
void |
addWhereClause(WhereClause clause) |
WhereClause.ClauseType |
getClauseType() |
java.lang.Object[] |
getValues()
Note: null value is accepted IF NULL is also set on the valueType map, otherwise behavior is undefined
The values will be added in-order in places designated by ? in the sql string
|
SQLClause.SQLType[] |
getValueTypes() |
void |
toSQLString(java.lang.StringBuilder sql)
print this clause the the given builder, the output should NOT include AND or OR keyword, this will be automatically added when needed
|
public AndSubClause(WhereClause[] clauses)
clauses - public AndSubClause()
public void addWhereClause(WhereClause clause)
clause - public SQLClause.SQLType[] getValueTypes()
public java.lang.Object[] getValues()
SQLClausepublic void toSQLString(java.lang.StringBuilder sql)
SQLClausepublic WhereClause.ClauseType getClauseType()
getClauseType in class WhereClauseCopyright © 2015 Tampere University of Technology, Pori Department.