Skip to content

Commit

Permalink
feat: adds Sherllin's lesson 05 response (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
SherllinT authored Mar 11, 2024
1 parent 4d583be commit d195a34
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 SherllinProvider extends DataProvider {
public String getProviderName() {
return "sherllin";
}

public Map<String, Class> getColumnTypeByName() {
return Map.of(
"column1", Long.class,
"column2", Float.class,
"column3", Boolean.class,
"column4", String.class,
"column5", Short.class,
"column6", Double.class,
"column7", Integer.class);
}
}
92 changes: 92 additions & 0 deletions lesson_05/types/types_app/src/main/resources/data/sherllin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
[
{
"column1": "4699854238091849728",
"column2": "9.928241E37",
"column3": "false",
"column4": "ay3np09",
"column5": "14570",
"column6": "6.211485985172758E307",
"column7": "263221866"
},
{
"column1": "8984772970026659840",
"column2": "3.0420078E37",
"column3": "true",
"column4": "p8yvc4",
"column5": "20185",
"column6": "1.5213806119458646E308",
"column7": "103205946"
},
{
"column1": "2772740131244777472",
"column2": "9.982325E37",
"column3": "true",
"column4": "8x3ejihr6",
"column5": "2398",
"column6": "9.935712584621702E307",
"column7": "1762928634"
},
{
"column1": "6506026765642948608",
"column2": "8.4879633E37",
"column3": "false",
"column4": "v4jyrelnaz",
"column5": "24049",
"column6": "1.5102541811020929E308",
"column7": "2059684648"
},
{
"column1": "6061138059854181376",
"column2": "3.5290237E37",
"column3": "false",
"column4": "qvwzpk6ysxa7",
"column5": "23778",
"column6": "2.5428948197347683E307",
"column7": "273974497"
},
{
"column1": "60007905565346592",
"column2": "1.8229728E38",
"column3": "true",
"column4": "ci8of4ah",
"column5": "22887",
"column6": "2.1406137331625334E307",
"column7": "660939862"
},
{
"column1": "3943560097616860160",
"column2": "1.3078222E38",
"column3": "true",
"column4": "h0uxms2ztod",
"column5": "18",
"column6": "1.7232613569179465E308",
"column7": "1406708120"
},
{
"column1": "7374459740015495168",
"column2": "2.3266021E38",
"column3": "true",
"column4": "3gnts",
"column5": "27141",
"column6": "1.1048072685421235E308",
"column7": "299870331"
},
{
"column1": "2698641901379606528",
"column2": "1.3036066E38",
"column3": "false",
"column4": "fswgp7h",
"column5": "1964",
"column6": "1.0890549718932887E308",
"column7": "1655807081"
},
{
"column1": "217386658980011008",
"column2": "1.9585196E38",
"column3": "true",
"column4": "w1u5d49rn",
"column5": "12092",
"column6": "1.0627057626452232E308",
"column7": "2031169593"
}
]

0 comments on commit d195a34

Please sign in to comment.