|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of QueryStatement in org.eclipse.datatools.modelbase.sql.query |
---|
Subinterfaces of QueryStatement in org.eclipse.datatools.modelbase.sql.query | |
---|---|
interface |
QueryChangeStatement
A representation of the model object 'Change Statement'. |
interface |
QueryDeleteStatement
A representation of the model object 'SQL Delete Statement'. |
interface |
QueryInsertStatement
A representation of the model object 'SQL Insert Statement'. |
interface |
QueryMergeStatement
A representation of the model object 'SQL Merge Statement'. |
interface |
QuerySelectStatement
A representation of the model object 'SQL Select Statement'. |
interface |
QueryUpdateStatement
A representation of the model object 'SQL Update Statement'. |
Uses of QueryStatement in org.eclipse.datatools.modelbase.sql.query.helper |
---|
Methods in org.eclipse.datatools.modelbase.sql.query.helper that return QueryStatement | |
---|---|
static QueryStatement |
StatementHelper.createQueryStatement(int stmtType,
java.lang.String stmtName)
Creates a statement of the given type with the given name. |
static QueryStatement |
StatementHelper.getQueryStatementForTableReference(TableReference tableRef)
Returns the QueryStatement associated with the given
tableRef . |
Methods in org.eclipse.datatools.modelbase.sql.query.helper with parameters of type QueryStatement | |
---|---|
static java.lang.String |
TableHelper.createFromClauseForStatement(QueryStatement stmt)
Creates the From Clause with the tables used in the given SQLStatement. |
static java.util.List |
StatementHelper.getAllParameterMarkersInQueryStatement(QueryStatement queryStmt)
Gets all the parameter marker-type ("?") variables in the given query statement. |
static java.util.List |
StatementHelper.getAllVariablesInQueryStatement(QueryStatement queryStmt)
Returns all ValueExpressionVariables contained in the
given QueryStatement . |
static java.util.List |
StatementHelper.getAllVariablesInQueryStatement(QueryStatement queryStmt,
boolean nameParameterMarkers)
Returns all ValueExpressionVariables contained in the
given QueryStatement . |
static java.util.List |
StatementHelper.getAllVariablesInQueryStatement(QueryStatement queryStmt,
boolean nameParameterMarkers,
java.lang.String varStem)
Returns all ValueExpressionVariables contained in the
given QueryStatement . |
static java.util.List |
StatementHelper.getAllVariablesInQueryStatement(QueryStatement queryStmt,
java.lang.String varStem)
Returns all ValueExpressionVariables contained in the
given QueryStatement . |
static Database |
StatementHelper.getDatabase(QueryStatement stmt)
Returns the Database for which SQL Statement is associated with. |
static QuerySearchCondition |
StatementHelper.getHavingCondition(QueryStatement stmt)
Returns "Having" clause for the given statement. |
static QuerySearchCondition |
StatementHelper.getSearchCondition(QueryStatement stmt)
Returns QuerySearchCondition for the given statement. |
static int |
StatementHelper.getStatementType(QueryStatement statement)
Returns the integer constant defined in this class, that represents the given QueryStatement |
static java.util.List |
StatementHelper.getTablesForStatement(QueryStatement stmt)
Returns List of tables ( TableExpression ) referenced in
the statement. |
static void |
DatabaseHelper.resolveTableReferenceRDBTables(QueryStatement aSQLStmt,
Database aDatabase,
java.lang.String aDefaultSchemaName)
Deprecated. table reference resolving is now done by post parse processer, use org.eclipse.datatools.modelbase.parsers.sql.query.postparse.TableReferenceResolver
with org.eclipse.datatools.modelbase.parsers.sql.query.SQLQueryParserManager |
static void |
StatementHelper.setHavingClauseForStatement(QuerySearchCondition newSearchCon,
QueryStatement statement)
Sets the having clause in the given sql statement. |
static void |
StatementHelper.setWhereClauseForStatement(QuerySearchCondition newSearchCon,
QueryStatement statement)
Sets the where clause in the given sql statement. |
Uses of QueryStatement in org.eclipse.datatools.modelbase.sql.query.util |
---|
Methods in org.eclipse.datatools.modelbase.sql.query.util with parameters of type QueryStatement | |
---|---|
java.lang.Object |
SQLQueryModelSwitch.caseQueryStatement(QueryStatement object)
Returns the result of interpreting the object as an instance of 'Query Statement'. |
Uses of QueryStatement in org.eclipse.datatools.sqltools.parsers.sql |
---|
Methods in org.eclipse.datatools.sqltools.parsers.sql that return QueryStatement | |
---|---|
QueryStatement |
SQLParserManager.checkSyntax(java.lang.String stmt)
Parses the given String representation of a SQL statement and returns an instance of the @link SQLQueryObject model
(QueryStatement ) which will have no references and contain no
structural information about the given SQL statement. |
Uses of QueryStatement in org.eclipse.datatools.sqltools.parsers.sql.query |
---|
Methods in org.eclipse.datatools.sqltools.parsers.sql.query that return QueryStatement | |
---|---|
QueryStatement |
SQLQueryParserManager.checkSyntaxQuery(java.lang.String stmt)
Convenience proxy method for SQLParserManager.checkSyntax(String)
casting the returned SQLStatement to
QueryStatement . |
QueryStatement |
SQLQueryParseResult.getQueryStatement()
|
Methods in org.eclipse.datatools.sqltools.parsers.sql.query with parameters of type QueryStatement | |
---|---|
void |
SQLQueryParseResult.setQueryStatement(QueryStatement query)
|
Constructors in org.eclipse.datatools.sqltools.parsers.sql.query with parameters of type QueryStatement | |
---|---|
SQLQueryParseResult(QueryStatement query,
java.util.List errorList)
|
Uses of QueryStatement in org.eclipse.datatools.sqltools.sqlbuilder.expressionbuilder |
---|
Methods in org.eclipse.datatools.sqltools.sqlbuilder.expressionbuilder with parameters of type QueryStatement | |
---|---|
void |
ExpressionBuilderWizard.setSQLStatement(QueryStatement sqlStatementArg)
|
Constructors in org.eclipse.datatools.sqltools.sqlbuilder.expressionbuilder with parameters of type QueryStatement | |
---|---|
ExpressionsComboBoxCellEditor(org.eclipse.swt.widgets.Composite parent,
QueryStatement sqlStmt)
|
|
ExpressionsComboBoxCellEditor(org.eclipse.swt.widgets.Composite parent,
QueryStatement sqlStmt,
java.util.Vector firstItems)
|
Uses of QueryStatement in org.eclipse.datatools.sqltools.sqlbuilder.expressionbuilder.constant |
---|
Constructors in org.eclipse.datatools.sqltools.sqlbuilder.expressionbuilder.constant with parameters of type QueryStatement | |
---|---|
ConstantExpressionWizard(QueryStatement sqlStatementArg,
QueryValueExpression sqlExpr)
|
|
StringConstantBuilderPage(QueryStatement sqlStatementArg,
QueryValueExpression sqlExpr)
|
Uses of QueryStatement in org.eclipse.datatools.sqltools.sqlbuilder.model |
---|
Methods in org.eclipse.datatools.sqltools.sqlbuilder.model that return QueryStatement | |
---|---|
QueryStatement |
SQLDomainModel.getDefaultStatementFromSQL(java.lang.String sql,
java.lang.String statementName)
Gets a default SQL statement object based on the given SQL string. |
QueryStatement |
SQLDomainModel.getDefaultStatementFromStatementType(int statementType,
java.lang.String statementName)
Gets a default SQL statement object based on the given statement type. |
QueryStatement |
SQLDomainModel.getSQLStatement()
Gets the current query statement. |
QueryStatement |
SQLDomainModel.parse(java.lang.String sqlStr)
Parses string SQL statement passed and returns the QueryStatement object. |
QueryStatement |
SQLDomainModel.parse(java.lang.String sqlStr,
boolean createObjectTree)
Parses string SQL statement passed and returns the QueryStatement object.If createObjectTree is false then parser is called for only a syntax check and only the toplevel statement object is constructed If parse fails it returns null. |
QueryStatement |
SQLDomainModel.parse(java.lang.String sqlStr,
java.util.List errorList)
Parses string SQL statement passed and returns the QueryStatement object. |
Methods in org.eclipse.datatools.sqltools.sqlbuilder.model with parameters of type QueryStatement | |
---|---|
ValueExpressionScalarSelect |
ExpressionHelper.createScalarSelect(QueryStatement stmt)
Creates a subquery statement expression |
void |
SQLDomainModel.replaceStatementContents(QueryStatement newStmt)
Replaces the content of the current statement with the content of the given statement without replacing the current statement object itself. |
void |
SQLDomainModel.setSQLStatement(QueryStatement query)
Sets the current query statement. |
Constructors in org.eclipse.datatools.sqltools.sqlbuilder.model with parameters of type QueryStatement | |
---|---|
SQLDomainModel(QueryStatement aStatement,
Database aDatabase)
Constructs an instance of this class with the given initial query statement and database. |
Uses of QueryStatement in org.eclipse.datatools.sqltools.sqlbuilder.util |
---|
Methods in org.eclipse.datatools.sqltools.sqlbuilder.util that return QueryStatement | |
---|---|
static QueryStatement |
SQLParserUtil.parseForDifferentDialect(SQLBuilderEditorInput editorInput,
SQLDomainModel domainModel)
This method parses the editorinput's SQL statement according to the dialect specified in the editorinput's SQLDialectInfo, but using the PostParseProcessorConfiguration associated with the domainModel passed. |
Methods in org.eclipse.datatools.sqltools.sqlbuilder.util with parameters of type QueryStatement | |
---|---|
static java.lang.String |
SQLParserUtil.generateSQL(QueryStatement sqlStatement,
SQLBuilderEditorInput editorInput)
|
static org.eclipse.core.resources.IFile |
WorkbenchUtility.saveStatementAsSQLFileResource(QueryStatement statement,
java.lang.String projectName)
Saves the given SQL statement as a file resource in the given project. |
Uses of QueryStatement in org.eclipse.datatools.sqltools.sqlbuilder.views |
---|
Methods in org.eclipse.datatools.sqltools.sqlbuilder.views with parameters of type QueryStatement | |
---|---|
static java.lang.Object |
BuilderUtility.getColumnItems(QueryStatement sqlStatement,
boolean enableExprBuilder,
boolean existsExpression)
|
Uses of QueryStatement in org.eclipse.datatools.sqltools.sqlbuilder.views.execute |
---|
Methods in org.eclipse.datatools.sqltools.sqlbuilder.views.execute that return QueryStatement | |
---|---|
QueryStatement |
ExecuteViewer.getElement()
|
Methods in org.eclipse.datatools.sqltools.sqlbuilder.views.execute with parameters of type QueryStatement | |
---|---|
void |
ExecuteViewer.setElement(QueryStatement newElement)
|
Constructors in org.eclipse.datatools.sqltools.sqlbuilder.views.execute with parameters of type QueryStatement | |
---|---|
ParameterMarkers(QueryStatement sqlStatement)
|
Uses of QueryStatement in org.eclipse.datatools.sqltools.sqlbuilder.views.graph.editparts |
---|
Constructors in org.eclipse.datatools.sqltools.sqlbuilder.views.graph.editparts with parameters of type QueryStatement | |
---|---|
ColumnEditPart.MyCheckBox(QueryStatement stmt)
|
Uses of QueryStatement in org.eclipse.datatools.sqltools.sqlbuilder.views.select |
---|
Methods in org.eclipse.datatools.sqltools.sqlbuilder.views.select that return QueryStatement | |
---|---|
QueryStatement |
SelectGridViewer.getCurrentStatement()
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |