public class TimestampR2dbcTypeHandlerAdapter extends Object implements R2dbcTypeHandlerAdapter<Timestamp>
| Constructor and Description |
|---|
TimestampR2dbcTypeHandlerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
Class<Timestamp> |
adaptClazz()
adapted class
|
Timestamp |
getResult(io.r2dbc.spi.Row row,
io.r2dbc.spi.RowMetadata rowMetadata,
int columnIndex)
get result by columnIndex
|
Timestamp |
getResult(io.r2dbc.spi.Row row,
io.r2dbc.spi.RowMetadata rowMetadata,
String columnName)
get result by columnName
|
void |
setParameter(io.r2dbc.spi.Statement statement,
ParameterHandlerContext parameterHandlerContext,
Timestamp parameter)
setParameter
|
public Class<Timestamp> adaptClazz()
R2dbcTypeHandlerAdapteradaptClazz in interface R2dbcTypeHandlerAdapter<Timestamp>public void setParameter(io.r2dbc.spi.Statement statement,
ParameterHandlerContext parameterHandlerContext,
Timestamp parameter)
R2dbcTypeHandlerAdaptersetParameter in interface R2dbcTypeHandlerAdapter<Timestamp>statement - the statementparameterHandlerContext - the parameter handler contextparameter - the parameterpublic Timestamp getResult(io.r2dbc.spi.Row row, io.r2dbc.spi.RowMetadata rowMetadata, String columnName)
R2dbcTypeHandlerAdaptergetResult in interface R2dbcTypeHandlerAdapter<Timestamp>row - the rowrowMetadata - the row metadatacolumnName - the column namepublic Timestamp getResult(io.r2dbc.spi.Row row, io.r2dbc.spi.RowMetadata rowMetadata, int columnIndex)
R2dbcTypeHandlerAdaptergetResult in interface R2dbcTypeHandlerAdapter<Timestamp>row - the rowrowMetadata - the row metadatacolumnIndex - the column indexCopyright © 2022. All rights reserved.