Class UpsertRequest

    • Constructor Detail

      • UpsertRequest

        public UpsertRequest​(String key,
                             ByteBuf content,
                             String bucket,
                             boolean json)
      • UpsertRequest

        public UpsertRequest​(String key,
                             ByteBuf content,
                             String bucket)
        Creates a new UpsertRequest.
        Parameters:
        key - the key of the document.
        content - the content of the document.
        bucket - the name of the bucket.
      • UpsertRequest

        public UpsertRequest​(String key,
                             ByteBuf content,
                             int exp,
                             int flags,
                             String bucket)
      • UpsertRequest

        public UpsertRequest​(String key,
                             ByteBuf content,
                             int exp,
                             int flags,
                             String bucket,
                             boolean json)
        Creates a new UpsertRequest.
        Parameters:
        key - the key of the document.
        content - the content of the document.
        exp - the expiration time.
        flags - optional flags.
        bucket - the the name of the bucket.