java.lang.Object
io.ebeaninternal.server.rawsql.DRawSql
Default implementation of SpiRawSql.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.ebeaninternal.server.rawsql.SpiRawSql
SpiRawSql.ColumnMapping, SpiRawSql.Key, SpiRawSql.Sql -
Field Summary
Fields inherited from interface io.ebeaninternal.server.rawsql.SpiRawSql
IGNORE_COLUMN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the column mapping for the SQL columns to bean properties.getKey()Return the key;Return the resultSet if this is a ResultSet based RawSql.getSql()Return the Sql either unparsed or in parsed (broken up) form.mapToColumn(String property)
-
Constructor Details
-
DRawSql
Construct with a ResultSet and properties that the columns map to.
-
-
Method Details
-
getSql
Return the Sql either unparsed or in parsed (broken up) form. -
getKey
Return the key; -
getResultSet
Return the resultSet if this is a ResultSet based RawSql.- Specified by:
getResultSetin interfaceSpiRawSql
-
getColumnMapping
Return the column mapping for the SQL columns to bean properties.- Specified by:
getColumnMappingin interfaceSpiRawSql
-
mapToColumn
- Specified by:
mapToColumnin interfaceSpiRawSql
-