| Package | Description |
|---|---|
| org.mule.db.commons.internal.domain.query | |
| org.mule.db.commons.internal.operation | |
| org.mule.db.commons.internal.parser.statement.detector |
| Modifier and Type | Method and Description |
|---|---|
QueryType |
QueryTemplate.getType()
Returns the type of SQL query.
|
static QueryType |
QueryType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryType[] |
QueryType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
QueryTemplate(String sqlText,
QueryType type,
List<QueryParam> params)
Creates a static SQL query template.
|
QueryTemplate(String sqlText,
QueryType type,
List<QueryParam> params,
boolean dynamic)
Creates a SQL query template.
|
| Modifier and Type | Method and Description |
|---|---|
protected Query |
BulkOperations.resolveQuery(BulkQueryDefinition query,
AbstractDbConnector connector,
DbConnection connection,
org.mule.runtime.extension.api.runtime.streaming.StreamingHelper streamingHelper,
QueryType... validTypes) |
protected Query |
BaseDbOperations.resolveQuery(ParameterizedStatementDefinition<?> query,
AbstractDbConnector connector,
DbConnection connection,
org.mule.runtime.extension.api.runtime.streaming.StreamingHelper streamingHelper,
QueryType... validTypes) |
protected Query |
DmlOperations.resolveQuery(StoredProcedureCall call,
AbstractDbConnector connector,
DbConnection connection,
org.mule.runtime.extension.api.runtime.streaming.StreamingHelper streamingHelper,
QueryType... validTypes) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
BaseDbOperations.validateQueryType(QueryTemplate queryTemplate,
List<QueryType> validTypes) |
| Modifier and Type | Field and Description |
|---|---|
protected QueryType |
AbstractStatementTypeDetector.QUERY_TYPE |
| Modifier and Type | Method and Description |
|---|---|
QueryType |
StatementTypeDetector.detect(String sql)
Detects the Statement Type (QueryType) given a SQL String.
|
QueryType |
AbstractStatementTypeDetector.getType()
Gets the QueryType that this detector detects.
|
| Constructor and Description |
|---|
AbstractStatementTypeDetector(QueryType detectsQueryType,
String detectionRegex) |
Copyright © 2024. All rights reserved.