Class UserEventRowMapper

java.lang.Object
net.solarnetwork.central.common.dao.jdbc.UserEventRowMapper
All Implemented Interfaces:
org.springframework.jdbc.core.RowMapper<UserEvent>

public class UserEventRowMapper extends Object implements org.springframework.jdbc.core.RowMapper<UserEvent>
Row mapper for UserEvent entities.

The expected column order in the SQL results is:

  1. user_id (BIGINT)
  2. event_id (UUID)
  3. tags (TEXT[])
  4. message (TEXT)
  5. jdata (TEXT)
  • Field Details

    • INSTANCE

      public static final org.springframework.jdbc.core.RowMapper<UserEvent> INSTANCE
      A default instance.
  • Constructor Details

    • UserEventRowMapper

      public UserEventRowMapper()
  • Method Details