Class ScanType
Implements
Inherited Members
Namespace: Couchbase.KeyValue .RangeScan
Assembly: Couchbase.NetClient.dll
Syntax
[InterfaceStability(Level.Volatile)]
public abstract class ScanType : IScanType
Methods
| Edit this page View SourcePrefixScan(string)
Creates a new KV range scan, scanning all document IDs starting with the given Prefix.
Declaration
public PrefixScan PrefixScan(string prefix)
Parameters
Returns
Type | Description |
---|---|
Prefix |
A newly created Prefix |
RangeScan(ScanTerm, ScanTerm)
Creates a new KV range scan, scanning between two Scan
Declaration
public RangeScan RangeScan(ScanTerm from, ScanTerm to)
Parameters
Type | Name | Description |
---|---|---|
Scan |
from | From the Scan |
Scan |
to | To the Scan |
Returns
Type | Description |
---|---|
Range |
A newly created Range |
SamplingScan(ulong)
Creates a new KV sampling scan, which randomly samples documents up until the configured limit with a default seed.
Declaration
public SamplingScan SamplingScan(ulong limit)
Parameters
Type | Name | Description |
---|---|---|
ulong | limit | limit the number of documents to limit sampling to. |
Returns
Type | Description |
---|---|
Sampling |
A newly created Sampling |
SamplingScan(ulong, ulong)
Creates a new KV sampling scan, which randomly samples documents up until the configured limit with a custom seed.
Declaration
public SamplingScan SamplingScan(ulong limit, ulong seed)
Parameters
Returns
Type | Description |
---|---|
Sampling |