Class: Dynamoid::AdapterPlugin::AwsSdkV3::ProjectionExpressionConvertor

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(names, name_placeholders, name_placeholder_sequence) ⇒ ProjectionExpressionConvertor

Returns a new instance of ProjectionExpressionConvertor.



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

def initialize(names, name_placeholders, name_placeholder_sequence)
  @names = names
  @name_placeholders = name_placeholders.dup
  @name_placeholder_sequence = name_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/projection_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/projection_expression_convertor.rb', line 8

def name_placeholders
  @name_placeholders
end