Class: Couchbase::ScanTerm
- Inherits:
-
Object
- Object
- Couchbase::ScanTerm
- Defined in:
- lib/couchbase/key_value_scan.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/key_value_scan.rb more...
Overview
A scan term used to specify the bounds of a range scan
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(term, exclusive: false) ⇒ ScanTerm
constructor
Creates an instance of a ScanTerm.
Constructor Details
#initialize(term, exclusive: false) ⇒ ScanTerm
Creates an instance of a ScanTerm
27 28 29 30 |
# File 'lib/couchbase/key_value_scan.rb', line 27 def initialize(term, exclusive: false) @term = term @exclusive = exclusive end |
Instance Attribute Details
#exclusive ⇒ Boolean
19 20 21 |
# File 'lib/couchbase/key_value_scan.rb', line 19 def exclusive @exclusive end |