Package io.ebeaninternal.server.rawsql
Class DRawSqlService
- java.lang.Object
-
- io.ebeaninternal.server.rawsql.DRawSqlService
-
- All Implemented Interfaces:
SpiRawSqlService
public class DRawSqlService extends Object implements SpiRawSqlService
-
-
Constructor Summary
Constructors Constructor Description DRawSqlService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RawSqlBuilder
parsed(String sql)
Parse the SQL determining column mapping.RawSql
resultSet(ResultSet resultSet, String... propertyNames)
Create based on a JDBC ResultSet.SqlRow
sqlRow(ResultSet resultSet, String dbTrueValue, boolean binaryOptimizedUUID)
Create based on a JDBC ResultSet.RawSqlBuilder
unparsed(String sql)
Unparsed SQL so explicit column mapping expected.
-
-
-
Constructor Detail
-
DRawSqlService
public DRawSqlService()
-
-
Method Detail
-
resultSet
public RawSql resultSet(ResultSet resultSet, String... propertyNames)
Description copied from interface:SpiRawSqlService
Create based on a JDBC ResultSet.- Specified by:
resultSet
in interfaceSpiRawSqlService
-
parsed
public RawSqlBuilder parsed(String sql)
Description copied from interface:SpiRawSqlService
Parse the SQL determining column mapping.- Specified by:
parsed
in interfaceSpiRawSqlService
-
unparsed
public RawSqlBuilder unparsed(String sql)
Description copied from interface:SpiRawSqlService
Unparsed SQL so explicit column mapping expected.- Specified by:
unparsed
in interfaceSpiRawSqlService
-
sqlRow
public SqlRow sqlRow(ResultSet resultSet, String dbTrueValue, boolean binaryOptimizedUUID) throws SQLException
Description copied from interface:SpiRawSqlService
Create based on a JDBC ResultSet.- Specified by:
sqlRow
in interfaceSpiRawSqlService
- Parameters:
resultSet
- The ResultSet row to read as a SqlRowdbTrueValue
- The DB true valuebinaryOptimizedUUID
- Flag set to true if the UUID value is stored as optimised binary(16)- Throws:
SQLException
-
-