public ProtocolBufferDecoder(PipelineHandler innerHandler) : base(innerHandler)
        {
            DecoderMap = new Dictionary <string, ResponseDecoder>()
            {
                { "/CreateTable", DecodeCreateTable },
                { "/DeleteTable", DecodeDeleteTable },
                { "/UpdateTable", DecodeUpdateTable },
                { "/DescribeTable", DecodeDescribeTable },
                { "/ListTable", DecodeListTable },

                { "/PutRow", DecodePutRow },
                { "/GetRow", DecodeGetRow },
                { "/UpdateRow", DecodeUpdateRow },
                { "/DeleteRow", DecodeDeleteRow },

                { "/BatchWriteRow", DecodeBatchWriteRow },
                { "/BatchGetRow", DecodeBatchGetRow },
                { "/GetRange", DecodeGetRange },

                { "/ListSearchIndex", DecodeListSearchIndex },
                { "/CreateSearchIndex", DecodeCreateSearchIndex },
                { "/DescribeSearchIndex", DecodeDescribeSearchIndex },
                { "/DeleteSearchIndex", DecodeDeleteSearchIndex },
                { "/Search", DecodeSearch },

                { "/CreateIndex", DecodeCreateGlobalIndex },
                { "/DropIndex", DecodeDeleteGlobalIndex },
            };
        }
Пример #2
0
 public ErrorHandler(PipelineHandler innerHandler) : base(innerHandler)
 {
 }
Пример #3
0
 public RetryHandler(PipelineHandler innerHandler) : base(innerHandler)
 {
 }
 public HttpHeaderHandler(PipelineHandler innerHandler) : base(innerHandler)
 {
 }