Execute a SQL command and collect the results locally.
Execute a SQL command and collect the results locally.
The SQL command to be executed.
The max number of rows to retrieve for the result set.
A ResultSet object with both the schema and the query results.
Execute the command and return the results as a sequence.
Execute the command and return the results as a sequence. Each element in the sequence is one row.
Execute the command and print the results to console.
Execute a SQL command and return the results as a TableRDD.
Execute a SQL command and return the results as a TableRDD. The SQL command must be a SELECT statement.
Execute a SQL command and return the results as a RDD of Tuple.
Execute a SQL command and return the results as a RDD of Tuple. The SQL command must be a SELECT statement.
Execute a SQL command and return the results as a RDD of Seq.
Execute a SQL command and return the results as a RDD of Seq. The SQL command must be a SELECT statement. This is useful if the table has more than 22 columns (more than fits in tuples) NB: These are auto-generated using resources/tablerdd/SharkContext_sqlRdd_generator.py