Module: Dynamodb::Api::Relation
- Includes:
- QueryMethods
- Included in:
- Base
- Defined in:
- lib/dynamodb/api/relation.rb,
lib/dynamodb/api/relation/from_clause.rb,
lib/dynamodb/api/relation/limit_clause.rb,
lib/dynamodb/api/relation/order_clause.rb,
lib/dynamodb/api/relation/where_clause.rb,
lib/dynamodb/api/relation/filter_clause.rb,
lib/dynamodb/api/relation/query_methods.rb,
lib/dynamodb/api/relation/select_clause.rb,
lib/dynamodb/api/relation/global_secondary_index.rb,
lib/dynamodb/api/relation/expression_attribute_names.rb
Overview
:nodoc:
Defined Under Namespace
Modules: QueryMethods Classes: ExpressionAttributeNames, FilterClause, FromClause, GlobalSecondaryIndex, LimitClause, OrderClause, SelectClause, WhereClause
Instance Attribute Summary collapse
-
#attr_expression_attribute ⇒ Object
Returns the value of attribute attr_expression_attribute.
-
#filter_clause ⇒ Object
Returns the value of attribute filter_clause.
-
#from_clause ⇒ Object
Returns the value of attribute from_clause.
-
#index_clause ⇒ Object
Returns the value of attribute index_clause.
-
#limit_clause ⇒ Object
Returns the value of attribute limit_clause.
-
#order_clause ⇒ Object
Returns the value of attribute order_clause.
-
#select_clause ⇒ Object
Returns the value of attribute select_clause.
-
#where_clause ⇒ Object
Returns the value of attribute where_clause.
Instance Method Summary collapse
Methods included from QueryMethods
#filter, #from, #index, #limit, #order, #select, #where
Instance Attribute Details
#attr_expression_attribute ⇒ Object
Returns the value of attribute attr_expression_attribute.
15 16 17 |
# File 'lib/dynamodb/api/relation.rb', line 15 def attr_expression_attribute @attr_expression_attribute end |
#filter_clause ⇒ Object
Returns the value of attribute filter_clause.
14 15 16 |
# File 'lib/dynamodb/api/relation.rb', line 14 def filter_clause @filter_clause end |
#from_clause ⇒ Object
Returns the value of attribute from_clause.
10 11 12 |
# File 'lib/dynamodb/api/relation.rb', line 10 def from_clause @from_clause end |
#index_clause ⇒ Object
Returns the value of attribute index_clause.
9 10 11 |
# File 'lib/dynamodb/api/relation.rb', line 9 def index_clause @index_clause end |
#limit_clause ⇒ Object
Returns the value of attribute limit_clause.
16 17 18 |
# File 'lib/dynamodb/api/relation.rb', line 16 def limit_clause @limit_clause end |
#order_clause ⇒ Object
Returns the value of attribute order_clause.
12 13 14 |
# File 'lib/dynamodb/api/relation.rb', line 12 def order_clause @order_clause end |
#select_clause ⇒ Object
Returns the value of attribute select_clause.
11 12 13 |
# File 'lib/dynamodb/api/relation.rb', line 11 def select_clause @select_clause end |
#where_clause ⇒ Object
Returns the value of attribute where_clause.
13 14 15 |
# File 'lib/dynamodb/api/relation.rb', line 13 def where_clause @where_clause end |
Instance Method Details
#expression_attribute ⇒ Object
18 19 20 21 22 23 24 |
# File 'lib/dynamodb/api/relation.rb', line 18 def expression_attribute if attr_expression_attribute.nil? self.attr_expression_attribute = Relation::ExpressionAttributeNames.new else attr_expression_attribute end end |