|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
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 |
ValueExpressionColumn.getTableExpr()
Returns the value of the 'Table Expr' reference. |
TableExpression |
ResultTableAllColumns.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 |
ValueExpressionColumn.setTableExpr(TableExpression value)
Sets the value of the ' Table Expr ' reference. |
void |
ResultTableAllColumns.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 TableExpression s 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 TableExpression s 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
ValueExpressionColumn s, 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.impl |
---|
Classes in org.eclipse.datatools.modelbase.sql.query.impl that implement TableExpression | |
---|---|
class |
QueryCombinedImpl
An implementation of the model object 'Combined'. |
class |
QueryExpressionBodyImpl
An implementation of the model object 'Expression Body'. |
class |
QueryNestedImpl
An implementation of the model object 'Query Nested'. |
class |
QuerySelectImpl
An implementation of the model object 'Select'. |
class |
QueryValuesImpl
An implementation of the model object 'Values'. |
class |
TableExpressionImpl
An implementation of the model object 'SQL Table Expression'. |
class |
TableFunctionImpl
An implementation of the model object 'SQL Table Function'. |
class |
TableInDatabaseImpl
An implementation of the model object 'SQLRDB Table'. |
class |
WithTableReferenceImpl
An implementation of the model object 'With Table Reference'. |
Methods in org.eclipse.datatools.modelbase.sql.query.impl that return TableExpression | |
---|---|
TableExpression |
ResultTableAllColumnsImpl.basicGetTableExpr()
|
TableExpression |
ValueExpressionColumnImpl.basicGetTableExpr()
|
TableExpression |
ValueExpressionColumnImpl.getParentTableExpr()
|
TableExpression |
ResultTableAllColumnsImpl.getTableExpr()
|
TableExpression |
TableCorrelationImpl.getTableExpr()
|
TableExpression |
ValueExpressionColumnImpl.getTableExpr()
|
Methods in org.eclipse.datatools.modelbase.sql.query.impl with parameters of type TableExpression | |
---|---|
NotificationChain |
ValueExpressionColumnImpl.basicSetParentTableExpr(TableExpression newParentTableExpr,
NotificationChain msgs)
|
NotificationChain |
ResultTableAllColumnsImpl.basicSetTableExpr(TableExpression newTableExpr,
NotificationChain msgs)
|
NotificationChain |
TableCorrelationImpl.basicSetTableExpr(TableExpression newTableExpr,
NotificationChain msgs)
|
NotificationChain |
ValueExpressionColumnImpl.basicSetTableExpr(TableExpression newTableExpr,
NotificationChain msgs)
|
void |
ValueExpressionColumnImpl.setParentTableExpr(TableExpression newParentTableExpr)
|
void |
ResultTableAllColumnsImpl.setTableExpr(TableExpression newTableExpr)
|
void |
TableCorrelationImpl.setTableExpr(TableExpression newTableExpr)
|
void |
ValueExpressionColumnImpl.setTableExpr(TableExpression newTableExpr)
|
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.impl |
---|
Classes in org.eclipse.datatools.modelbase.sql.xml.query.impl that implement TableExpression | |
---|---|
class |
XMLTableFunctionImpl
An implementation 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 interpretting the object as an instance of 'Table Expression'. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |