会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ivyJ
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
10
下一页
2023年1月28日
IDE中自带的java springboot项目的密码加密和解密
摘要: IDE里搜这个类org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI,跑类的main方法进行加密 参数: input=你的明文密码 password=固定你自己公司的某个固定值 algorithm=PBEWithHmacSHA512AndAES_128(加
阅读全文
posted @ 2023-01-28 18:03 ivyJ
阅读(368)
评论(0)
推荐(0)
2023年1月18日
RestTemplate去掉https验证
摘要: /*@Beanpublic RestTemplate restTemplate() throws KeyStoreException, NoSuchAlgorithmException, KeyManagementException { TrustStrategy acceptingTrustStr
阅读全文
posted @ 2023-01-18 16:49 ivyJ
阅读(206)
评论(0)
推荐(0)
2022年12月30日
java代码实现上传文件到谷歌云
摘要: 1、run configuration 添加vm参数: -Dhttps.proxy=http://googleapis-dev.gcp.cloud.uk.hsbc:3128-Dhttps.proxyHost=googleapis-dev.gcp.cloud.uk.hsbc-Dhttps.proxyP
阅读全文
posted @ 2022-12-30 17:46 ivyJ
阅读(270)
评论(0)
推荐(0)
2022年12月14日
比较2个dataFrame里某列的值的不同
摘要: 比较frame2和frame1每列的内容的不同 val dfColumns = frame2.columns dfColumns.foreach(item => { println(" "+item) val empty = frame2.select(item).except(frame1.sel
阅读全文
posted @ 2022-12-14 17:04 ivyJ
阅读(374)
评论(0)
推荐(0)
dataFrame把某列类型为array<double>或者array<string>数组里的值为null的置换为非null
摘要: 把array<double>里的null值转换为0,transform 的用法: .withColumn("aa",transform("arrayColumnName", fill_zero)) .withColumn("bb", transform(col("arrayColumnName"),
阅读全文
posted @ 2022-12-14 16:58 ivyJ
阅读(74)
评论(0)
推荐(0)
dataFrame把字符串数组"[0.1,0.2]"转换array<double>,把字符串数组“['2021-01-01','2021-01-02','2021-01-03']”转换为array<string>,把字符串日期转换为Date
摘要: import org.apache.spark.sql.functions.{col, regexp_replace, to_date, udf} 把字符串数组"[0.1,0.2]"转换array<double>:frame = frame.withColumn("ArrayDoubleValue"
阅读全文
posted @ 2022-12-14 16:54 ivyJ
阅读(103)
评论(0)
推荐(0)
2022年11月16日
apache beam 学习网站
摘要: https://www.infoq.cn/article/FEWsJM_OtH6xSH4KxKFN https://mp.weixin.qq.com/s?__biz=MzU1NDA4NjU2MA==&mid=2247486109&idx=1&sn=07505c089eda36bfa474827ad5
阅读全文
posted @ 2022-11-16 17:53 ivyJ
阅读(16)
评论(0)
推荐(0)
No filesystem found for scheme gs
摘要: <dependency> <groupId>org.apache.beam</groupId> <artifactId> beam-sdks-java-io-google-cloud-platform </artifactId> <version>2.42.0</version></dependen
阅读全文
posted @ 2022-11-16 15:00 ivyJ
阅读(58)
评论(0)
推荐(0)
2022年11月8日
在pycharm里安装pandas库
摘要: 在pycharm终端输入pip install pandas 可以直接安装整个txt文件的组件,pip install 文件
阅读全文
posted @ 2022-11-08 10:53 ivyJ
阅读(622)
评论(0)
推荐(0)
2022年11月3日
clickhouse建表和sql语句文档
摘要: https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/replacingmergetree#replacingmergetree
阅读全文
posted @ 2022-11-03 17:56 ivyJ
阅读(55)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
10
下一页
公告