Class: Dynamoid::AdapterPlugin::AwsSdkV3::FilterExpressionConvertor

Inherits:
Object
  • Object
show all
Defined in:
lib/dynamoid/adapter_plugin/aws_sdk_v3/filter_expression_convertor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(conditions, name_placeholders, value_placeholders, name_placeholder_sequence, value_placeholder_sequence) ⇒ FilterExpressionConvertor

Returns a new instance of FilterExpressionConvertor.



10
11
12
13
14
15
16
17
18
# File 'lib/dynamoid/adapter_plugin/aws_sdk_v3/filter_expression_convertor.rb', line 10

def initialize(conditions, name_placeholders, value_placeholders, name_placeholder_sequence, value_placeholder_sequence)
  @conditions = conditions
  @name_placeholders = name_placeholders.dup
  @value_placeholders = value_placeholders.dup
  @name_placeholder_sequence = name_placeholder_sequence
  @value_placeholder_sequence = value_placeholder_sequence

  build
end

Instance Attribute Details

#expressionObject (readonly)

Returns the value of attribute expression.



8
9
10
# File 'lib/dynamoid/adapter_plugin/aws_sdk_v3/filter_expression_convertor.rb', line 8

def expression
  @expression
end

#name_placeholdersObject (readonly)

Returns the value of attribute name_placeholders.



8
9
10
# File 'lib/dynamoid/adapter_plugin/aws_sdk_v3/filter_expression_convertor.rb', line 8

def name_placeholders
  @name_placeholders
end

#value_placeholdersObject (readonly)

Returns the value of attribute value_placeholders.



8
9
10
# File 'lib/dynamoid/adapter_plugin/aws_sdk_v3/filter_expression_convertor.rb', line 8

def value_placeholders
  @value_placeholders
end