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:
- user_id (BIGINT)
- event_id (UUID)
- tags (TEXT[])
- message (TEXT)
- jdata (TEXT)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
A default instance.
-
-
Constructor Details
-
UserEventRowMapper
public UserEventRowMapper()
-
-
Method Details
-
mapRow
- Specified by:
mapRowin interfaceorg.springframework.jdbc.core.RowMapper<UserEvent>- Throws:
SQLException
-