Interface ColumnValueReader

All Superinterfaces:
org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI

public interface ColumnValueReader extends org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI
Column value reader.
  • Method Summary

    Modifier and Type
    Method
    Description
    readValue(ResultSet resultSet, ResultSetMetaData resultSetMetaData, int columnIndex)
    Read column value.

    Methods inherited from interface org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI

    getType, getTypeAliases, init, isDefault
  • Method Details

    • readValue

      Object readValue(ResultSet resultSet, ResultSetMetaData resultSetMetaData, int columnIndex) throws SQLException
      Read column value.
      Parameters:
      resultSet - result set
      resultSetMetaData - result set meta data
      columnIndex - column index
      Returns:
      column value
      Throws:
      SQLException - from database