|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of QueryUpdateStatement in org.eclipse.datatools.modelbase.sql.query |
---|
Methods in org.eclipse.datatools.modelbase.sql.query that return QueryUpdateStatement | |
---|---|
QueryUpdateStatement |
SQLQueryModelFactory.createQueryUpdateStatement()
Returns a new object of class 'Query Update Statement'. |
QueryUpdateStatement |
TableInDatabase.getUpdateStatement()
Returns the value of the 'Update Statement' container reference. |
QueryUpdateStatement |
CursorReference.getUpdateStatement()
Returns the value of the 'Update Statement' container reference. |
QueryUpdateStatement |
UpdateAssignmentExpression.getUpdateStatement()
Returns the value of the 'Update Statement' container reference. |
QueryUpdateStatement |
QuerySearchCondition.getUpdateStatement()
Returns the value of the 'Update Statement' container reference. |
Methods in org.eclipse.datatools.modelbase.sql.query with parameters of type QueryUpdateStatement | |
---|---|
void |
TableInDatabase.setUpdateStatement(QueryUpdateStatement value)
Sets the value of the ' Update Statement ' container reference. |
void |
CursorReference.setUpdateStatement(QueryUpdateStatement value)
Sets the value of the ' Update Statement ' container reference. |
void |
UpdateAssignmentExpression.setUpdateStatement(QueryUpdateStatement value)
Sets the value of the ' Update Statement ' container reference. |
void |
QuerySearchCondition.setUpdateStatement(QueryUpdateStatement value)
Sets the value of the ' Update Statement ' container reference. |
Uses of QueryUpdateStatement in org.eclipse.datatools.modelbase.sql.query.helper |
---|
Methods in org.eclipse.datatools.modelbase.sql.query.helper that return QueryUpdateStatement | |
---|---|
static QueryUpdateStatement |
StatementHelper.createUpdateStatement(java.lang.String name)
|
QueryUpdateStatement |
StatementHelper.createUpdateStatement(java.lang.String name,
boolean addToDb)
Deprecated. |
Methods in org.eclipse.datatools.modelbase.sql.query.helper with parameters of type QueryUpdateStatement | |
---|---|
static java.util.Set |
TableHelper.findColumnReferencesInQueryUpdateStatement(QueryUpdateStatement updateStmt)
Returns a Set containing all ValueExpressionColumn s found
in the given QueryUpdateStatement . |
Uses of QueryUpdateStatement in org.eclipse.datatools.modelbase.sql.query.util |
---|
Methods in org.eclipse.datatools.modelbase.sql.query.util with parameters of type QueryUpdateStatement | |
---|---|
java.lang.Object |
SQLQueryModelSwitch.caseQueryUpdateStatement(QueryUpdateStatement object)
Returns the result of interpreting the object as an instance of 'Query Update Statement'. |
Uses of QueryUpdateStatement in org.eclipse.datatools.sqltools.parsers.sql.query |
---|
Methods in org.eclipse.datatools.sqltools.parsers.sql.query that return QueryUpdateStatement | |
---|---|
QueryUpdateStatement |
SQLQueryParserFactory.createUpdateStatement(TableInDatabase aTargetTable,
TableCorrelation aAsTable,
java.util.List aAssignmentList,
QuerySearchCondition aWhereCond)
|
Uses of QueryUpdateStatement in org.eclipse.datatools.sqltools.sqlbuilder.model |
---|
Methods in org.eclipse.datatools.sqltools.sqlbuilder.model with parameters of type QueryUpdateStatement | |
---|---|
static void |
UpdateHelper.addColumn(QueryUpdateStatement statement,
Column column)
Creates an UpdateAssinmentExpression which contains the given Column and its default value, and adds it to the list of assignment expressions in the given update statement |
static void |
UpdateHelper.addColumn(QueryUpdateStatement statement,
ValueExpressionColumn valueExprCol,
QueryValueExpression valueExpr)
Creates an UpdateAssignmentExpression which contains the given ValueExpressionColumn and its QueryValueExpression and add it to the list of assignment expressions to the QueryUpdateStatement |
static void |
UpdateHelper.addColumns(QueryUpdateStatement statement,
java.util.List columns)
Creates an UpdateAssinmentExpression which contains the given list of Columns and their default values, and adds it to the list of assignment expressions in the given update statement |
static void |
UpdateHelper.clearAssignmentExprList(QueryUpdateStatement statement)
|
static void |
UpdateHelper.clearStatementContents(QueryUpdateStatement stmt)
Clears the contents of the given update statement.Containments which are objects, are set to null and containments which are lists, are cleared. |
static UpdateAssignmentExpression |
UpdateHelper.getAssignmentExprForColumn(QueryUpdateStatement statement,
ValueExpressionColumn column)
Returns the UpdateAssignmentExpression from the given update statement, which contains the given column |
static ValueExpressionColumn |
UpdateHelper.getColumnExpressionForName(QueryUpdateStatement statement,
java.lang.String columnName)
Looks for a ValueExpressionColumn in the list of assignment expressions in the given statement, with name same as the given name |
static java.util.List |
UpdateHelper.getTargetColumns(QueryUpdateStatement statement)
Returns the list of columns that the given update statement modifies |
static QueryValueExpression |
UpdateHelper.getValueForColumn(QueryUpdateStatement statement,
ValueExpressionColumn column)
Gets a QueryValueExpression in a statement corresponding to the given column |
static void |
UpdateHelper.refresh(QueryUpdateStatement stmt)
Refreshes the model that ultimately refreseh the UI, this is temporary. |
static void |
UpdateHelper.removeColumn(QueryUpdateStatement statement,
Column column)
This is a wrapper method around removeColumn(QueryUpdateStatement statement,ValueExpressionColumn column) in this class |
static void |
UpdateHelper.removeColumn(QueryUpdateStatement statement,
ValueExpressionColumn column)
Removes the given ValueExpressionColumn from the UpdateAssignmentExpression containing it, in the given update statement.If the removed column is the only column in the target column list of the assignment expression then UpdateAssignmentExpression is removed from the list of assignment expressions in the update statement |
static void |
UpdateHelper.removeTableFromStatement(QueryUpdateStatement statement)
Removes sets the target table of the given Update statement to null |
static void |
UpdateHelper.replaceStatementContents(QueryUpdateStatement oldStmt,
QueryUpdateStatement newStmt)
Replaces the containments in one update statement with the containments in another update statement |
static void |
UpdateHelper.setTargetTable(QueryUpdateStatement statement,
TableInDatabase targetTable)
Sets the target TableExpression of the given Update statement |
Uses of QueryUpdateStatement in org.eclipse.datatools.sqltools.sqlbuilder.views.update |
---|
Methods in org.eclipse.datatools.sqltools.sqlbuilder.views.update that return QueryUpdateStatement | |
---|---|
QueryUpdateStatement |
UpdateTreeElement.getUpdateStatement()
|
Constructors in org.eclipse.datatools.sqltools.sqlbuilder.views.update with parameters of type QueryUpdateStatement | |
---|---|
UpdateTreeElement(QueryUpdateStatement update,
UpdateSource updateSrc,
ValueExpressionColumn col,
SQLQueryObject valueSource,
SQLDomainModel domainModel,
boolean hasChildren)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |