예제 #1
0
 public void send_checkAndPut(byte[] table, byte[] row, byte[] family, byte[] qualifier, byte[] value, TPut put)
 {
     oprot_.WriteMessageBegin(new TMessage("checkAndPut", TMessageType.Call, seqid_));
     checkAndPut_args args = new checkAndPut_args();
     args.Table = table;
     args.Row = row;
     args.Family = family;
     args.Qualifier = qualifier;
     args.Value = value;
     args.Put = put;
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }
예제 #2
0
파일: Hbase.cs 프로젝트: acesir/hdfs-daemon
 public void send_checkAndPut(byte[] tableName, byte[] row, byte[] column, byte[] value, Mutation mput, Dictionary<byte[], byte[]> attributes)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("checkAndPut", TMessageType.Call, seqid_));
   checkAndPut_args args = new checkAndPut_args();
   args.TableName = tableName;
   args.Row = row;
   args.Column = column;
   args.Value = value;
   args.Mput = mput;
   args.Attributes = attributes;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }