Package com.couchbase.client.java.kv
Class ScanTerm
- java.lang.Object
-
- com.couchbase.client.java.kv.ScanTerm
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
exclusive()
static ScanTerm
exclusive(String id)
Creates an exclusiveScanTerm
from a UTF-8 string.String
id()
Returns the key pattern of this term.static ScanTerm
inclusive(String id)
Creates an inclusiveScanTerm
from a UTF-8 string.CoreScanTerm
toCore()
String
toString()
-
-
-
Method Detail
-
id
public String id()
Returns the key pattern of this term.
-
exclusive
public boolean exclusive()
-
inclusive
public static ScanTerm inclusive(String id)
Creates an inclusiveScanTerm
from a UTF-8 string.- Parameters:
id
- the document ID / pattern to use as the scan term.- Returns:
- the created
ScanTerm
.
-
exclusive
public static ScanTerm exclusive(String id)
Creates an exclusiveScanTerm
from a UTF-8 string.- Parameters:
id
- the document ID / pattern to use as the scan term.- Returns:
- the created
ScanTerm
.
-
toCore
@Internal public CoreScanTerm toCore()
-
-