Interface ColumnCountProvider


public interface ColumnCountProvider
API for a service that provides a SQL column count.

One use case for this API is for RowMapper implementations to implement this API as well so consumers can know how many columns the mapper consumes.

  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Get the count of SQL columns referenced by this instance.
  • Method Details

    • getColumnCount

      int getColumnCount()
      Get the count of SQL columns referenced by this instance.
      Returns:
      the column count