Beispiel #1
0
 public void send_scannerOpenWithStopTs(byte[] tableName, byte[] startRow, byte[] stopRow, List<byte[]> columns,
                                        long timestamp)
 {
     this.oprot_.WriteMessageBegin(new TMessage("scannerOpenWithStopTs", TMessageType.Call, this.seqid_));
     var args = new scannerOpenWithStopTs_args();
     args.TableName = tableName;
     args.StartRow = startRow;
     args.StopRow = stopRow;
     args.Columns = columns;
     args.Timestamp = timestamp;
     args.Write(this.oprot_);
     this.oprot_.WriteMessageEnd();
     this.oprot_.Transport.Flush();
 }
Beispiel #2
0
 public void send_scannerOpenWithStopTs(byte[] tableName, byte[] startRow, byte[] stopRow, List<byte[]> columns, long timestamp, Dictionary<byte[], byte[]> attributes)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("scannerOpenWithStopTs", TMessageType.Call, seqid_));
   scannerOpenWithStopTs_args args = new scannerOpenWithStopTs_args();
   args.TableName = tableName;
   args.StartRow = startRow;
   args.StopRow = stopRow;
   args.Columns = columns;
   args.Timestamp = timestamp;
   args.Attributes = attributes;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Beispiel #3
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();
 }
Beispiel #4
0
 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();
 }