io.lsdconsulting.lsd.distributed.postgres.repository.ResultSetMapper.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lsd-distributed-postgres-connector Show documentation
Show all versions of lsd-distributed-postgres-connector Show documentation
This is a PostgreSQL version of the data connector for the distributed data storage.
package io.lsdconsulting.lsd.distributed.postgres.repository
import com.fasterxml.jackson.core.type.TypeReference
import com.fasterxml.jackson.databind.ObjectMapper
import io.lsdconsulting.lsd.distributed.connector.model.InteractionType
import io.lsdconsulting.lsd.distributed.connector.model.InterceptedInteraction
import java.sql.ResultSet
import java.time.ZoneId
import java.time.ZonedDateTime
private val typeReference = object : TypeReference