Class ScanTerm
A single ScanTermidentifying either the point to scan from or to scan to when performing a Range Scan.
Namespace: Couchbase.KeyValue.RangeScan
Assembly: Couchbase.NetClient.dll
Syntax
public sealed class ScanTerm : object
Properties
| Improve this Doc View SourceId
The term to scan.
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
String |
IsExclusive
Controls whether the scan is inclusive or exclusive.
Declaration
public bool IsExclusive { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
| Improve this Doc View SourceExclusive(String)
Creates an exclusive scan for a term.
Declaration
public static ScanTerm Exclusive(string id)
Parameters
Type | Name | Description |
---|---|---|
String | id | The term to scan. |
Returns
Type | Description |
---|---|
ScanTerm | A ScanTerm instance for an exclusive scan. |
Inclusive(String)
Creates an Inclusive scan for a term.
Declaration
public static ScanTerm Inclusive(string id)
Parameters
Type | Name | Description |
---|---|---|
String | id | The term to scan. |
Returns
Type | Description |
---|---|
ScanTerm | A ScanTerm instance for an inclusive scan. |