Class: Dynamodb::Api::Base

Inherits:
Object
  • Object
show all
Includes:
Relation
Defined in:
lib/dynamodb/api/base.rb

Overview

:nodoc:

Direct Known Subclasses

Query, Scan

Instance Attribute Summary collapse

Attributes included from Relation

#attr_expression_attribute, #filter_clause, #from_clause, #index_clause, #limit_clause, #order_clause, #select_clause, #where_clause

Instance Method Summary collapse

Methods included from Relation

#expression_attribute

Methods included from Relation::QueryMethods

#filter, #from, #index, #limit, #order, #select, #where

Instance Attribute Details

#last_evaluated_keyObject

Returns the value of attribute last_evaluated_key.



9
10
11
# File 'lib/dynamodb/api/base.rb', line 9

def last_evaluated_key
  @last_evaluated_key
end

Instance Method Details

#allObject

Raises:

  • (NotImplementedError)


11
12
13
# File 'lib/dynamodb/api/base.rb', line 11

def all
  raise NotImplementedError, "You must implement #{self.class}##{__method__}"
end

#nextObject

Raises:

  • (NotImplementedError)


15
16
17
# File 'lib/dynamodb/api/base.rb', line 15

def next
  raise NotImplementedError, "You must implement #{self.class}##{__method__}"
end