Interface BinaryRequest

    • Method Detail

      • key

        String key()
        The key of the document.
        Returns:
        the key of the document, if set.
      • keyBytes

        byte[] keyBytes()
        The raw byte representation of the key.
        Returns:
        the bytes of the key.
      • partition

        short partition()
        The partition (vbucket) to use for this request.
        Returns:
        the partition to use.
      • partition

        BinaryRequest partition​(short id)
        Set the partition ID.
        Parameters:
        id - the id of the partition.
        Returns:
        the BinaryRequest for proper chaining.
      • opaque

        int opaque()
        A opaque value representing this request.
        Returns:
        an automatically generated opaque value.