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()
DbSqlGenerator
generateQuery
in interface DbSqlGenerator
public java.util.Map<java.lang.String,ParameterValue> getQueryParameters()
DbSqlGenerator
DbSqlGenerator.generateQuery()
.
May be null
getQueryParameters
in interface DbSqlGenerator
public java.util.Map<java.lang.String,ColumnData> getColumnData()
DbSqlGenerator
ResultSetMapper
.
May be null
.getColumnData
in interface DbSqlGenerator
public java.lang.String[] getJoinHints()
DbSqlGenerator
null
.getJoinHints
in interface DbSqlGenerator
Copyright © 2003-present Jodd Team