Class: LogStash::PluginMixins::JdbcStreaming::NormalStatementHandler

Inherits:
StatementHandler
  • Object
show all
Includes:
Util::Loggable
Defined in:
lib/logstash/plugin_mixins/jdbc_streaming/statement_handler.rb

Instance Attribute Summary

Attributes inherited from StatementHandler

#cache, #parameters, #statement

Instance Method Summary collapse

Methods inherited from StatementHandler

build_statement_handler, #initialize

Methods included from LogStash::PluginMixins::Jdbc::ValueHandler

#decorate_value, #extract_values_from

Constructor Details

This class inherits a constructor from LogStash::PluginMixins::JdbcStreaming::StatementHandler

Instance Method Details

#cache_lookup(db, event) ⇒ Object

Get from cache or performs remote lookup and saves to cache

Parameters:

  • db (Sequel::Database)
  • event (LogStash::Event)


83
84
85
# File 'lib/logstash/plugin_mixins/jdbc_streaming/statement_handler.rb', line 83

def cache_lookup(db, event)
  common_cache_lookup(db, event)
end