Class: Blazer::Adapters::SparkAdapter
- Inherits:
-
HiveAdapter
- Object
- BaseAdapter
- HiveAdapter
- Blazer::Adapters::SparkAdapter
- Defined in:
- lib/blazer/adapters/spark_adapter.rb
Instance Attribute Summary
Attributes inherited from BaseAdapter
Instance Method Summary collapse
Methods inherited from HiveAdapter
#parameter_binding, #preview_statement, #run_statement
Methods inherited from BaseAdapter
#cachable?, #cancel, #cohort_analysis_statement, #cost, #explain, #initialize, #parameter_binding, #preview_statement, #reconnect, #run_statement, #schema, #supports_cohort_analysis?
Constructor Details
This class inherits a constructor from Blazer::Adapters::BaseAdapter
Instance Method Details
#quoting ⇒ Object
9 10 11 |
# File 'lib/blazer/adapters/spark_adapter.rb', line 9 def quoting :backslash_escape end |
#tables ⇒ Object
4 5 6 |
# File 'lib/blazer/adapters/spark_adapter.rb', line 4 def tables client.execute("SHOW TABLES").map { |r| r["tableName"] } end |