上一页 1 ··· 6 7 8 9 10 11 下一页

2017年11月9日

maven构建geotools应用工程

摘要: 前置条件 jdk1.7+eclipse+maven POM配置 程序 阅读全文

posted @ 2017-11-09 15:51 李雷 阅读(1812) 评论(0) 推荐(0)

eclipse构建maven+scala+spark工程

摘要: 前提条件 下载安装Scala IDE build of Eclipse SDK 构建工程 1、新建maven工程 2、配置项目信息 3、新建scala对应的Source Folder 4、添加scala对应Archetype 5、配置pom.xml添加依赖包 到此项目部署配置完成。 运行scala程 阅读全文

posted @ 2017-11-09 10:38 李雷 阅读(333) 评论(0) 推荐(0)

2017年11月8日

mapreduce解析执行sql流程

摘要: 样例准备 条件过滤 sql:select * from student where sex='male'; mr:该操作属于比较简单的操作,直接在map阶段对数据进行过滤操作即可。 分组统计 sql:select class_name,count(*) from student group by c 阅读全文

posted @ 2017-11-08 16:15 李雷 阅读(717) 评论(0) 推荐(0)

Container With Most Water 容器最大水容量

摘要: 描述 Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two en 阅读全文

posted @ 2017-11-08 14:10 李雷 阅读(492) 评论(0) 推荐(0)

socket阻塞IO流程图

摘要: 单线程 多线程 阅读全文

posted @ 2017-11-08 13:42 李雷 阅读(290) 评论(1) 推荐(0)

java非阻塞IO(NIO)流程

摘要: 单线程 多线程(Netty/Mina) 阅读全文

posted @ 2017-11-08 13:04 李雷 阅读(588) 评论(0) 推荐(0)

依赖注入优缺点分析

摘要: 背景 项目开发要求: 1、增加程序重用 2、模块功能单一 3、方便测试 4、需求变更,减少程序开发 实际应用场景 以两种日志记录和数据库使用两种场景来分析 1、日志记录:有时需要调试分析,需要记录日志信息,这时可以采用输出到控制台、文件、数据库、远程服务器等;假设最初采用输出到控制台,直接在程序中实 阅读全文

posted @ 2017-11-08 11:00 李雷 阅读(7455) 评论(0) 推荐(1)

全排列Permutations

摘要: 描述 Given a collection of numbers, return all possible permutations.For example,[1,2,3] have the following permutations:[1,2,3], [1,3,2], [2,1,3], [2,3 阅读全文

posted @ 2017-11-08 10:05 李雷 阅读(210) 评论(0) 推荐(0)

2017年11月7日

Generate Parentheses

摘要: 描述 Given n pairs of parentheses, write a function to generate all combinations of wellformed parentheses.For example, given n = 3, a solution set is:" 阅读全文

posted @ 2017-11-07 16:27 李雷 阅读(160) 评论(0) 推荐(0)

elasticsearch地理空间操作简单操作

摘要: 创建索引库 录入数据 范围查询 阅读全文

posted @ 2017-11-07 16:02 李雷 阅读(325) 评论(0) 推荐(0)

上一页 1 ··· 6 7 8 9 10 11 下一页

导航