Class: XCKnife::StreamParser::Options
- Inherits:
-
Struct
- Object
- Struct
- XCKnife::StreamParser::Options
- Defined in:
- lib/xcknife/stream_parser.rb
Constant Summary collapse
- DEFAULT =
Options.new(nil, true, false).freeze
Instance Attribute Summary collapse
-
#allow_fewer_shards ⇒ Object
Returns the value of attribute allow_fewer_shards.
-
#max_shard_count ⇒ Object
Returns the value of attribute max_shard_count.
-
#split_bundles_across_machines ⇒ Object
Returns the value of attribute split_bundles_across_machines.
Instance Method Summary collapse
Instance Attribute Details
#allow_fewer_shards ⇒ Object
Returns the value of attribute allow_fewer_shards
29 30 31 |
# File 'lib/xcknife/stream_parser.rb', line 29 def allow_fewer_shards @allow_fewer_shards end |
#max_shard_count ⇒ Object
Returns the value of attribute max_shard_count
29 30 31 |
# File 'lib/xcknife/stream_parser.rb', line 29 def max_shard_count @max_shard_count end |
#split_bundles_across_machines ⇒ Object
Returns the value of attribute split_bundles_across_machines
29 30 31 |
# File 'lib/xcknife/stream_parser.rb', line 29 def split_bundles_across_machines @split_bundles_across_machines end |
Instance Method Details
#merge(hash) ⇒ Object
30 31 32 |
# File 'lib/xcknife/stream_parser.rb', line 30 def merge(hash) self.class.new(*to_h.merge(hash).values_at(*members)) end |