columns
, but as a String suitable for injection into a SQL query.
columns
, but as a String suitable for injection into a SQL query.
Runs the SQL query against the JDBC driver.
Runs the SQL query against the JDBC driver.
filters
, but as a WHERE clause suitable for injection into a SQL query.
filters
, but as a WHERE clause suitable for injection into a SQL query.
(Since version 1.0.0) use mapPartitionsWithIndex and filter
(Since version 1.0.0) use mapPartitionsWithIndex and flatMap
(Since version 1.0.0) use mapPartitionsWithIndex and foreach
(Since version 1.2.0) use TaskContext.get
(Since version 0.7.0) use mapPartitionsWithIndex
(Since version 1.0.0) use mapPartitionsWithIndex
(Since version 1.0.0) use collect
A scanner RDD which is very specific to Snappy store row tables. This scans row tables in parallel unlike Spark's inbuilt JDBCRDD. Most of the code is copy of JDBCRDD. We had to copy a lot of stuffs as JDBCRDD has a lot of methods as private.