Class: Blazer::Adapters::BaseAdapter
- Inherits:
-
Object
- Object
- Blazer::Adapters::BaseAdapter
show all
- Defined in:
- lib/blazer/adapters/base_adapter.rb
Direct Known Subclasses
AthenaAdapter, BigQueryAdapter, CassandraAdapter, DrillAdapter, DruidAdapter, ElasticsearchAdapter, HiveAdapter, IgniteAdapter, InfluxdbAdapter, Neo4jAdapter, OpensearchAdapter, PrestoAdapter, SalesforceAdapter, SodaAdapter, SqlAdapter
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
Returns a new instance of BaseAdapter.
[View source]
6
7
8
|
# File 'lib/blazer/adapters/base_adapter.rb', line 6
def initialize(data_source)
@data_source = data_source
end
|
Instance Attribute Details
permalink
#data_source ⇒ Object
Returns the value of attribute data_source.
4
5
6
|
# File 'lib/blazer/adapters/base_adapter.rb', line 4
def data_source
@data_source
end
|
Instance Method Details
permalink
#cachable?(statement) ⇒ Boolean
[View source]
57
58
59
|
# File 'lib/blazer/adapters/base_adapter.rb', line 57
def cachable?(statement)
true end
|
permalink
#cancel(run_id) ⇒ Object
[View source]
53
54
55
|
# File 'lib/blazer/adapters/base_adapter.rb', line 53
def cancel(run_id)
end
|
permalink
#cohort_analysis_statement(statement, period:, days:) ⇒ Object
[View source]
65
66
67
|
# File 'lib/blazer/adapters/base_adapter.rb', line 65
def cohort_analysis_statement(statement, period:, days:)
end
|
permalink
#cost(statement) ⇒ Object
[View source]
45
46
47
|
# File 'lib/blazer/adapters/base_adapter.rb', line 45
def cost(statement)
end
|
permalink
#explain(statement) ⇒ Object
[View source]
49
50
51
|
# File 'lib/blazer/adapters/base_adapter.rb', line 49
def explain(statement)
end
|
permalink
#parameter_binding ⇒ Object
[View source]
21
22
23
24
25
26
27
|
# File 'lib/blazer/adapters/base_adapter.rb', line 21
def parameter_binding
end
|
permalink
#preview_statement ⇒ Object
[View source]
37
38
39
|
# File 'lib/blazer/adapters/base_adapter.rb', line 37
def preview_statement
"" end
|
[View source]
14
15
16
17
18
19
|
# File 'lib/blazer/adapters/base_adapter.rb', line 14
def quoting
end
|
permalink
#reconnect ⇒ Object
[View source]
41
42
43
|
# File 'lib/blazer/adapters/base_adapter.rb', line 41
def reconnect
end
|
permalink
#run_statement(statement, comment) ⇒ Object
[View source]
10
11
12
|
# File 'lib/blazer/adapters/base_adapter.rb', line 10
def run_statement(statement, )
end
|
[View source]
33
34
35
|
# File 'lib/blazer/adapters/base_adapter.rb', line 33
def schema
[] end
|
permalink
#supports_cohort_analysis? ⇒ Boolean
[View source]
61
62
63
|
# File 'lib/blazer/adapters/base_adapter.rb', line 61
def supports_cohort_analysis?
false end
|
[View source]
29
30
31
|
# File 'lib/blazer/adapters/base_adapter.rb', line 29
def tables
[] end
|