Package com.illumon.iris.utils
Interface JdbcTypeMapper.ColumnSourceBinder
- Enclosing class:
- JdbcTypeMapper
public static interface JdbcTypeMapper.ColumnSourceBinder
A closure that can be used to bind a ColumnSource to the given PreparedStatement and parameter index.
-
Method Summary
Modifier and TypeMethodDescriptionvoidbind(PreparedStatement stmt, int parameterIndex, long rowIndex) Bind a value from the ColumnSource at the given rowIndex to the given PreparedStatement and parameter index.
-
Method Details
-
bind
Bind a value from the ColumnSource at the given rowIndex to the given PreparedStatement and parameter index.- Parameters:
stmt- the statement to which to bind the valueparameterIndex- the parameter index to bindrowIndex- the source row index- Throws:
SQLException- if an error occurs
-