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 booleanexclusive()static ScanTermexclusive(String id)Creates an exclusiveScanTermfrom a UTF-8 string.Stringid()Returns the key pattern of this term.static ScanTerminclusive(String id)Creates an inclusiveScanTermfrom a UTF-8 string.CoreScanTermtoCore()StringtoString()
-
-
-
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 inclusiveScanTermfrom 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 exclusiveScanTermfrom 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()
-
-