一、简单聚合 1.1 数据准备 注:emp.json 可以从本仓库的 "resources" 目录下载。 1.2 count 1.3 countDistinct 1.4 approx_count_distinct 通常在使用大型数据集时,你可能关注的只是近似值而不是准确值,这时可以使用 approx ...
分类:
数据库 时间:
2019-08-14 09:29:19
阅读次数:
202
超级折磨人 在网上搜到的解决方案: 技术交流群 : 816227112 修改 和 原文 : https://www.cnblogs.com/yanyunliu/p/9247592.html ...
分类:
Web程序 时间:
2019-08-11 21:29:22
阅读次数:
1339
Nginx的产生 没有听过Nginx?那么一定听过它的"同行"Apache吧!Nginx同Apache一样都是一种WEB服务器。基于REST架构风格,以统一资源描述符(Uniform Resources Identifier)URI或者统一资源定位符(Uniform Resources Locato ...
分类:
其他好文 时间:
2019-08-11 15:20:27
阅读次数:
54
1. time 2. streams 3. try with resources 4. 函数扩展,给types、classes或者interfaces新增方法 5. null safe 6. 不需要new,后缀声明类型 7. 自动转换有getters和setters综合属性的类型,例如自动替换get ...
分类:
其他好文 时间:
2019-08-11 13:33:42
阅读次数:
89
springboot 的启动器默认设置会去下面四个路径寻找文件:所以是不需要再properties文件或者yml文件中再配置信息了 "classpath:/META-INF/resources/", "classpath:/resources/","classpath:/static/", "cla ...
分类:
编程语言 时间:
2019-08-11 10:32:03
阅读次数:
318
注解开发是省了IUserDao.xml这个映射文件里面的配置 环境搭建 首先是packaging标签。输入jar 需要准备一个实体类。生成getter和setter还有toString方法 创建dao接口。先写一个查询所有的接口 按照原来的要求需要在resources下创建Directory也就是文 ...
分类:
其他好文 时间:
2019-08-10 21:40:42
阅读次数:
96
django 创建项目时遇到的一些问题: 创建mysite项目: django-admin startproject mysite 报错信息: pkg_resources.DistributionNotFound: The 'sqlparse' distribution was not found ...
分类:
编程语言 时间:
2019-08-10 21:35:44
阅读次数:
148
第一种:大多数网上搜到的情况(不靠谱) 第一步:windows-->properties-->General-->Content Types-->text(如下图) 第二步:properties右键单击-->properties-->resources-->text file encoding--> ...
分类:
系统相关 时间:
2019-08-10 17:46:25
阅读次数:
102
1、到阿里云下载证书页面下载证书 2、根据页面内容,可以使用2种证书:PFX JKS 把对应证书放到src/main/resources目录下 在application.properties文件中加入配置 PFX: server.ssl.key-store: classpath:666.pfx se ...
分类:
编程语言 时间:
2019-08-09 11:58:12
阅读次数:
123
https://github.com/dipakkr/A-to-Z-Resources-for-Students 下面是作者对自己的github项目的简要介绍: Are you a college student or a working professional looking for resou ...
分类:
其他好文 时间:
2019-08-06 14:21:40
阅读次数:
180