Class: Couchbase::PrefixScan
- Inherits:
-
Object
- Object
- Couchbase::PrefixScan
- Defined in:
- lib/couchbase/key_value_scan.rb
Overview
A prefix scan performs a scan that includes all documents whose keys start with the given prefix
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(prefix) ⇒ PrefixScan
constructor
Creates an instance of a PrefixScan scan type.
Constructor Details
#initialize(prefix) ⇒ PrefixScan
Creates an instance of a PrefixScan scan type
80 81 82 |
# File 'lib/couchbase/key_value_scan.rb', line 80 def initialize(prefix) @prefix = prefix end |
Instance Attribute Details
#prefix ⇒ String
75 76 77 |
# File 'lib/couchbase/key_value_scan.rb', line 75 def prefix @prefix end |