Class: LogStash::PluginMixins::JdbcStreaming::InterpolatedParameter

Inherits:
ParameterHandler
  • Object
show all
Defined in:
lib/logstash/plugin_mixins/jdbc_streaming/parameter_handler.rb

Instance Attribute Summary

Attributes inherited from ParameterHandler

#given_value

Instance Method Summary collapse

Methods inherited from ParameterHandler

build_bind_value_handler, build_parameter_handler, #initialize

Constructor Details

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

Instance Method Details

#extract_from(event) ⇒ Object



48
49
50
# File 'lib/logstash/plugin_mixins/jdbc_streaming/parameter_handler.rb', line 48

def extract_from(event)
  event.sprintf(@given_value)
end