@@ -153,7 +153,7 @@ public static List<NodeGoldenRecord> getGoldenRecordsOfInteraction(final UUID ei
153
153
while (rs .next ()) {
154
154
final var id = rs .getString ("id" );
155
155
final var json = rs .getString ("fields" );
156
- final var goldenRecordData = new CustomGoldenRecordData (OBJECT_MAPPER .readValue (json , CustomDemographicData .class ));
156
+ final var goldenRecordData = new GoldenRecordData (OBJECT_MAPPER .readValue (json , CustomDemographicData .class ));
157
157
list .add (new NodeGoldenRecord (Node .NodeType .valueOf (rs .getString ("type" )), UUID .fromString (id ), goldenRecordData ));
158
158
}
159
159
return list ;
@@ -175,7 +175,7 @@ public static List<NodeInteraction> getGoldenRecordInteractions(final UUID gid)
175
175
while (rs .next ()) {
176
176
final var id = rs .getString ("id" );
177
177
final var json = rs .getString ("fields" );
178
- final var interactionData = new CustomInteractionData (OBJECT_MAPPER .readValue (json , CustomDemographicData .class ));
178
+ final var interactionData = new InteractionData (OBJECT_MAPPER .readValue (json , CustomDemographicData .class ));
179
179
list .add (new NodeInteraction (Node .NodeType .valueOf (rs .getString ("type" )), UUID .fromString (id ), interactionData ));
180
180
}
181
181
return list ;
@@ -192,7 +192,7 @@ private static List<GoldenRecord> findCandidatesWorker(final String sql) {
192
192
while (rs .next ()) {
193
193
final var id = rs .getString ("id" );
194
194
final var json = rs .getString ("fields" );
195
- final var goldenRecordData = new CustomGoldenRecordData (OBJECT_MAPPER .readValue (json , CustomDemographicData .class ));
195
+ final var goldenRecordData = new GoldenRecordData (OBJECT_MAPPER .readValue (json , CustomDemographicData .class ));
196
196
list .add (new GoldenRecord (id , null , new CustomUniqueGoldenRecordData (null ), goldenRecordData ));
197
197
}
198
198
return list ;
@@ -228,7 +228,7 @@ public static NodeGoldenRecord getGoldenRecord(final UUID gid) {
228
228
if (rs .next ()) {
229
229
final var id = rs .getString ("id" );
230
230
final var goldenRecordData =
231
- new CustomGoldenRecordData (OBJECT_MAPPER .readValue (rs .getString ("fields" ), CustomDemographicData .class ));
231
+ new GoldenRecordData (OBJECT_MAPPER .readValue (rs .getString ("fields" ), CustomDemographicData .class ));
232
232
return new NodeGoldenRecord (Node .NodeType .valueOf (rs .getString ("type" )), UUID .fromString (id ), goldenRecordData );
233
233
}
234
234
return null ;
@@ -248,7 +248,7 @@ static NodeInteraction getInteraction(final UUID iid) {
248
248
if (rs .next ()) {
249
249
final var id = rs .getString ("id" );
250
250
final var interactionData =
251
- new CustomInteractionData (OBJECT_MAPPER .readValue (rs .getString ("fields" ), CustomDemographicData .class ));
251
+ new InteractionData (OBJECT_MAPPER .readValue (rs .getString ("fields" ), CustomDemographicData .class ));
252
252
return new NodeInteraction (Node .NodeType .valueOf (rs .getString ("type" )), UUID .fromString (id ), interactionData );
253
253
}
254
254
return null ;
0 commit comments