コード例 #1
0
ファイル: Hbase.cs プロジェクト: nordbergm/HBaseNet
 public void send_mutateRowsTs(byte[] tableName, List<BatchMutation> rowBatches, long timestamp)
 {
     this.oprot_.WriteMessageBegin(new TMessage("mutateRowsTs", TMessageType.Call, this.seqid_));
     var args = new mutateRowsTs_args();
     args.TableName = tableName;
     args.RowBatches = rowBatches;
     args.Timestamp = timestamp;
     args.Write(this.oprot_);
     this.oprot_.WriteMessageEnd();
     this.oprot_.Transport.Flush();
 }
コード例 #2
0
ファイル: Hbase.cs プロジェクト: acesir/hdfs-daemon
 public void send_mutateRowsTs(byte[] tableName, List<BatchMutation> rowBatches, long timestamp, Dictionary<byte[], byte[]> attributes)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("mutateRowsTs", TMessageType.Call, seqid_));
   mutateRowsTs_args args = new mutateRowsTs_args();
   args.TableName = tableName;
   args.RowBatches = rowBatches;
   args.Timestamp = timestamp;
   args.Attributes = attributes;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }