Class AuditNodeServiceValueRowMapper
java.lang.Object
net.solarnetwork.central.common.dao.jdbc.AuditNodeServiceValueRowMapper
- All Implemented Interfaces:
org.springframework.jdbc.core.RowMapper<AuditNodeServiceValue>
public class AuditNodeServiceValueRowMapper
extends Object
implements org.springframework.jdbc.core.RowMapper<AuditNodeServiceValue>
Map datum rows into
AuditNodeServiceValue instances.
The expected column order in the SQL results is:
- ts_start
- node_id
- service
- agg_kind (key)
- cnt
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.springframework.jdbc.core.RowMapper<AuditNodeServiceValue> A default mapper instance. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
A default mapper instance.
-
-
Constructor Details
-
AuditNodeServiceValueRowMapper
public AuditNodeServiceValueRowMapper()
-
-
Method Details
-
mapRow
- Specified by:
mapRowin interfaceorg.springframework.jdbc.core.RowMapper<AuditNodeServiceValue>- Throws:
SQLException
-