Beispiel #1
0
 public void scannerOpenWithPrefix_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     var args = new scannerOpenWithPrefix_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     var result = new scannerOpenWithPrefix_result();
     try
     {
         result.Success = this.iface_.scannerOpenWithPrefix(args.TableName, args.StartAndPrefix, args.Columns);
     }
     catch (IOError io)
     {
         result.Io = io;
     }
     oprot.WriteMessageBegin(new TMessage("scannerOpenWithPrefix", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }
Beispiel #2
0
 public void send_scannerOpenWithPrefix(byte[] tableName, byte[] startAndPrefix, List<byte[]> columns)
 {
     this.oprot_.WriteMessageBegin(new TMessage("scannerOpenWithPrefix", TMessageType.Call, this.seqid_));
     var args = new scannerOpenWithPrefix_args();
     args.TableName = tableName;
     args.StartAndPrefix = startAndPrefix;
     args.Columns = columns;
     args.Write(this.oprot_);
     this.oprot_.WriteMessageEnd();
     this.oprot_.Transport.Flush();
 }
Beispiel #3
0
 public void send_scannerOpenWithPrefix(byte[] tableName, byte[] startAndPrefix, List<byte[]> columns, Dictionary<byte[], byte[]> attributes)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("scannerOpenWithPrefix", TMessageType.Call, seqid_));
   scannerOpenWithPrefix_args args = new scannerOpenWithPrefix_args();
   args.TableName = tableName;
   args.StartAndPrefix = startAndPrefix;
   args.Columns = columns;
   args.Attributes = attributes;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }