Class InsertRequest

    • Constructor Detail

      • InsertRequest

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

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

        public InsertRequest​(String key,
                             ByteBuf content,
                             int exp,
                             int flags,
                             String bucket,
                             boolean json)
        Creates a new InsertRequest.
        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.
      • InsertRequest

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