通过Spark SQL External Data Sources JDBC实现将RDD的数据写入到MySQL数据库中。jdbc.scala重要API介绍:/** * Save this RDD to a JDBC database at `url` under the table name `ta...
分类:
数据库 时间:
2015-02-05 17:52:44
阅读次数:
1163
在传统的面向对象语言中,通常都会提供一种用于子类访问父类的特殊语法,因为我们在实现子类方法往往需要其父类方法的额外辅助。在这种情况下,子类通常就需要去调用父类中的同名方法,以便最终完成工作。接下来,让我们再对之前的示例做一些修改,在构建继承关系的过程中引入一个under属性,并令其指向其父级原型对象...
分类:
其他好文 时间:
2015-02-04 12:54:00
阅读次数:
168
/* * Copyright (C) 2014 Jason Fang ( ijasonfang@gmail.com ) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this...
分类:
其他好文 时间:
2015-02-04 10:56:37
阅读次数:
218
本人是奇葩,最近鼓捣了一套在mac上coding远程ubuntu上的theano代码的东东,记之以期造福后人。Overview: 下图是我的编程环境和网络环境我期望能在本地mac机器上对远程的ubuntu theano server进行write、run、debug、view matplotlib图...
分类:
系统相关 时间:
2015-02-03 17:04:37
阅读次数:
365
website:http://qtip2.com/qTip2 is dual-licensed under the open source MITand GPLv2 licenses. In short:you can use qTip2 in any project, commercial or ...
分类:
其他好文 时间:
2015-02-02 12:11:14
阅读次数:
239
直接从apuebook的网站下载源码,无法编译通过通过查看以下博客解决这个问题http://cocoa.venj.me/blog/compile-apue-example-code-under-lion/http://cunsheng.sinaapp.com/?p=360http://www.che...
分类:
系统相关 时间:
2015-01-31 17:35:35
阅读次数:
125
http://tomcat.apache.org/tomcat-7.0-doc/architecture/startup/serverStartup.txt Licensed to the Apache Software Foundation (ASF) under one or more co.....
分类:
其他好文 时间:
2015-01-30 22:22:16
阅读次数:
195
/******************************************************************************* * Copyright 2011, 2012 Chris Banes. * * Licensed under the Apache Lic...
分类:
其他好文 时间:
2015-01-28 21:15:08
阅读次数:
223
目的:记录 Zepto.js touch模块 源码阅读源码:// Zepto.js// (c) 2010-2015 Thomas Fuchs// Zepto.js may be freely distributed under the MIT license.;(functi...
分类:
Web程序 时间:
2015-01-28 17:23:57
阅读次数:
168
/* * Copyright (C) 2014 Jason Fang ( ijasonfang@gmail.com ) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this...
分类:
其他好文 时间:
2015-01-28 12:49:39
阅读次数:
198