2024年大数据开发项目-电信项目1-生产数据,2024年最新大厂架构师经验分享

img
img

网上学习资料一大堆,但如果学到的知识不成体系,遇到问题时只是浅尝辄止,不再深入研究,那么很难做到真正的技术提升。

需要这份系统化资料的朋友,可以戳这里获取

一个人可以走的很快,但一群人才能走的更远!不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人,都欢迎加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!

public void initPhone(){

phoneList.add(“17078388295”);

phoneList.add(“13980337439”);

phoneList.add(“14575535933”);

phoneList.add(“19902496992”);

phoneList.add(“18549641558”);

phoneList.add(“17005930322”);

phoneList.add(“18468618874”);

phoneList.add(“18576581848”);

phoneList.add(“15978226424”);

phoneList.add(“15542823911”);

phoneList.add(“17526304161”);

phoneList.add(“15422018558”);

phoneList.add(“17269452013”);

phoneList.add(“17764278604”);

phoneList.add(“15711910344”);

phoneList.add(“15714728273”);

phoneList.add(“16061028454”);

phoneList.add(“16264433631”);

phoneList.add(“17601615878”);

phoneList.add(“15897468949”);

phoneNameMap.put(“17078388295”, “李雁”);

phoneNameMap.put(“13980337439”, “卫艺”);

phoneNameMap.put(“14575535933”, “仰莉”);

phoneNameMap.put(“19902496992”, “陶欣悦”);

phoneNameMap.put(“18549641558”, “施梅梅”);

phoneNameMap.put(“17005930322”, “金虹霖”);

phoneNameMap.put(“18468618874”, “魏明艳”);

phoneNameMap.put(“18576581848”, “华贞”);

phoneNameMap.put(“15978226424”, “华啟倩”);

phoneNameMap.put(“15542823911”, “仲采绿”);

phoneNameMap.put(“17526304161”, “卫丹”);

phoneNameMap.put(“15422018558”, “戚丽红”);

phoneNameMap.put(“17269452013”, “何翠柔”);

phoneNameMap.put(“17764278604”, “钱溶艳”);

phoneNameMap.put(“15711910344”, “钱琳”);

phoneNameMap.put(“15714728273”, “缪静欣”);

phoneNameMap.put(“16061028454”, “焦秋菊”);

phoneNameMap.put(“16264433631”, “吕访琴”);

phoneNameMap.put(“17601615878”, “沈丹”);

phoneNameMap.put(“15897468949”, “褚美丽”);

}

/**

数据形式:主叫-被叫-通话建立时间-通话时长

数据形式对应字段名:caller,callee,buildTime,duration

*/

public String product(){

/*主叫、被叫电话号/

String caller = null;

String callee = null;

//主叫、被叫姓名

String callerName = null;

String calleeName = null;

/* 取得主叫好吗 */

int callerIndex = (int) (Math.random() * phoneList.size());

caller = phoneList.get(callerIndex);

callerName = phoneNameMap.get(caller);

/*

取得被叫号码

*/

int calleeIndex = (int) (Math.random() * phoneList.size());

callee = phoneList.get(callerIndex);

calleeName = phoneNameMap.get(callee);

while (true){

/**

*random()左闭右开

  • 取得被叫号码*/

calleeIndex = (int) (Math.random() * phoneList.size());

callee = phoneList.get(calleeIndex);

calleeName = phoneNameMap.get(callee);

if (!caller.equals(callee)){

break;

}

}

//第三个参数:随机通话建立时间

String buildTime = randomBuildTime(startTime,endTime);

//第四个参数0000

DecimalFormat df = new DecimalFormat(“0000”);

String duration = df.format((int) (30 * 60 * Math.random()));

StringBuilder sb = new StringBuilder();

sb.append(caller + “,”).append(callee + “,”).append(buildTime + “,”).append(duration);

return sb.toString();

}

//时间形式:2018-01-18 22:38:53

private String randomBuildTime(String startTime, String endTime){

try {

SimpleDateFormat sdf1 = new SimpleDateFormat(“yyyy-MM-dd”);

Date startDate = sdf1.parse(startTime);

Date endDate = sdf1.parse(endTime);

if (endDate.getTime() <= startDate.getTime()){

return null;

}

//随机通话建立时间得Long型

long randomTs = startDate.getTime() + (long) ((endDate.getTime() - startDate.getTime()) * Math.random());

Date resultDate = new Date(randomTs);

SimpleDateFormat sdf2 = new SimpleDateFormat(“yy-MM-dd HH:mm:ss”);

String resultTimeString = sdf2.format(resultDate);

return resultTimeString;

} catch (ParseException e) {

e.printStackTrace();

}

img
img
img

既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,涵盖了95%以上大数据知识点,真正体系化!

由于文件比较多,这里只是将部分目录截图出来,全套包含大厂面经、学习笔记、源码讲义、实战项目、大纲路线、讲解视频,并且后续会持续更新

需要这份系统化资料的朋友,可以戳这里获取

8668)]
[外链图片转存中…(img-gABalk0T-1715584168668)]

既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,涵盖了95%以上大数据知识点,真正体系化!

由于文件比较多,这里只是将部分目录截图出来,全套包含大厂面经、学习笔记、源码讲义、实战项目、大纲路线、讲解视频,并且后续会持续更新

需要这份系统化资料的朋友,可以戳这里获取

  • 8
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值