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

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)


77
78
79
# File 'lib/logstash/plugin_mixins/jdbc_streaming/statement_handler.rb', line 77

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