Adds a method, bitcoinTransactionFile, to SQLContext that allows reading Bitcoin blockchain data as Bitcoin transactions.
Defines the schema of a BitcoinTransaction for Spark SQL
Defines a Spark data source for Bitcoin Blockchcain based on hadoopcryptoledgerlibrary.
Defines a Spark data source for Bitcoin Blockchcain based on hadoopcryptoledgerlibrary. This is read-only for existing data. It returns BitcoinBlocks.
Author: Jörn Franke <zuinnote@gmail.com>
Author: Jörn Franke <zuinnote@gmail.com>
Extension of DefaultSource (which is Spark 1.3 and 1.4 compatible) for Spark 1.5 compatibility. Since the class is loaded through META-INF/services we can decouple the two to have Spark 1.5 byte-code loaded lazily.
This trick is adapted from spark elasticsearch-hadoop data source: <https://github.com/elastic/elasticsearch-hadoop>
Author: Jörn Franke <zuinnote@gmail.com>