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 Details

    • LookupCommandBuilder

      public LookupCommandBuilder​(Lookup lookup, String path)
      Create a multi-lookup command.
      Parameters:
      lookup - the lookup type.
      path - the path to look-up inside the document.
  • Method Details

    • build

      public LookupCommand build()
    • lookup

      public Lookup lookup()
    • path

      public String 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

      public LookupCommandBuilder xattr​(boolean xattr)
      Access to extended attribute section of the couchbase document
      Returns:
      builder with true set for attribute access