在项目中有时需要根据需要在自己new一个对象,或者在某些util方法或属性中获取Spring Bean对象,从而完成某些工作,但是由于自己new的对象和util方法并不是受Spring所管理的,如果直接在所依赖的属性 ...
分类:
编程语言 时间:
2018-06-10 11:47:30
阅读次数:
184
A supply chain is a network of retailers(零售商), distributors(经销商), and suppliers(供应商)-- everyone involved in moving a product from supplier to customer ...
分类:
其他好文 时间:
2018-06-09 20:32:42
阅读次数:
187
Structured Streaming最主要的生产环境应用场景就是配合kafka做实时处理,不过在Strucured Streaming中kafka的版本要求相对搞一些,只支持0.10及以上的版本。就在前一个月,我们才从0.9升级到0.10,终于可以尝试structured streaming的很 ...
分类:
其他好文 时间:
2018-06-05 20:05:26
阅读次数:
367
Pandas 安装 anaconda 安装: conda list pandas 查看是否已经安装 conda install pandas conda update pandas pip 安装 pip install pandas apt 安装 sudo apt get install pytho ...
分类:
其他好文 时间:
2018-06-02 00:39:39
阅读次数:
200
000 | 00000 | SQL语句成功完成 01xxx | SQL语句成功完成,但是有警告 +012 | 01545 | 未限定的列名被解释为一个有相互关系的引用 +098 | 01568 | 动态SQL语句用分号结束 +100 | 02000 | 没有找到满足SQL语句的行 +110 | 01 ...
分类:
数据库 时间:
2018-06-01 16:48:26
阅读次数:
212
question: For each of the two conditions in the inner for loop in insertion sort (ALGORITHM 2.2), describe an array of N items where that condition is ...
分类:
其他好文 时间:
2018-05-29 16:18:40
阅读次数:
144
关键:查看kafka官网的userGuide 配置文件: agent.sources = r1agent.sinks = k1agent.channels = c1 ## sources configagent.sources.r1.type = org.apache.flume.source.ka ...
分类:
其他好文 时间:
2018-05-29 00:11:16
阅读次数:
171
题目描述 定义栈的数据结构,请在该类型中实现一个能够得到栈最小元素的min函数。 思路:借助一个辅助栈,压入时判断辅助栈是否为空或者要压入的元素比栈顶元素小,弹出是判断,要弹出元素是否为辅助栈栈顶,是则弹出。min函数则是返回辅助栈栈顶元素。 代码: class Solution { private ...
分类:
其他好文 时间:
2018-05-28 14:58:38
阅读次数:
128
1、通过传递numpy数组,使用datetime索引和标记列来创建DataFrame 2、通过传递可以转换为类似系列的对象的字典来创建DataFrame 3、 4、 5、描述显示数据的快速统计摘要 6、调换数据 行列转换 类似矩阵转置 7、通过轴排序 8、 9、 ...
分类:
其他好文 时间:
2018-05-25 21:20:33
阅读次数:
369
1:环境准备 jdk 推荐oracle,不建议open sdk 在/etc/profile加入下列环境变量 在PATH中将jdk和jre的bin加入path里面 2:安装zookeeper 下载zookeeper tar url: https://archive.apache.org/dist/zo ...
分类:
其他好文 时间:
2018-05-24 15:14:01
阅读次数:
193