Module: Mongo::BulkWrite::Combineable Private
- Included in:
- OrderedCombiner, UnorderedCombiner
- Defined in:
- lib/mongo/bulk_write/combineable.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Defines behaviour around combiners
Instance Attribute Summary collapse
-
#requests ⇒ Array<Hash, BSON::Document>
readonly
private
Requests The provided requests.
Instance Method Summary collapse
-
#initialize(requests) ⇒ Object
private
Create the ordered combiner.
Instance Attribute Details
#requests ⇒ Array<Hash, BSON::Document> (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns requests The provided requests.
26 27 28 |
# File 'lib/mongo/bulk_write/combineable.rb', line 26 def requests @requests end |
Instance Method Details
#initialize(requests) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Create the ordered combiner.
38 39 40 |
# File 'lib/mongo/bulk_write/combineable.rb', line 38 def initialize(requests) @requests = requests end |