Skip to content

Commit

Permalink
feat: Added JamesCapparellProvider .java and jamescapparell.json for …
Browse files Browse the repository at this point in the history
…lesson_09 - James Capparell (#308)

Co-authored-by: jjcapparell <“[email protected]>
  • Loading branch information
jjcapparell and jjcapparell authored Oct 16, 2024
1 parent f444b29 commit bf2148c
Show file tree
Hide file tree
Showing 2 changed files with 114 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package com.codedifferently.lesson9.dataprovider;

import java.util.Map;
import org.springframework.stereotype.Service;

@Service
public class JamesCapparellProvider extends DataProvider {
public String getProviderName() {
return "jamescapparell";
}

public Map<String, Class> getColumnTypeByName() {
return Map.of(
"column1", Float.class,
"column2", Short.class,
"column3", Long.class,
"column4", Boolean.class,
"column5", Double.class,
"column6", Integer.class,
"column7", String.class);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
[
{
"column1": "1.8878149E38",
"column2": "5458",
"column3": "4709558315801105408",
"column4": "true",
"column5": "2.805305969183916E307",
"column6": "1426618880",
"column7": "wdg4h2"
},
{
"column1": "2.416581E38",
"column2": "11168",
"column3": "558536621582831104",
"column4": "false",
"column5": "1.164233100438911E308",
"column6": "1032561903",
"column7": "pemj9s8"
},
{
"column1": "3.1952379E38",
"column2": "14977",
"column3": "2794828534438986240",
"column4": "false",
"column5": "2.8180653509168427E307",
"column6": "2089175823",
"column7": "e6ywx45fc"
},
{
"column1": "3.3255394E37",
"column2": "3656",
"column3": "5328283577169182720",
"column4": "true",
"column5": "8.395730558488386E307",
"column6": "1365958582",
"column7": "2x15sui"
},
{
"column1": "2.9452223E38",
"column2": "22791",
"column3": "8564960055476013056",
"column4": "false",
"column5": "1.4604941391531844E308",
"column6": "267366295",
"column7": "l2iqs"
},
{
"column1": "2.5956876E38",
"column2": "296",
"column3": "5506645654898095104",
"column4": "false",
"column5": "3.279671435385484E307",
"column6": "1384993574",
"column7": "osmzvxn"
},
{
"column1": "2.8335518E38",
"column2": "7488",
"column3": "4119738566911223808",
"column4": "true",
"column5": "1.7772001629833837E308",
"column6": "1332506125",
"column7": "ptzvu8"
},
{
"column1": "1.6797306E37",
"column2": "9064",
"column3": "766191187188761856",
"column4": "false",
"column5": "8.697125986441345E307",
"column6": "1423549128",
"column7": "8agch13"
},
{
"column1": "1.3593046E38",
"column2": "9424",
"column3": "8065384371895088128",
"column4": "true",
"column5": "1.2621675434743994E308",
"column6": "1614796293",
"column7": "ajgnqz61d"
},
{
"column1": "1.0568319E38",
"column2": "17926",
"column3": "1397526017998374144",
"column4": "true",
"column5": "3.6570179572112003E307",
"column6": "814059068",
"column7": "grkw5"
}
]

0 comments on commit bf2148c

Please sign in to comment.