DBCommandExpr.DBCmdColumn, DBCommandExpr.DBCmdQuery| Modifier and Type | Field and Description |
|---|---|
protected DBCompareExpr |
connectBy |
protected int |
limitRows |
protected String |
optimizerHint |
protected int |
skipRows |
protected DBCompareExpr |
startWith |
autoPrepareStmt, cmdParams, groupBy, having, joins, log, parentTables, select, selectDistinct, set, wherecmdQuery, orderBy, SF_DEFAULT, SF_SKIP_FROM, SF_SKIP_GROUP, SF_SKIP_LIMIT, SF_SKIP_ORDER, SF_SKIP_SELECT, SF_SKIP_WHERECTX_ALIAS, CTX_ALL, CTX_DEFAULT, CTX_FULLNAME, CTX_NAME, CTX_NOPARENTHESIS, CTX_VALUE| Constructor and Description |
|---|
DBCommandOracle(DBMSHandlerOracle dbms,
boolean autoPrepareStmt)
Constructs an oracle command object.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDeleteForTable(DBSQLBuilder sql,
DBRowSet table) |
protected void |
addDeleteWithJoins(DBSQLBuilder sql,
DBRowSet table) |
protected void |
addUpdateForTable(DBSQLBuilder sql,
DBRowSet table) |
protected void |
addUpdateWithJoins(DBSQLBuilder sql,
DBRowSet table) |
void |
clear()
Clears the entire command object.
|
void |
clearConnectBy()
Clears the connectBy Expression.
|
void |
clearLimit()
Clears a limit or offset set by calling limit() or offset()
|
void |
connectByPrior(DBCompareExpr expr) |
String |
getOptimizerHint() |
DBCmdParams |
getParams() |
Object[] |
getParamValues()
Returns an array of parameter values for a prepared statement.
|
void |
getSelect(DBSQLBuilder sql,
int flags)
Creates an Oracle specific select statement
that supports special features of the Oracle DBMS
like e.g.
|
DBCommandOracle |
limitRows(int limitRows)
Overridden to change return type from DBCommandExpr to DBCommand
|
void |
setOptimizerHint(String optimizerHint) |
void |
setOptimizerIndexHint(DBIndex index) |
DBCommandOracle |
skipRows(int skipRows)
Overridden to change return type from DBCommandExpr to DBCommand
|
void |
startWith(DBCompareExpr expr) |
addFrom, addGrouping, addJoins, addOrder, addParam, addParam, addParam, addParam, addReferencedColumns, addSelect, addWhere, addWhere, addWhereConstraints, appendCompareColExprs, clearGroupBy, clearHaving, clearJoin, clearSelect, clearSelectDistinct, clearSet, clearWhere, clone, completeParamUsage, createSQLBuilder, findConstraintOn, getDatabase, getDataType, getDelete, getGroupBy, getHavingConstraints, getInsert, getJoins, getRowSetList, getSelectExpressions, getSelectExprList, getSetExpressions, getUpdate, getWhereConstraints, groupAll, groupBy, groupBy, groupBy, hasAggegation, hasConstraintOn, hasGroupBy, hasHavingConstraintOn, hasHavingConstraints, hasJoinOn, hasJoinOn, hasSelectExpr, hasSelectExpr, hasSetExpr, hasSetExprOn, hasWhereConstraintOn, hasWhereConstraints, having, isAutoPrepareStmt, isPreparedStatementsEnabled, isSelectDistinct, isValid, join, join, join, join, join, join, join, join, joinLeft, joinLeft, joinRight, joinRight, orderBy, orderBy, orderBy, qualifyAll, removeAllCommandParams, removeCommandParams, removeConstraint, removeConstraintOn, removeHavingConstraint, removeHavingConstraintOn, removeJoinsOn, removeJoinsOn, removeSelect, removeWhereConstraint, removeWhereConstraintOn, replaceSelect, resetParamUsage, select, select, select, selectDistinct, selectQualified, selectQualified, set, set, setConstraint, setParentTables, useCmdParam, where, whereaddListExpr, addSQL, clearOrderBy, getCmdColumn, getDbms, getInsertInto, getInsertInto, getInsertInto, getOrderBy, getSelect, getSelect, hasOrderBy, intersect, not, notEmpty, result, union, unionAllcheckParamNullprotected DBCompareExpr connectBy
protected DBCompareExpr startWith
protected String optimizerHint
protected int limitRows
protected int skipRows
public DBCommandOracle(DBMSHandlerOracle dbms, boolean autoPrepareStmt)
dbms - the oracle database handlerautoPrepareStmt - flag whether to automatically use prepared statementsDBCommandpublic String getOptimizerHint()
public void setOptimizerHint(String optimizerHint)
public void setOptimizerIndexHint(DBIndex index)
public void clear()
DBCommandclear in class DBCommandDBCommand.clear()public void clearConnectBy()
public void connectByPrior(DBCompareExpr expr)
public void startWith(DBCompareExpr expr)
public DBCommandOracle limitRows(int limitRows)
DBCommandpublic DBCommandOracle skipRows(int skipRows)
DBCommandpublic void clearLimit()
DBCommandExprclearLimit in class DBCommandExprpublic void getSelect(DBSQLBuilder sql, int flags)
public DBCmdParams getParams()
public Object[] getParamValues()
DBCommandgetParamValues in class DBCommandprotected void addUpdateForTable(DBSQLBuilder sql, DBRowSet table)
addUpdateForTable in class DBCommandprotected void addUpdateWithJoins(DBSQLBuilder sql, DBRowSet table)
addUpdateWithJoins in class DBCommandprotected void addDeleteForTable(DBSQLBuilder sql, DBRowSet table)
addDeleteForTable in class DBCommandprotected void addDeleteWithJoins(DBSQLBuilder sql, DBRowSet table)
addDeleteWithJoins in class DBCommandCopyright © 2008–2023 Apache Software Foundation. All rights reserved.