Interface ColumnAliasExtractor

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ColumnAliasExtractor
    Strategy for extracting the unique column alias out of a ResultSetMetaData. This is used during the "auto discovery" phase of native SQL queries.

    Generally this should be done via ResultSetMetaData.getColumnLabel(int), but not all drivers do this correctly.