Class: ActiveRecord::ConnectionAdapters::StatementPool
- Inherits:
-
Object
- Object
- ActiveRecord::ConnectionAdapters::StatementPool
show all
- Includes:
- Enumerable
- Defined in:
- activerecord/lib/active_record/connection_adapters/statement_pool.rb
Instance Method Summary
collapse
Methods included from Enumerable
#as_json, #each_with_object, #exclude?, #group_by, #index_by, #many?, #sum
Constructor Details
#initialize(connection, max = 1000) ⇒ StatementPool
Returns a new instance of StatementPool.
6
7
8
9
|
# File 'activerecord/lib/active_record/connection_adapters/statement_pool.rb', line 6
def initialize(connection, max = 1000)
@connection = connection
@max = max
end
|
Instance Method Details
19
20
21
|
# File 'activerecord/lib/active_record/connection_adapters/statement_pool.rb', line 19
def [](key)
raise NotImplementedError
end
|
#[]=(sql, key) ⇒ Object
27
28
29
|
# File 'activerecord/lib/active_record/connection_adapters/statement_pool.rb', line 27
def []=(sql, key)
raise NotImplementedError
end
|
31
32
33
|
# File 'activerecord/lib/active_record/connection_adapters/statement_pool.rb', line 31
def clear
raise NotImplementedError
end
|
#delete(key) ⇒ Object
35
36
37
|
# File 'activerecord/lib/active_record/connection_adapters/statement_pool.rb', line 35
def delete(key)
raise NotImplementedError
end
|
11
12
13
|
# File 'activerecord/lib/active_record/connection_adapters/statement_pool.rb', line 11
def each
raise NotImplementedError
end
|
#key?(key) ⇒ Boolean
15
16
17
|
# File 'activerecord/lib/active_record/connection_adapters/statement_pool.rb', line 15
def key?(key)
raise NotImplementedError
end
|
23
24
25
|
# File 'activerecord/lib/active_record/connection_adapters/statement_pool.rb', line 23
def length
raise NotImplementedError
end
|