上一页 1 ··· 128 129 130 131 132 133 134 135 136 ··· 229 下一页
摘要: 1. hdfs定义HDFS is the primary distributed storage used by Hadoop applications. A HDFS cluster primarily consists of a NameNode that manages the file sy... 阅读全文
posted @ 2015-08-31 16:45 一天不进步,就是退步 阅读(3268) 评论(0) 推荐(0) 编辑
摘要: 读文件http://www.baeldung.com/java-read-fileJava – Read from File1. OverviewIn this tutorial we’ll explore different ways toread from a File in Java; we’... 阅读全文
posted @ 2015-08-28 16:40 一天不进步,就是退步 阅读(475) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://www.baeldung.com/java-read-lines-large-file1. OverviewThis tutorial will showhow to read all the lines from a large file in Javain an effi... 阅读全文
posted @ 2015-08-28 15:43 一天不进步,就是退步 阅读(593) 评论(0) 推荐(0) 编辑
摘要: 1. 从请求中获取MultipartFile @RequestMapping(value="/upload", method=RequestMethod.POST) public @ResponseBody String handleFileUpload( @Re... 阅读全文
posted @ 2015-08-28 15:30 一天不进步,就是退步 阅读(1742) 评论(0) 推荐(1) 编辑
摘要: 原文地址:http://xixinfei.iteye.com/blog/2002017含义 ENCTYPE="multipart/form-data" 说明:通过 http 协议上传文件 rfc1867协议概述,jsp 应用举例,客户端发送内容构造1、概述在最初的 http 协议中,没有上传文件方面... 阅读全文
posted @ 2015-08-27 13:10 一天不进步,就是退步 阅读(13958) 评论(0) 推荐(1) 编辑
摘要: 原文地址:http://winterbe.com/posts/2014/07/31/java8-stream-tutorial-examples/This example-driven tutorial gives an in-depth overview about Java 8 streams.... 阅读全文
posted @ 2015-08-26 15:29 一天不进步,就是退步 阅读(1822) 评论(1) 推荐(0) 编辑
摘要: 上文solr源码分析之数据导入DataImporter追溯中提到了solr的工作流程,其核心是各种handler。handler定义了各种search Component, @Override public void handleRequestBody(SolrQueryRequest req,... 阅读全文
posted @ 2015-08-25 19:10 一天不进步,就是退步 阅读(1350) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://www.javaworld.com/article/2078654/java-se/java-se-five-ways-to-maximize-java-nio-and-nio-2.htmlJava NIO -- the New Input/Output API packag... 阅读全文
posted @ 2015-08-25 17:38 一天不进步,就是退步 阅读(356) 评论(0) 推荐(0) 编辑
摘要: 若要搜索的信息都是被存储在数据库里面的,但是solr不能直接搜数据库,所以只有借助Solr组件将要搜索的信息在搜索服务器上进行索引,然后在客户端供客户使用。1. SolrDispatchFilterSolrDispatchFilter的作用:将请求的url映射到定义在solrconfig.xml... 阅读全文
posted @ 2015-08-24 15:55 一天不进步,就是退步 阅读(2387) 评论(0) 推荐(0) 编辑
摘要: spark特性: 提供了java scala python 和R的api支持。 在生产环境上扩展超过8000个节点。 可以在内存中缓存交互中间数据的能力:提炼一个工作集合,缓存它,反复查询。 低级别的水平伸缩的数据检索可以通过scala或者python 命令行进行交互。 高级别的流处理库s... 阅读全文
posted @ 2015-08-21 15:11 一天不进步,就是退步 阅读(418) 评论(0) 推荐(0) 编辑
上一页 1 ··· 128 129 130 131 132 133 134 135 136 ··· 229 下一页