public class ParsedSql extends java.lang.Object implements DbSqlGenerator
DbSqlBuilder.parse()| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<java.lang.String,ColumnData> |
columnData |
protected java.lang.String |
generatedQuery |
protected java.lang.String[] |
joinHints |
protected java.util.Map<java.lang.String,ParameterValue> |
queryParameters |
| Constructor and Description |
|---|
ParsedSql(DbSqlGenerator dbSqlGenerator) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
generateQuery()
Generates SQL query.
|
java.util.Map<java.lang.String,ColumnData> |
getColumnData()
Returns an optional map of table and column names, used by
ResultSetMapper. |
java.lang.String[] |
getJoinHints()
Returns join hints.
|
java.util.Map<java.lang.String,ParameterValue> |
getQueryParameters()
Returns a map of SQL parameters used by generated query.
|
protected final java.lang.String generatedQuery
protected final java.util.Map<java.lang.String,ParameterValue> queryParameters
protected final java.util.Map<java.lang.String,ColumnData> columnData
protected final java.lang.String[] joinHints
public ParsedSql(DbSqlGenerator dbSqlGenerator)
public java.lang.String generateQuery()
DbSqlGeneratorgenerateQuery in interface DbSqlGeneratorpublic java.util.Map<java.lang.String,ParameterValue> getQueryParameters()
DbSqlGeneratorDbSqlGenerator.generateQuery().
May be nullgetQueryParameters in interface DbSqlGeneratorpublic java.util.Map<java.lang.String,ColumnData> getColumnData()
DbSqlGeneratorResultSetMapper.
May be null.getColumnData in interface DbSqlGeneratorpublic java.lang.String[] getJoinHints()
DbSqlGeneratornull.getJoinHints in interface DbSqlGeneratorCopyright © 2003-present Jodd Team