@FunctionalInterface public interface JDBCColumnDescriptorProvider
Modifier and Type | Method and Description |
---|---|
io.vertx.jdbcclient.impl.actions.JDBCColumnDescriptor |
apply(int column)
Get a column descriptor
|
static JDBCColumnDescriptorProvider |
fromParameter(PreparedStatement statement)
Deprecated.
Implementations should prefer
fromParameterMetaData(ParameterMetaData)
Create provider by parameter statement |
static JDBCColumnDescriptorProvider |
fromParameterMetaData(ParameterMetaData metaData)
Create provider by the parameter metadata
|
static JDBCColumnDescriptorProvider |
fromResult(ResultSet rs)
Deprecated.
Implementations should prefer
fromResultMetaData(ResultSetMetaData)
Create provider by result set metadata |
static JDBCColumnDescriptorProvider |
fromResultMetaData(ResultSetMetaData metaData)
Create provider by result set metadata
|
@Deprecated static JDBCColumnDescriptorProvider fromParameter(PreparedStatement statement)
fromParameterMetaData(ParameterMetaData)
Create provider by parameter statementstatement
- the prepared statementJDBCTypeProvider
instancePreparedStatement
static JDBCColumnDescriptorProvider fromParameterMetaData(ParameterMetaData metaData)
metaData
- the parameter metadataJDBCTypeProvider
instanceResultSetMetaData
@Deprecated static JDBCColumnDescriptorProvider fromResult(ResultSet rs)
fromResultMetaData(ResultSetMetaData)
Create provider by result set metadatars
- the result setJDBCTypeProvider
instanceResultSetMetaData
static JDBCColumnDescriptorProvider fromResultMetaData(ResultSetMetaData metaData)
metaData
- the result setJDBCTypeProvider
instanceResultSetMetaData
io.vertx.jdbcclient.impl.actions.JDBCColumnDescriptor apply(int column) throws SQLException
column
- column indexSQLException
- sql exceptionJDBCColumnDescriptor
Copyright © 2023 Eclipse. All rights reserved.