Package com.illumon.iris.utils
Class JdbcTypeMapper.TimeDataTypeMappingBase<T>
java.lang.Object
com.illumon.iris.utils.JdbcTypeMapper.DataTypeMapping<T>
com.illumon.iris.utils.JdbcTypeMapper.TimeDataTypeMappingBase<T>
- Direct Known Subclasses:
JdbcTypeMapper.TimeLocalTimeDataTypeMapping
,JdbcTypeMapper.TimeNanosDataTypeMapping
- Enclosing class:
- JdbcTypeMapper
public abstract static class JdbcTypeMapper.TimeDataTypeMappingBase<T> extends JdbcTypeMapper.DataTypeMapping<T>
-
Method Summary
Modifier and Type Method Description JdbcTypeMapper.ColumnSourceBinder
columnSourceBinder(ColumnSource columnSource, JdbcTypeMapper.Context context)
Provides a function, via a lambda, that can be used to bind values from the given ColumnSource to a PreparedStatement.JdbcTypeMapper.ColumnSourceBinder
columnSourcePrevBinder(ColumnSource columnSource, JdbcTypeMapper.Context context)
Provides a function, via a lambda, that can be used to bind previous values from the given ColumnSource to a PreparedStatement.Methods inherited from class com.illumon.iris.utils.JdbcTypeMapper.DataTypeMapping
bindByte, bindChar, bindDouble, bindFloat, bindInt, bindLong, bindObject, bindShort, getByte, getByte, getChar, getChar, getDbType, getDouble, getDouble, getFloat, getFloat, getInputType, getInt, getInt, getLong, getLong, getObject, getObject, getObject, getObject, getObjectCodec, getObjectCodecArguments, getObjectCodecArguments, getShort, getShort
-
Method Details
-
columnSourceBinder
public JdbcTypeMapper.ColumnSourceBinder columnSourceBinder(ColumnSource columnSource, JdbcTypeMapper.Context context)Description copied from class:JdbcTypeMapper.DataTypeMapping
Provides a function, via a lambda, that can be used to bind values from the given ColumnSource to a PreparedStatement.- Specified by:
columnSourceBinder
in classJdbcTypeMapper.DataTypeMapping<T>
- Parameters:
columnSource
- the column source from which values will be extractedcontext
- context information to use when binding- Returns:
- a ColumnSourceBinder
-
columnSourcePrevBinder
public JdbcTypeMapper.ColumnSourceBinder columnSourcePrevBinder(ColumnSource columnSource, JdbcTypeMapper.Context context)Description copied from class:JdbcTypeMapper.DataTypeMapping
Provides a function, via a lambda, that can be used to bind previous values from the given ColumnSource to a PreparedStatement.- Specified by:
columnSourcePrevBinder
in classJdbcTypeMapper.DataTypeMapping<T>
- Parameters:
columnSource
- the column source from which values will be extractedcontext
- context information to use when binding- Returns:
- a ColumnSourceBinder
-