org.mycore.backend.sql
Class MCRSQLStatement
java.lang.Object
org.mycore.backend.sql.MCRSQLStatement
public class MCRSQLStatement
- extends Object
- Version:
- $Revision: 13085 $ $Date: 2008-02-06 18:27:24 +0100 (Mi, 06 Feb 2008) $
- Author:
- Frank Lützenkirchen, Thomas Scheffler (yagee)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NULL
protected static final String NULL
- See Also:
- Constant Field Values
values
protected Properties values
conditions
protected Properties conditions
columns
protected Vector columns
sqlColumns
protected List sqlColumns
tableName
protected String tableName
MCRSQLStatement
public MCRSQLStatement(String tableName)
setValue
public final MCRSQLStatement setValue(String columnName,
String columnValue)
setValue
public final MCRSQLStatement setValue(MCRSQLColumn column)
setCondition
public final MCRSQLStatement setCondition(String columnName,
String columnValue)
addColumn
public final MCRSQLStatement addColumn(String columnDefinition)
getSQLValue
protected final String getSQLValue(String key)
condition
protected final String condition()
toInsertStatement
public final String toInsertStatement()
toTypedInsertStatement
public final String toTypedInsertStatement()
toUpdateStatement
public final String toUpdateStatement()
toCreateTableStatement
public final String toCreateTableStatement()
toIndexStatement
public final String toIndexStatement()
toRowSelector
public final String toRowSelector()
toSelectStatement
public final String toSelectStatement()
toSelectStatement
public final String toSelectStatement(String columns)
toDeleteStatement
public final String toDeleteStatement()
toCountStatement
public final String toCountStatement(String column)