Class: AppEngine::MapReduce::DatastoreInputFormat
- Inherits:
-
Object
- Object
- AppEngine::MapReduce::DatastoreInputFormat
- Defined in:
- lib/appengine-mapreduce/datastore_input_format.rb
Instance Attribute Summary collapse
-
#kind ⇒ Object
Returns the value of attribute kind.
Instance Method Summary collapse
-
#initialize(kind) ⇒ DatastoreInputFormat
constructor
A new instance of DatastoreInputFormat.
- #to_conf_properties ⇒ Object
Constructor Details
#initialize(kind) ⇒ DatastoreInputFormat
Returns a new instance of DatastoreInputFormat.
8 9 10 |
# File 'lib/appengine-mapreduce/datastore_input_format.rb', line 8 def initialize kind self.kind = kind end |
Instance Attribute Details
#kind ⇒ Object
Returns the value of attribute kind.
6 7 8 |
# File 'lib/appengine-mapreduce/datastore_input_format.rb', line 6 def kind @kind end |
Instance Method Details
#to_conf_properties ⇒ Object
12 13 14 |
# File 'lib/appengine-mapreduce/datastore_input_format.rb', line 12 def to_conf_properties { DatastoreInputFormat::ENTITY_KIND_KEY => kind } end |