Skip to content

Commit

Permalink
feat: adding less09 DataProvider and json file homework - Yemi
Browse files Browse the repository at this point in the history
  • Loading branch information
jimoye244 committed Oct 14, 2024
1 parent ff75e98 commit c7ef49c
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 OyeyemiJimohProvider extends DataProvider {
public String getProviderName() {
return "oyeyemijimoh";
}

public Map<String, Class> getColumnTypeByName() {
return Map.of(
"column1", Short.class,
"column2", Long.class,
"column3", Boolean.class,
"column4", Integer.class,
"column5", Double.class,
"column6", String.class,
"column7", Float.class);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
[
{
"column1": "25037",
"column2": "386551693027304768",
"column3": "true",
"column4": "1839779723",
"column5": "9.8860302381462E307",
"column6": "7odng0",
"column7": "4.7417094E37"
},
{
"column1": "32405",
"column2": "5225428943881961472",
"column3": "true",
"column4": "2035313838",
"column5": "1.081611618475344E308",
"column6": "vbfmqgyk42w",
"column7": "3.2038068E38"
},
{
"column1": "16167",
"column2": "7578959582869967872",
"column3": "true",
"column4": "1830975507",
"column5": "1.46636093549015E308",
"column6": "nd483kfa",
"column7": "3.004667E38"
},
{
"column1": "17376",
"column2": "3340385466633204224",
"column3": "true",
"column4": "1710215475",
"column5": "1.7312632791915405E308",
"column6": "xyjvhwfntr",
"column7": "5.8754226E37"
},
{
"column1": "2842",
"column2": "3767389816506779136",
"column3": "true",
"column4": "630397417",
"column5": "1.5249260784272076E308",
"column6": "w7cko23gsafp",
"column7": "4.0535676E37"
},
{
"column1": "19781",
"column2": "4573616862844566528",
"column3": "false",
"column4": "1066113718",
"column5": "2.750707366594789E307",
"column6": "dg12o",
"column7": "7.583304E37"
},
{
"column1": "27772",
"column2": "2022901771903599104",
"column3": "false",
"column4": "1817943651",
"column5": "8.266766397412771E307",
"column6": "oc21iy4kf",
"column7": "5.586013E37"
},
{
"column1": "18670",
"column2": "5727680920858312704",
"column3": "true",
"column4": "1083875614",
"column5": "2.711602908816026E307",
"column6": "yw9s0djibaf",
"column7": "2.8417106E38"
},
{
"column1": "5281",
"column2": "4367271028768056832",
"column3": "false",
"column4": "1248596022",
"column5": "9.583797752925559E307",
"column6": "prk6d2yz1m9f",
"column7": "3.3253386E38"
},
{
"column1": "4691",
"column2": "6653911370200114176",
"column3": "false",
"column4": "1417919404",
"column5": "8.108463636848325E307",
"column6": "1w86t2jhufd",
"column7": "9.585745E37"
}
]

0 comments on commit c7ef49c

Please sign in to comment.