|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of ValueExpressionColumn in org.eclipse.datatools.modelbase.sql.query |
---|
Methods in org.eclipse.datatools.modelbase.sql.query that return ValueExpressionColumn | |
---|---|
ValueExpressionColumn |
SQLQueryModelFactory.createValueExpressionColumn()
Returns a new object of class 'Value Expression Column'. |
Uses of ValueExpressionColumn in org.eclipse.datatools.modelbase.sql.query.helper |
---|
Methods in org.eclipse.datatools.modelbase.sql.query.helper that return ValueExpressionColumn | |
---|---|
static ValueExpressionColumn |
StatementHelper.createColumnExpression(java.lang.String name)
Create a new ValueExpressionColumn with the given name. |
static ValueExpressionColumn |
TableHelper.getColumnExpressionForColumn(TableExpression tableExpr,
Column column)
Gets the SQLValueExpressionColumn corresponding to the given Column, in the given table. |
static ValueExpressionColumn |
TableHelper.getColumnExpressionForName(TableExpression tableExpr,
java.lang.String columnName)
Returns the ValueExpressionColumn from the given
TableExpression , if the ValueExpressionColumn 's
name matches the given column name. |
static ValueExpressionColumn |
TableHelper.getColumnExpressionForName(TableReference tableRef,
java.lang.String columnName)
Returns the ValueExpressionColumn from the given
TableReference matching the given columnName . |
static ValueExpressionColumn |
TableHelper.getColumnExpressionForNameRecursively(TableExpression tableExpr,
java.lang.String columnName)
Returns the ValueExpressionColumn from the given
TableExpression , if the ValueExpressionColumn 's
name matches the given columnName . |
static ValueExpressionColumn |
TableHelper.getOrCreateColumnExpression(java.lang.String columnName,
TableExpression tableExpr)
Returns the ValueExpressionColumn with the given
columnName from the given tableExpression 's
columnList or, if the given tableExpression 's
columnList does not contain a
ValueExpressionColumn with the given columnName ,
creates a new ValueExpressionColumn with the given
columnName and returns it. |
Methods in org.eclipse.datatools.modelbase.sql.query.helper with parameters of type ValueExpressionColumn | |
---|---|
static TableJoined |
JoinHelper.addJoin(java.util.List fromClause,
TableExpression sourceTable,
TableExpression targetTable,
ValueExpressionColumn sourceColumn,
ValueExpressionColumn targetColumn,
int joinType)
Creates a new joined table or join condition containing the given join source and target objects, and updates the given FROM clause list. |
static int |
JoinHelper.checkJoin(java.util.List fromClause,
TableExpression sourceTable,
TableExpression targetTable,
ValueExpressionColumn sourceColumn,
ValueExpressionColumn targetColumn,
boolean isMove)
Checks whether or not a join between the given join source and target objects is valid. |
static boolean |
JoinHelper.checkJoinType(ValueExpressionColumn sourceColumn,
ValueExpressionColumn targetColumn)
Determines if source and target columns are of compatible type for joining. |
static ResultColumn |
StatementHelper.findResultColumnForColumnExpression(QuerySelect select,
ValueExpressionColumn columnExpr)
Returns null or the ResultColumn of the
given QuerySelect whose ValueExpression is
of type ValueExpressionColumn which in name
and tableExpr equals the given columnExpr . |
static Column |
TableHelper.getColumnForColumnExpression(TableExpression tableExpr,
ValueExpressionColumn colExpr)
Returns the Column matching the name of the SQLValueExpressionColumn from the given SQLTableExpression. |
static TableInDatabase |
StatementHelper.getDerivedDatabaseTable(ValueExpressionColumn columnExpr)
Returns the TableInDatabase that the given
columnExpr was derived from, if the given column is not
the result of an expression in the selectClause of a
QuerySelect or the result column of a
QueryValues . |
static boolean |
StatementHelper.isColumnNameAmbiguous(ValueExpressionColumn colExpr)
Returns true only if the name of the given column expression is equal to another column's name in a different table. |
static boolean |
TableHelper.isForeignKey(ValueExpressionColumn colExpr)
Returns true if the given ValueExpressionColumn is part of Foreign key constraint. |
static boolean |
TableHelper.isPrimaryKey(ValueExpressionColumn colExpr)
Returns true if the given ValueExpressionColumn is part of a primary key constraint. |
static void |
TableHelper.removeColumnExpressionFromTableIfNotReferenced(ValueExpressionColumn col)
Removes a columnExpression from its tableExpression if it has no other references to objects other than its tableExpression. |
static Column |
ValueExpressionHelper.resolveColumnFromValueExpression(ValueExpressionColumn aValExpr)
CHECK IMPLEMENTATION! CODE UNTESTED! Determine the Column that corresponds to this column expression if there is one that the given columnExpr is derived from. |
static void |
ValueExpressionHelper.resolveValueExpressionColumnDatatype(ValueExpressionColumn aValExpr)
CHECK IMPLEMENTATION! CODE UNTESTED! Tries to determine and set the datatype of the given column value expression. |
Uses of ValueExpressionColumn in org.eclipse.datatools.modelbase.sql.query.util |
---|
Methods in org.eclipse.datatools.modelbase.sql.query.util with parameters of type ValueExpressionColumn | |
---|---|
java.lang.Object |
SQLQueryModelSwitch.caseValueExpressionColumn(ValueExpressionColumn object)
Returns the result of interpreting the object as an instance of 'Value Expression Column'. |
Uses of ValueExpressionColumn in org.eclipse.datatools.sqltools.parsers.sql.query |
---|
Methods in org.eclipse.datatools.sqltools.parsers.sql.query that return ValueExpressionColumn | |
---|---|
ValueExpressionColumn |
SQLQueryParserFactory.createColumnExpression(java.lang.String aColumnName)
|
ValueExpressionColumn |
SQLQueryParserFactory.createColumnExpression(java.lang.String aColumnName,
java.lang.String aQualifier)
|
ValueExpressionColumn |
SQLQueryParserFactory.createColumnExpression(java.lang.String aColumnName,
java.lang.String aTableName,
java.lang.String aSchemaName)
if the same table name and same column name is referenced in two different schemas and the tables in the FROM-clause are not given an alias name e.g. |
Methods in org.eclipse.datatools.sqltools.parsers.sql.query with parameters of type ValueExpressionColumn | |
---|---|
java.util.List |
SQLQueryParserFactory.createColumnList(java.util.List aColumnNameList,
ValueExpressionColumn aColumnExpr)
|
UpdateAssignmentExpression |
SQLQueryParserFactory.createUpdateAssignmentExpression(ValueExpressionColumn aTargetCol,
QueryValueExpression aExpr)
|
Uses of ValueExpressionColumn in org.eclipse.datatools.sqltools.sqlbuilder.dialogs |
---|
Methods in org.eclipse.datatools.sqltools.sqlbuilder.dialogs that return ValueExpressionColumn | |
---|---|
ValueExpressionColumn |
SourceTargetDialog.getSourceColumn()
|
ValueExpressionColumn |
SourceTargetDialog.getTargetColumn()
|
Uses of ValueExpressionColumn in org.eclipse.datatools.sqltools.sqlbuilder.model |
---|
Methods in org.eclipse.datatools.sqltools.sqlbuilder.model that return ValueExpressionColumn | |
---|---|
static ValueExpressionColumn |
ExpressionHelper.createColumnExpression(TableExpression table,
Column col)
Creates a SQLColumnExpression for the given table and column. |
static ValueExpressionColumn |
ExpressionHelper.createValueExpressionColumn(java.lang.String name,
TableExpression tblExpr)
Builds a ValueExpressionColumn object and sets the given name and TableExpression. |
static ValueExpressionColumn |
ExpressionHelper.createValueExpressionColumn(ValueExpressionColumn oldValExpr)
Builds a ValueExpressionColumn object from the given ValueExpressionColumn. |
static ValueExpressionColumn |
InsertHelper.getColumnExpressionForName(QueryInsertStatement insertStmt,
java.lang.String columnName)
Returns the SQLValueExpressionColumn in the givern insert statement, which has the given name. |
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 ValueExpressionColumn |
SelectHelper.getSelectColumnFromColumnName(SQLQueryObject selectStmt,
java.lang.String columnName)
Looks for a ValueExpressionColumn in the list of assignment select columns in the given statement, with name same as the given name |
Methods in org.eclipse.datatools.sqltools.sqlbuilder.model with parameters of type ValueExpressionColumn | |
---|---|
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 |
InsertHelper.addInsertColumnValuePair(QueryInsertStatement insertStmt,
ValueExpressionColumn column,
QueryValueExpression valueExpr)
Adds the given column and value to the given insert statement. |
static void |
UpdateHelper.createUpdateSourceExpressionList(UpdateAssignmentExpression assignExpr,
ValueExpressionColumn column,
QueryValueExpression valueExpr)
Creates an UpdateSourceExpressionList which contains the given QueryValueExpression for the given column and adds it to the given AssignmentExpression |
static ValueExpressionColumn |
ExpressionHelper.createValueExpressionColumn(ValueExpressionColumn oldValExpr)
Builds a ValueExpressionColumn object from the given ValueExpressionColumn. |
static UpdateAssignmentExpression |
UpdateHelper.getAssignmentExprForColumn(QueryUpdateStatement statement,
ValueExpressionColumn column)
Returns the UpdateAssignmentExpression from the given update statement, which contains the given column |
static QueryValueExpression |
InsertHelper.getInsertValueforColumn(QueryInsertStatement insertStmt,
ValueExpressionColumn colExpr)
Returns the SQLValueExpression from the first row of insert values in the given statement, corresponding to the given column, |
static TableExpression |
ExpressionHelper.getTableExprForValueExpressionColumn(ValueExpressionColumn colValExp)
Returns the TableExpression for the given ValueExpressionColumn. |
static QueryValueExpression |
UpdateHelper.getValueForColumn(QueryUpdateStatement statement,
ValueExpressionColumn column)
Gets a QueryValueExpression in a statement corresponding to the given column |
static boolean |
SelectHelper.isResultColumn(QuerySelect qSelect,
ValueExpressionColumn resColExpr)
Returns true if the give ValueExpression is part of the given query select's result columns. |
static boolean |
SelectHelper.isResultColumn(SQLQueryObject selectStmt,
ValueExpressionColumn resColExpr)
Returns true if the give ValueExpression is part of the given select statement's result columns. |
static void |
InsertHelper.removeColumn(QueryInsertStatement statement,
ValueExpressionColumn removedColumn)
Removes the given ValueExpressionColumn and its value from the given insert statement |
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 |
InsertHelper.replaceColumn(QueryInsertStatement insertStmt,
ValueExpressionColumn oldColumn,
ValueExpressionColumn newColumn)
Replaces an existing column in the insert statement with a new column. |
static void |
UpdateHelper.setValueForColumn(UpdateSourceExprList source,
ValueExpressionColumn column,
QueryValueExpression value)
Updates the value of the given column in the given UpdatesourceExpressionList |
static void |
InsertHelper.updateInsertValueForColumn(QueryInsertStatement insertStmt,
ValueExpressionColumn column,
QueryValueExpression valueExpr)
Updates the insert value of the column in the given insert statement. |
Uses of ValueExpressionColumn in org.eclipse.datatools.sqltools.sqlbuilder.views.graph.commands |
---|
Methods in org.eclipse.datatools.sqltools.sqlbuilder.views.graph.commands with parameters of type ValueExpressionColumn | |
---|---|
void |
CreateJoinCommand.setSourceColumn(ValueExpressionColumn column)
|
void |
CreateJoinCommand.setTargetColumn(ValueExpressionColumn column)
|
Uses of ValueExpressionColumn in org.eclipse.datatools.sqltools.sqlbuilder.views.graph.editparts |
---|
Methods in org.eclipse.datatools.sqltools.sqlbuilder.views.graph.editparts that return ValueExpressionColumn | |
---|---|
ValueExpressionColumn |
JoinEditPart.getSourceColumn()
|
ValueExpressionColumn |
JoinEditPart.getTargetColumn()
|
Uses of ValueExpressionColumn in org.eclipse.datatools.sqltools.sqlbuilder.views.insert |
---|
Methods in org.eclipse.datatools.sqltools.sqlbuilder.views.insert that return ValueExpressionColumn | |
---|---|
ValueExpressionColumn |
InsertTableElement.getColumn()
|
Constructors in org.eclipse.datatools.sqltools.sqlbuilder.views.insert with parameters of type ValueExpressionColumn | |
---|---|
InsertTableElement(SQLDomainModel model,
QueryInsertStatement statement,
ValueExpressionColumn column,
QueryValueExpression value)
|
Uses of ValueExpressionColumn in org.eclipse.datatools.sqltools.sqlbuilder.views.update |
---|
Methods in org.eclipse.datatools.sqltools.sqlbuilder.views.update that return ValueExpressionColumn | |
---|---|
ValueExpressionColumn |
UpdateTreeElement.getRDBColumn()
|
Constructors in org.eclipse.datatools.sqltools.sqlbuilder.views.update with parameters of type ValueExpressionColumn | |
---|---|
UpdateTreeElement(QueryUpdateStatement update,
UpdateSource updateSrc,
ValueExpressionColumn col,
SQLQueryObject valueSource,
SQLDomainModel domainModel,
boolean hasChildren)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |