Skip to content

Commit

Permalink
chore: adds Kenrick's lesson 05 response (code-differently#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenrixkk22 authored and Nelshulla committed Mar 11, 2024
1 parent 7bc8704 commit b87a2b8
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 KenrickSutherlandProvider extends DataProvider {
public String getProviderName() {
return "KenrickSutherland";
}

public Map<String, Class> getColumnTypeByName() {
return Map.of(
"column1", String.class,
"column2", Double.class,
"column3", Float.class,
"column4", Boolean.class,
"column5", Integer.class,
"column6", Long.class,
"column7", Short.class);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
[
{
"column1": "0d5pq87el21",
"column2": "1.610461365273718E308",
"column3": "2.4511562E38",
"column4": "true",
"column5": "213782197",
"column6": "2257999273701633536",
"column7": "28314"
},
{
"column1": "hacw6pt59",
"column2": "5.144298469224916E307",
"column3": "1.6789023E38",
"column4": "true",
"column5": "1372270786",
"column6": "6236213017405092864",
"column7": "4331"
},
{
"column1": "27cx8q",
"column2": "1.479641855585046E308",
"column3": "2.0400482E38",
"column4": "false",
"column5": "549367437",
"column6": "1454514155303146240",
"column7": "15761"
},
{
"column1": "s8m13oly0",
"column2": "1.6059296450127848E308",
"column3": "3.8331475E37",
"column4": "true",
"column5": "2078716929",
"column6": "7440008271768022016",
"column7": "8355"
},
{
"column1": "flqkz8pcnot",
"column2": "1.2932652634078623E308",
"column3": "6.224267E37",
"column4": "true",
"column5": "1231076415",
"column6": "257614857339664544",
"column7": "778"
},
{
"column1": "4yeqvr6tmi",
"column2": "1.5048075547069834E308",
"column3": "7.800527E37",
"column4": "false",
"column5": "254119008",
"column6": "7251974821920299008",
"column7": "23370"
},
{
"column1": "e8upwfyv",
"column2": "4.640008836755733E307",
"column3": "2.4934282E38",
"column4": "true",
"column5": "1706256235",
"column6": "4218172411901057536",
"column7": "4474"
},
{
"column1": "zbygd9mr",
"column2": "1.4902992911287007E308",
"column3": "2.176785E38",
"column4": "false",
"column5": "130078002",
"column6": "4404008134503249408",
"column7": "13218"
},
{
"column1": "5u0hfe3opnr",
"column2": "1.1540509603561402E308",
"column3": "1.3269476E38",
"column4": "false",
"column5": "1695511342",
"column6": "3996946364778304000",
"column7": "20397"
},
{
"column1": "3g2bc4tumr8",
"column2": "1.6616407221257109E308",
"column3": "1.0814817E38",
"column4": "false",
"column5": "77267084",
"column6": "8970225026411474944",
"column7": "19802"
}
]

0 comments on commit b87a2b8

Please sign in to comment.