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