Interface RowAdapter<RowType>


  • public interface RowAdapter<RowType>
    An adapter between arbitrary types and the needs of callers that want to read specific columns out of those types (treating them as rows).
    • Method Detail

      • timestampFunction

        default ToLongFunction<RowType> timestampFunction()
        Returns a function that retrieves timestamps from rows. The default implementation delegates to columnFunction(java.lang.String) and expects it to already contain long-typed values or nulls. Nulls, if present, will be converted to zeroes.
      • columnFunction

        Function<RowType,​Object> columnFunction​(String columnName)
        Returns a function that retrieves the value for column "columnName" from rows.