Uses of Class
com.pyranid.StatementContext
-
Uses of StatementContext in com.pyranid
Methods in com.pyranid that return StatementContextModifier and TypeMethodDescriptionStatementContext.Builder.build()
StatementLog.getStatementContext()
The SQL statement that was executed.Methods in com.pyranid with parameters of type StatementContextModifier and TypeMethodDescription<T> void
DefaultPreparedStatementBinder.bind
(StatementContext<T> statementContext, PreparedStatement preparedStatement, List<Object> parameters) <T> void
PreparedStatementBinder.bind
(StatementContext<T> statementContext, PreparedStatement preparedStatement, List<Object> parameters) Binds parameters to a SQL prepared statement.static <T> StatementLog.Builder
StatementLog.forStatementContext
(StatementContext<T> statementContext) Creates aStatementLog
builder for the givenstatementContext
.<T> Optional
<T> DefaultResultSetMapper.map
(StatementContext<T> statementContext, ResultSet resultSet, Class<T> resultSetRowType, InstanceProvider instanceProvider) <T> Optional
<T> ResultSetMapper.map
(StatementContext<T> statementContext, ResultSet resultSet, Class<T> resultSetRowType, InstanceProvider instanceProvider) Maps the current row ofresultSet
to the result class indicated bystatementContext
.<T> T
DefaultInstanceProvider.provide
(StatementContext<T> statementContext, Class<T> instanceType) <T> T
InstanceProvider.provide
(StatementContext<T> statementContext, Class<T> instanceType) Provides an instance of the giveninstanceType
.default <T extends Record>
TInstanceProvider.provideRecord
(StatementContext<T> statementContext, Class<T> recordType, Object... initargs) Provides an instance of the givenrecordType
.