Class LookupCommandBuilder
java.lang.Object
com.couchbase.client.core.message.kv.subdoc.multi.LookupCommandBuilder
@Committed @Public public class LookupCommandBuilder extends Object
Builder for
LookupCommand
- Since:
- 1.4.2
- Author:
- Subhashni Balakrishnan
-
Constructor Summary
Constructors Constructor Description LookupCommandBuilder(Lookup lookup, String path)
Create a multi-lookup command. -
Method Summary
Modifier and Type Method Description LookupCommand
build()
Lookup
lookup()
byte
opCode()
String
path()
boolean
xattr()
Access to extended attribute section of the couchbase documentLookupCommandBuilder
xattr(boolean xattr)
Access to extended attribute section of the couchbase document
-
Constructor Details
-
LookupCommandBuilder
Create a multi-lookup command.- Parameters:
lookup
- the lookup type.path
- the path to look-up inside the document.
-
-
Method Details
-
build
-
lookup
-
path
-
opCode
public byte opCode() -
xattr
public boolean xattr()Access to extended attribute section of the couchbase document- Returns:
- true if accessing extended attribute section
-
xattr
Access to extended attribute section of the couchbase document- Returns:
- builder with true set for attribute access
-