java.lang.Object
de.digitalcollections.cudami.server.backend.impl.jdbi.type.LocalDateRangeMapper
All Implemented Interfaces:
org.jdbi.v3.core.argument.ArgumentFactory, org.jdbi.v3.core.mapper.ColumnMapper<de.digitalcollections.model.time.LocalDateRange>

public class LocalDateRangeMapper extends Object implements org.jdbi.v3.core.argument.ArgumentFactory, org.jdbi.v3.core.mapper.ColumnMapper<de.digitalcollections.model.time.LocalDateRange>
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.jdbi.v3.core.argument.ArgumentFactory

    org.jdbi.v3.core.argument.ArgumentFactory.Preparable
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional<org.jdbi.v3.core.argument.Argument>
    build(Type type, Object value, org.jdbi.v3.core.config.ConfigRegistry config)
     
    de.digitalcollections.model.time.LocalDateRange
    map(ResultSet r, int columnNumber, org.jdbi.v3.core.statement.StatementContext ctx)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.jdbi.v3.core.mapper.ColumnMapper

    init, map
  • Constructor Details

    • LocalDateRangeMapper

      public LocalDateRangeMapper()
  • Method Details

    • build

      public Optional<org.jdbi.v3.core.argument.Argument> build(Type type, Object value, org.jdbi.v3.core.config.ConfigRegistry config)
      Specified by:
      build in interface org.jdbi.v3.core.argument.ArgumentFactory
    • map

      public de.digitalcollections.model.time.LocalDateRange map(ResultSet r, int columnNumber, org.jdbi.v3.core.statement.StatementContext ctx) throws SQLException
      Specified by:
      map in interface org.jdbi.v3.core.mapper.ColumnMapper<de.digitalcollections.model.time.LocalDateRange>
      Throws:
      SQLException