摘要:
按照链接http://blog.csdn.net/qq_32166627/article/details/51823928 安装完成hive后,如果启动的时候碰到message:Hive Schema version 2.1.0 does not match错误,那么就需要进入/$HIVE... 阅读全文
摘要:
二:更改hive表结构语句: 1:更改表名称,使用rename toalter table test_another_location rename to test_location; 阅读全文
摘要:
一:hive建表语句create table page_view(page_id bigint comment '页面ID',page_name string comment '页面名称',page_url string comment '页面URL')comment '页面视图'parti... 阅读全文
摘要:
目前在MySQL里建表的时候,通常使用如下的方式:create student (student_id int(10) not null auto_increment,name varchar(20),sex varchar(2),birthday varchar(20),primary ... 阅读全文
摘要:
先来看下JAXB入门资料:http://popomonkey.iteye.com/blog/684285 接下来,直接来看例子: package javaToXml;import java.util.Set;import javax.xml.bind.annota... 阅读全文
摘要:
public class ClassUtil { private static final String METHOD_PREFIX = "get"; // 约定俗称的getter()方法前缀 /** * 根据field名称获取field的值 * 当field允许... 阅读全文
摘要:
参见 http://jingyan.baidu.com/article/7c6fb4285e041680642c90e6.html 阅读全文
摘要:
对复杂语句可以用sql包含的关系来完成,例如: include refid="test"/> 对于不确定的sql可以使用动态判定的办法: isNotEmpty、isEqual 如果要循环一个列表的话(目前Ibatis只支持list循环)#property 如果要添加order ... 阅读全文
摘要:
在Python里,或许我们没有这个烦恼,因为python里已经为我们提供了intersection这样的方法。 但是在Java里,就需要我们动一番脑筋了。这里浓重推荐下apache的CollectionUtils工具类。 方法签名如下所示: org.ap... 阅读全文
摘要:
首先来看浮动定位的例子: 查看详情 CSS代码如下所示: .content{ width:100px; text-align:center; margin:100px;}.linkHred{ position:relative;}.tips{ height:43px; width:178p... 阅读全文