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