Class: NoSE::Backend::Backend::IndexLookupStatementStep

Inherits:
StatementStep show all
Defined in:
lib/nose/backend.rb

Overview

Look up data on an index in the backend

Instance Attribute Summary

Attributes inherited from StatementStep

#index

Instance Method Summary collapse

Methods included from Supertype

included

Constructor Details

#initialize(client, _select, _conditions, step, next_step, prev_step) ⇒ IndexLookupStatementStep

Returns a new instance of IndexLookupStatementStep.



148
149
150
151
152
153
154
155
156
157
158
# File 'lib/nose/backend.rb', line 148

def initialize(client, _select, _conditions,
               step, next_step, prev_step)
  @client = client
  @step = step
  @index = step.index
  @prev_step = prev_step
  @next_step = next_step

  @eq_fields = step.eq_filter
  @range_field = step.range_filter
end