internal override ReadModifyWriteRule AsApiObject() { return(new ReadModifyWriteRule { ColumnQualifier = ColumnName.ToByteString(Encoding), FamilyName = FamilyName, AppendValue = Value.ToByteString() }); }
internal override ReadModifyWriteRule AsApiObject() { return(new ReadModifyWriteRule { ColumnQualifier = ColumnName.ToByteString(Encoding), FamilyName = FamilyName, IncrementAmount = Value }); }
internal override Mutation AsApiObject() { return(new Mutation { SetCell = new Mutation.Types.SetCell { FamilyName = FamilyName, ColumnQualifier = ColumnName.ToByteString(Encoding), Value = Value.ToByteString(), TimestampMicros = (Timestamp == 0 ? DateTime.UtcNow.ToUnixTime() : Timestamp) * 1000 } }); }
internal override Mutation AsApiObject() { return(new Mutation { DeleteFromColumn = new Mutation.Types.DeleteFromColumn { FamilyName = FamilyName, ColumnQualifier = ColumnName.ToByteString(Encoding), TimeRange = new TimestampRange { StartTimestampMicros = StartMicros, EndTimestampMicros = EndMicros } } }); }