1e308481bSJeff Morrisnamespace Couchbase.Core.IO.Operations
2c427c62cSjeffrymorris{
3fecbf950Sjeffrymorris    internal sealed class Prepend<T> : MutationOperationBase<T>
4c427c62cSjeffrymorris    {
5b1fb0f06SRiPont        internal Prepend(string bucketName, string key) : base(bucketName, key)
6b1fb0f06SRiPont        { }
7b1fb0f06SRiPont
821843b11SBrant Burnett        protected override void BeginSend()
9c427c62cSjeffrymorris        {
1043cf091cSMike Goldsmith            Flags = Transcoder.GetFormat(Content);
1121843b11SBrant Burnett        }
1221843b11SBrant Burnett
131a28374eSBrant Burnett        protected override void WriteExtras(OperationBuilder builder)
1421843b11SBrant Burnett        {
15c427c62cSjeffrymorris        }
16c427c62cSjeffrymorris
1743cf091cSMike Goldsmith        public override OpCode OpCode => OpCode.Prepend;
188e2c4c12Sjeffrymorris
199670b373SBrant Burnett        protected override bool SupportsRequestCompression => true;
20c427c62cSjeffrymorris    }
21c427c62cSjeffrymorris}
221c16121dSjeffrymorris
236a9633f6Sjeffrymorris#region [ License information ]
241c16121dSjeffrymorris
251c16121dSjeffrymorris/* ************************************************************
261c16121dSjeffrymorris *
271c16121dSjeffrymorris *    @author Couchbase <info@couchbase.com>
281c16121dSjeffrymorris *    @copyright 2014 Couchbase, Inc.
291c16121dSjeffrymorris *
301c16121dSjeffrymorris *    Licensed under the Apache License, Version 2.0 (the "License");
311c16121dSjeffrymorris *    you may not use this file except in compliance with the License.
321c16121dSjeffrymorris *    You may obtain a copy of the License at
331c16121dSjeffrymorris *
341c16121dSjeffrymorris *        http://www.apache.org/licenses/LICENSE-2.0
351c16121dSjeffrymorris *
361c16121dSjeffrymorris *    Unless required by applicable law or agreed to in writing, software
371c16121dSjeffrymorris *    distributed under the License is distributed on an "AS IS" BASIS,
381c16121dSjeffrymorris *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
391c16121dSjeffrymorris *    See the License for the specific language governing permissions and
401c16121dSjeffrymorris *    limitations under the License.
411c16121dSjeffrymorris *
421c16121dSjeffrymorris * ************************************************************/
431c16121dSjeffrymorris
44dad4b8f9Sjeffrymorris#endregion [ License information ]
45