Log4J的配置文件(ConfigurationFile)就是用来设置记录器的级别、存放器和布局的,它可接key=value格式的设置或xml格式的设置信息。通过配置,可以创建出Log4J的运行环境。1.配置文件Log4J配置文件的基本格式如下: 1 #配置根Logger 2 log4j.rootL...
分类:
其他好文 时间:
2014-12-26 14:13:56
阅读次数:
210
--alter table HistoryData drop constraint PK_HistoryData
alter table HistoryData add constraint PK_HistoryData primary key (CollectionTime,Code)
更改主键
delete from HistoryData where CollectionTim...
分类:
数据库 时间:
2014-12-26 13:08:49
阅读次数:
216
Events, Protocols and Delegates 事件、协议和委托This article presents the key iOS technologies used to receive callbacks and to populate user interface contr....
分类:
其他好文 时间:
2014-12-26 12:59:44
阅读次数:
291
$item){ if(is_object($item) || is_array($item)){ $arr_xml[$key] = xmlToArray($item); } } return $arr_xml...
分类:
编程语言 时间:
2014-12-26 12:44:34
阅读次数:
123
Basic plan for in-place sort.
a.Create max-heap with all N keys.
b.Repeatedly remove the maximum key.
Procesure
#include
#include
int N=11;
char a[]={' ','S','E','E','L','M','O','P','R','S','T','...
分类:
其他好文 时间:
2014-12-26 09:42:19
阅读次数:
186
Merge是一个很实用的功能,相似于Mysql里的insert into on duplicate key. Oracle在9i引入了merge命令, 通过这个merge你可以在一个SQL语句中对一个表同一时候运行inserts和updates操作. 当然是update还是insert是根据于你.....
分类:
其他好文 时间:
2014-12-26 09:39:27
阅读次数:
158
hive与hbase数据类型对应关系
当hbase中double,int 类型以byte方式存储时,用字符串取出来必然是乱码。
在hivd与hbase整合时也遇到这个问题:做法是:#b
1.加#b
CREATE EXTERNAL TABLE hivebig (key string,CUST_NAME string,PHONE_NUM int,BRD_WORK_FLUX double)
...
分类:
其他好文 时间:
2014-12-26 06:15:48
阅读次数:
378
1. array array_merge(array $array1[, array $...])
合并一个或多个数组的元素,将后面的元素追加到前面的元素后面,并返回结果数组。
当参数只有一个数组并且该数组的key为numeric时,该数组的key会被从0开始重新计算。
如果数组的key是字符串,则当key出现重复时,后面的值会覆盖前面的值。
如果数组的key是整数时,则当key出...
分类:
编程语言 时间:
2014-12-25 22:08:17
阅读次数:
182
free throw line extended罚球线向两侧延伸直到边线(side line)之间的区域post up背打。更具体的解释为:进入低位位置(establish a position in the low post)low post三秒区的底端。high post三秒区的顶端。key三秒...
分类:
其他好文 时间:
2014-12-25 21:55:10
阅读次数:
190
array_change_key_case — 返回字符串键名全为小写或大写的数组array_chunk — 将一个数组分割成多个array_combine — 创建一个数组,用一个数组的值作为其键名,另一个数组的值作为其值array_count_values — 统计数组中所有的值出现的次数arr...
分类:
Web程序 时间:
2014-12-25 20:17:04
阅读次数:
182