示例#1
0
 public void scannerOpenWithStopTs_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     var args = new scannerOpenWithStopTs_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     var result = new scannerOpenWithStopTs_result();
     try
     {
         result.Success = this.iface_.scannerOpenWithStopTs(args.TableName, args.StartRow, args.StopRow,
                                                            args.Columns, args.Timestamp);
     }
     catch (IOError io)
     {
         result.Io = io;
     }
     oprot.WriteMessageBegin(new TMessage("scannerOpenWithStopTs", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }
示例#2
0
 public int recv_scannerOpenWithStopTs()
 {
     TMessage msg = this.iprot_.ReadMessageBegin();
     if (msg.Type == TMessageType.Exception)
     {
         TApplicationException x = TApplicationException.Read(this.iprot_);
         this.iprot_.ReadMessageEnd();
         throw x;
     }
     var result = new scannerOpenWithStopTs_result();
     result.Read(this.iprot_);
     this.iprot_.ReadMessageEnd();
     if (result.__isset.success)
     {
         return result.Success;
     }
     if (result.__isset.io)
     {
         throw result.Io;
     }
     throw new TApplicationException(TApplicationException.ExceptionType.MissingResult,
                                     "scannerOpenWithStopTs failed: unknown result");
 }
示例#3
0
文件: Hbase.cs 项目: charliem/OCM
 public void scannerOpenWithStopTs_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     scannerOpenWithStopTs_args args = new scannerOpenWithStopTs_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     scannerOpenWithStopTs_result result = new scannerOpenWithStopTs_result();
     try {
       result.success = iface_.scannerOpenWithStopTs(args.tableName, args.startRow, args.stopRow, args.columns, args.timestamp);
       result.__isset.success = true;
     } catch (IOError io) {
       result.io = io;
       result.__isset.io = true;
     }
     oprot.WriteMessageBegin(new TMessage("scannerOpenWithStopTs", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }