Skip to content

Commit

Permalink
feat: Adds Chukwuma Ibezim.json and ChukwumaIbezimProvider.java (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
cibezim authored Mar 11, 2024
1 parent 16b88f9 commit f864c4d
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.lesson5.dataprovider;

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

@Service
public class ChukwumaIbezimProvider extends DataProvider {
public String getProviderName() {
return "ChukwumaIbezim";
}

public Map<String, Class> getColumnTypeByName() {
return Map.of(
"column1", Boolean.class,
"column2", String.class,
"column3", Short.class,
"column4", Double.class,
"column5", Integer.class,
"column6", Long.class,
"column7", Float.class);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
[
{
"column1": "true",
"column2": "71if8x4ol",
"column3": "19253",
"column4": "4.868334396466893E307",
"column5": "2076457779",
"column6": "6362902455935581184",
"column7": "6.9817195E37"
},
{
"column1": "false",
"column2": "ivsd0fn",
"column3": "1273",
"column4": "1.7406852711885055E308",
"column5": "337747198",
"column6": "2386682204511222272",
"column7": "3.3601842E38"
},
{
"column1": "false",
"column2": "wgkc2pj5",
"column3": "20083",
"column4": "1.0891824423289843E308",
"column5": "1819153070",
"column6": "3792231437629029888",
"column7": "2.5033094E38"
},
{
"column1": "false",
"column2": "nui834a1vgw",
"column3": "21097",
"column4": "3.6568323548387417E307",
"column5": "1133164292",
"column6": "1484181767482971392",
"column7": "3.073977E38"
},
{
"column1": "true",
"column2": "wqua910rh8f",
"column3": "22917",
"column4": "1.1202570287760418E308",
"column5": "439567160",
"column6": "3528513906598259712",
"column7": "1.0995964E38"
},
{
"column1": "false",
"column2": "51l7ie",
"column3": "23385",
"column4": "4.901569654888475E307",
"column5": "851057867",
"column6": "936100291486816640",
"column7": "1.5360593E38"
},
{
"column1": "false",
"column2": "nfhoxs678",
"column3": "30532",
"column4": "6.010303693218464E307",
"column5": "1482463326",
"column6": "1319108419465975296",
"column7": "4.532472E37"
},
{
"column1": "false",
"column2": "pdxg2au35c",
"column3": "4783",
"column4": "1.411004278326487E306",
"column5": "1312930559",
"column6": "7262537687651393536",
"column7": "7.1059873E37"
},
{
"column1": "false",
"column2": "48ja5bsth9",
"column3": "11374",
"column4": "1.4787557026465439E308",
"column5": "618499463",
"column6": "7941324607590211584",
"column7": "2.1648466E38"
},
{
"column1": "false",
"column2": "ew7hg3i",
"column3": "12337",
"column4": "1.6319721153114852E308",
"column5": "1416137892",
"column6": "1294880587332779264",
"column7": "2.4444969E38"
}
]

0 comments on commit f864c4d

Please sign in to comment.