上一页 1 ··· 61 62 63 64 65 66 67 68 69 ··· 484 下一页
摘要: Hive自身查询语言HQL能完毕大部分的功能,但遇到特殊需求时,须要自己写UDF实现。下面是一个完整的案例。 1、eclipse中编写UDF 当我们在hive中使用自己定义的UDF的时候,hive会调用类中的evaluate方法来实现特定的功能 ③导出项目为jar文件。 注:项目的jdk与集群的jd 阅读全文
posted @ 2016-03-21 18:38 phlsheji 阅读(5889) 评论(0) 推荐(0) 编辑
摘要: Panzoom能够在支持SVG的浏览器中直接对SVG元素进行平移和缩放。IE8及下面的浏览器不支持这个插件。 在线演示:http://www.htmleaf.com/Demo/201503311604.html 下载地址:http://www.htmleaf.com/jQuery/Image-Eff 阅读全文
posted @ 2016-03-21 17:49 phlsheji 阅读(1718) 评论(0) 推荐(0) 编辑
摘要: 应用场景: MediaPlayer mediaPlayer = new MediaPlayer(); mediaPlayer.setOnCompletionListener(new OnCompletionListener() { @Override public void onCompletion 阅读全文
posted @ 2016-03-21 17:13 phlsheji 阅读(893) 评论(0) 推荐(1) 编辑
摘要: 先看效果图: 写一个超连接支持的对象: 阅读全文
posted @ 2016-03-21 17:09 phlsheji 阅读(572) 评论(0) 推荐(0) 编辑
摘要: 字符转换为数字: 数字转换为字符: 【以上库函数能够用于进制的转换】 类似函数还有: 【注意:以上操作都要求目标字符数组有足够的存储空间】 其他函数: 注意: strncpy( ) , strncat( ) , strncmp( ) ,这些函数仅仅能对两个不同的字符串操作,不能对同一字符串的不同部分 阅读全文
posted @ 2016-03-17 13:50 phlsheji 阅读(5028) 评论(0) 推荐(0) 编辑
摘要: 1.Eclispe安装就不说了 2.以下说说怎样安装ADT插件。有两种途径: (1)在线安装: 地址:https://dl-ssl.google.com/android/eclipse/(只是近期天朝把谷歌封了) (2)下载安装: 安装包:ADT24.0.zip,这个自己上网搜,非常多资源的 安装完 阅读全文
posted @ 2016-03-17 11:00 phlsheji 阅读(323) 评论(0) 推荐(0) 编辑
摘要: Method 1: Add one list into the other list. For example, if list1is {22, 33, 44, 55} and list2 is {66, 77, 88, 99},then append(list1, list2)will chang 阅读全文
posted @ 2016-03-17 09:39 phlsheji 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 一. 传统集合: 传统方式下的Collection在迭代集合时, 不同意对集合进行改动: 产生下面异常: 二. 同步集合: JDK5提供了例如以下一些同步集合类: ConcurrentHashMap --> 并发条件下使用,和HashMap继承同一个类,在每一个方法上都加了“锁” CopyOnWri 阅读全文
posted @ 2016-03-17 08:02 phlsheji 阅读(372) 评论(0) 推荐(0) 编辑
摘要: For a particular table, you can find which columns are part of the Supplemental Log group with the query below: For a particular table, you can find o 阅读全文
posted @ 2016-03-16 21:31 phlsheji 阅读(3303) 评论(0) 推荐(0) 编辑
摘要: 近期换工作。项目中推荐使用Cocoapod,把经常使用的第三方库增加到project中,大致说一下流程,标记一下。 第一步:安装 CocoaPods是跑在Ruby的软件,安装可能须要几分钟。打开你的终端输入: sudo gem install cocoapods 第一次会出现错误: ERROR: C 阅读全文
posted @ 2016-03-16 20:53 phlsheji 阅读(457) 评论(0) 推荐(0) 编辑
上一页 1 ··· 61 62 63 64 65 66 67 68 69 ··· 484 下一页