Uses of Interface
org.eclipse.datatools.modelbase.sql.query.TableExpression

Packages that use TableExpression
org.eclipse.datatools.modelbase.sql.query   
org.eclipse.datatools.modelbase.sql.query.helper   
org.eclipse.datatools.modelbase.sql.query.util   
org.eclipse.datatools.modelbase.sql.xml.query   
org.eclipse.datatools.modelbase.sql.xml.query.util   
org.eclipse.datatools.sqltools.parsers.sql.query   
org.eclipse.datatools.sqltools.sqlbuilder.actions   
org.eclipse.datatools.sqltools.sqlbuilder.dialogs   
org.eclipse.datatools.sqltools.sqlbuilder.model   
org.eclipse.datatools.sqltools.sqlbuilder.views.graph.commands   
org.eclipse.datatools.sqltools.sqlbuilder.views.graph.editparts   
 

Uses of TableExpression in org.eclipse.datatools.modelbase.sql.query
 

Subinterfaces of TableExpression in org.eclipse.datatools.modelbase.sql.query
 interface QueryCombined
          A representation of the model object 'Combined'.
 interface QueryExpressionBody
          A representation of the model object 'Expression Body'.
 interface QueryNested
          A representation of the model object 'Query Nested'.
 interface QuerySelect
          A representation of the model object 'Select'.
 interface QueryValues
          A representation of the model object 'Values'.
 interface TableFunction
          A representation of the model object 'SQL Table Function'.
 interface TableInDatabase
          A representation of the model object 'SQLRDB Table'.
 interface WithTableReference
          A representation of the model object 'With Table Reference'.
 

Methods in org.eclipse.datatools.modelbase.sql.query that return TableExpression
 TableExpression ValueExpressionColumn.getParentTableExpr()
          Returns the value of the 'Parent Table Expr' container reference.
 TableExpression TableCorrelation.getTableExpr()
          Returns the value of the 'Table Expr' container reference.
 TableExpression ResultTableAllColumns.getTableExpr()
          Returns the value of the 'Table Expr' reference.
 TableExpression MergeTargetTable.getTableExpr()
          Returns the value of the 'Table Expr' containment reference.
 TableExpression ValueExpressionColumn.getTableExpr()
          Returns the value of the 'Table Expr' reference.
 

Methods in org.eclipse.datatools.modelbase.sql.query with parameters of type TableExpression
 void ValueExpressionColumn.setParentTableExpr(TableExpression value)
          Sets the value of the 'Parent Table Expr' container reference.
 void TableCorrelation.setTableExpr(TableExpression value)
          Sets the value of the 'Table Expr' container reference.
 void ResultTableAllColumns.setTableExpr(TableExpression value)
          Sets the value of the 'Table Expr' reference.
 void MergeTargetTable.setTableExpr(TableExpression value)
          Sets the value of the 'Table Expr' containment reference.
 void ValueExpressionColumn.setTableExpr(TableExpression value)
          Sets the value of the 'Table Expr' reference.
 

Uses of TableExpression in org.eclipse.datatools.modelbase.sql.query.helper
 

Methods in org.eclipse.datatools.modelbase.sql.query.helper that return TableExpression
static TableExpression TableHelper.findTableExpressionInTableExpressionList(java.lang.String schemaName, java.lang.String tableName, java.util.List tableExprList)
          Finds in the given List of TableExpressions the one TableExpression with a name that matches the given tableName and, if a schemaName is given, with a Schema whose name matches the schemaName.
static TableExpression TableHelper.findTableExpressionsByNameOrAlias(java.lang.String tableNameOrAlias, java.util.List tableExprList, java.lang.String defaultSchemaName)
          Finds in the given List of TableExpressions the TableExpression with a name that matches the given tableNameOrAlias or a tableCorrelation with a name that matches tableNameOrAlias.
static TableExpression TableHelper.getTableExpressionForNamedColumn(java.lang.String aTableName, java.lang.String aColName, java.util.List aTableExprList)
          Gets the table object from the given list of table references that is associated with (contains) a column with the given table and column name.
static TableExpression StatementHelper.getTableExpressionForTable(Table table, QuerySelect qSelect)
          Returns the TableExpression representing the given Table object,in the given QuerySelect
static TableExpression StatementHelper.getTableExpressionForTable(Table table, QuerySelectStatement selectStmt)
          Returns the TableExpression representing the given Table object,in the given QuerySelectStatement
static TableExpression TableHelper.getTableExpressionFromTableExprList(java.lang.String aTableName, java.util.List aTableExprList)
          Gets the TableExpression object from the given list of table references by name or correlation name ("AS"-alias).
 

Methods in org.eclipse.datatools.modelbase.sql.query.helper with parameters of type TableExpression
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.conditionContainsTable(QuerySearchCondition condition, TableExpression table)
          Checks to see if the given SQLSearchCondition (ON clause) contains the given table.
static java.util.List TableHelper.exposeEffectiveResultColumns(TableExpression tableExpr)
          Populates the given tableExpr's columnList with ValueExpressionColumns, with name, dataType and in ordering, so the given tableExpr can be handled like a TableInDatabase.
static TableJoined JoinHelper.findClosestContainingJoin(TableExpression joinSource, TableExpression joinTarget)
          Finds and returns the closest enclosing join containing both the given source and target tables, working from the leafs of the join tree to the root.
static java.util.List JoinHelper.findConditionsContainingTable(QuerySearchCondition cond, TableExpression table)
          Finds and returns the individual conditions (predicates) in the given QuerySearchCondition (ON clause) that contain references to the given table.
static java.util.List JoinHelper.findJoinsWithTableInCondition(TableExpression table, TableJoined join)
          Searches upwards in the join tree to see if the given table exists in any of the conditions in the joins.
static TableReference JoinHelper.findOutermostContainingJoin(java.util.List fromClause, TableExpression targetTable)
          Finds and returns the outermost table reference in the From clause that contains the given table.
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.getColumnExpressionForNameRecursively(TableExpression tableExpr, java.lang.String columnName)
          Returns the ValueExpressionColumn from the given TableExpression, if the ValueExpressionColumn's name matches the given columnName.
static Column TableHelper.getColumnForColumnExpression(TableExpression tableExpr, ValueExpressionColumn colExpr)
          Returns the Column matching the name of the SQLValueExpressionColumn from the given SQLTableExpression.
static java.lang.String TableHelper.getExposedTableName(TableExpression tableExpr)
          Returns the name or the alias name of the given TableExpression tableExpr depending on, whether or not the tableExpr has a TableCorrelation.
static java.util.List JoinHelper.getLeftJoinsForTable(TableExpression tableExpr)
          Returns a list of TableJoined objects of which the given TableExpression is the left side.
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.
static QuerySelect StatementHelper.getQuerySelectForTableReference(TableExpression tableExpr)
          Returns the QuerySelect that contains the given tableExpr in its fromClause.
static java.util.List JoinHelper.getRightJoinsForTable(TableExpression tableExpr)
          Returns a list of TableJoined objects of which the given TableExpression is the right side.
static java.lang.String TableHelper.getSchemaNameForTableExpression(TableExpression tableExpr)
          Returns the name of the Schema that the given TableExpression is part of or null, if the given TableExpression has no reference to a Schema or the referenced Schema's name is null.
static Table TableHelper.getTableForTableExpression(TableExpression tableExpr)
          Returns the Table from the given SQLTableExpression if there is one otherwise return null.
static boolean StatementHelper.isTableNameAmbiguous(TableExpression tableExpr)
          Returns true if the given tableExpr's name is not unique within the fromClause of its containing QuerySelect and the other TableExpression s in the fromClause as well as the given TableExpression have no TableCorrelation to distinguish between them.
static boolean TableHelper.isTableReferencedByColumnWithName(TableExpression tableExpr, java.lang.String referencedByColumnName)
          Returns the true if the given tableExpr is referenced by another ValueExpressionColumn with the same name as the given referencedByColumnName
static void JoinHelper.removeJoinsForTable(java.util.List fromClause, TableExpression table)
          Removes any joins from the FROM clause list that contain or reference the given table.
static void StatementHelper.removeTableExpressionFromQueryStatement(TableExpression tableExpr, SQLQueryObject queryObj)
          Removes the given TableExpression from the given SQLQueryObject.
static WithTableReference StatementHelper.resolveWithTableSpecificationReference(TableExpression potentialWithTableRef)
          Substitutes the given TableReference with the WithTableSpecification that is refered by the given potentialTableWithRef's name, if a TableWithSpecification is found in the QueryExpressionRoot that contains the given TableReference.
static void TableHelper.setTableAliasInTableExpression(TableExpression tableExpr, java.lang.String alias)
          Assigns the alias to the given TableExpression.
 

Uses of TableExpression in org.eclipse.datatools.modelbase.sql.query.util
 

Methods in org.eclipse.datatools.modelbase.sql.query.util with parameters of type TableExpression
 java.lang.Object SQLQueryModelSwitch.caseTableExpression(TableExpression object)
          Returns the result of interpreting the object as an instance of 'Table Expression'.
 

Uses of TableExpression in org.eclipse.datatools.modelbase.sql.xml.query
 

Subinterfaces of TableExpression in org.eclipse.datatools.modelbase.sql.xml.query
 interface XMLTableFunction
          A representation of the model object 'XML Table Function'.
 

Uses of TableExpression in org.eclipse.datatools.modelbase.sql.xml.query.util
 

Methods in org.eclipse.datatools.modelbase.sql.xml.query.util with parameters of type TableExpression
 java.lang.Object SQLXMLQueryModelSwitch.caseTableExpression(TableExpression object)
          Returns the result of interpreting the object as an instance of 'Table Expression'.
 

Uses of TableExpression in org.eclipse.datatools.sqltools.parsers.sql.query
 

Methods in org.eclipse.datatools.sqltools.parsers.sql.query that return TableExpression
 TableExpression SQLQueryParserFactory.addTableCorrelationToTableExpression(TableExpression tableExpr, TableCorrelation tableCorrelation)
          Adds the given tableCorrelation to the given tableExpr.
 TableExpression SQLQueryParserFactory.createReferenceTable(java.lang.String aSchemaName, java.lang.String aTableName, java.lang.String aCorrName)
          Deprecated. use SQLQueryParserFactory.createReferenceTable(String, String, TableCorrelation)
 TableExpression SQLQueryParserFactory.createReferenceTable(java.lang.String aSchemaName, java.lang.String aTableName, TableCorrelation aTableCorr)
           
 TableExpression SQLQueryParserFactory.createTableExpressionQuery(QueryExpressionBody aSubquery, java.lang.String aCorrName)
          Deprecated. use SQLQueryParserFactory.createTableExpressionQuery(QueryExpressionBody, TableCorrelation)
 TableExpression SQLQueryParserFactory.createTableExpressionQuery(QueryExpressionBody aSubquery, TableCorrelation aTableCorr)
           
 

Methods in org.eclipse.datatools.sqltools.parsers.sql.query with parameters of type TableExpression
 TableExpression SQLQueryParserFactory.addTableCorrelationToTableExpression(TableExpression tableExpr, TableCorrelation tableCorrelation)
          Adds the given tableCorrelation to the given tableExpr.
 MergeTargetTable SQLQueryParserFactory.createMergeTargetTable(TableExpression aTableExpr, java.lang.String aTableAliasName)
           
 

Uses of TableExpression in org.eclipse.datatools.sqltools.sqlbuilder.actions
 

Methods in org.eclipse.datatools.sqltools.sqlbuilder.actions with parameters of type TableExpression
 void CreateJoinAction.setSourceTable(TableExpression table)
           
 void TableAliasAction.setTable(TableExpression table)
           
 

Uses of TableExpression in org.eclipse.datatools.sqltools.sqlbuilder.dialogs
 

Methods in org.eclipse.datatools.sqltools.sqlbuilder.dialogs that return TableExpression
 TableExpression SourceTargetDialog.getSourceTable()
           
 TableExpression SourceTargetDialog.getTargetTable()
           
 

Constructors in org.eclipse.datatools.sqltools.sqlbuilder.dialogs with parameters of type TableExpression
SourceTargetDialog(org.eclipse.swt.widgets.Shell shell, TableExpression srcTable, QuerySelect qSelect, SQLDomainModel domainModel)
           
 

Uses of TableExpression in org.eclipse.datatools.sqltools.sqlbuilder.model
 

Methods in org.eclipse.datatools.sqltools.sqlbuilder.model that return TableExpression
static TableExpression ExpressionHelper.getTableExprForValueExpressionColumn(ValueExpressionColumn colValExp)
          Returns the TableExpression for the given ValueExpressionColumn.
 

Methods in org.eclipse.datatools.sqltools.sqlbuilder.model with parameters of type TableExpression
static void SelectHelper.addTableToStatement(QuerySelectStatement stmt, TableExpression tableExpr)
          Adds the given table expression to list of tables for a select statement.
static void SelectHelper.addTableToStatement(QuerySelect qSelect, TableExpression tableExpr)
          Adds the given table expression to list of tables for a select statement.
static void SelectHelper.addTableToStatementAtPosition(SQLQueryObject stmt, TableExpression tableExpr, int position)
           
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 boolean SelectHelper.removeTableFromStatement(QuerySelectStatement stmt, TableExpression tableExpr)
          Removes the table from the given Select statement
 

Uses of TableExpression in org.eclipse.datatools.sqltools.sqlbuilder.views.graph.commands
 

Methods in org.eclipse.datatools.sqltools.sqlbuilder.views.graph.commands with parameters of type TableExpression
 void CreateJoinCommand.setSourceTable(TableExpression table)
           
 void CreateJoinCommand.setTargetTable(TableExpression table)
           
 

Uses of TableExpression in org.eclipse.datatools.sqltools.sqlbuilder.views.graph.editparts
 

Methods in org.eclipse.datatools.sqltools.sqlbuilder.views.graph.editparts that return TableExpression
 TableExpression JoinEditPart.getSourceTable()
           
 TableExpression JoinEditPart.getTargetTable()