阅读454 返回首页    go 魔兽


ColumnValue__DataType_API 参考_表格存储-阿里云

表示一列的列值。

数据结构

  1. message ColumnValue {
  2. required ColumnType type = 1;
  3. optional int64 v_int = 2;
  4. optional string v_string = 3;
  5. optional bool v_bool = 4;
  6. optional double v_double = 5;
  7. optional bytes v_binary = 6;
  8. }

type:

  • 类型:ColumnType

  • 描述:该列的数据类型。

v_int:

  • 类型:int64。

  • 描述:该列的数据,只在 type 为 INTEGER 时有效。

v_string:

  • 类型:string。

  • 描述:该列的数据,只在 type 为 STRING 时有效,必须为 UTF-8 编码。

v_bool:

  • 类型:bool

  • 描述:该列的数据,只在 type 为 BOOLEAN 时有效。

v_double:

  • 类型:double。

  • 描述:该列的数据,只在 type 为 DOUBLE 时有效。

v_binary:

  • 类型:bytes。

  • 描述:该列的数据,只在 type 为 BINARY 时有效。

最后更新:2016-11-23 16:03:56

  上一篇:go ColumnUpdate__DataType_API 参考_表格存储-阿里云
  下一篇:go Condition__DataType_API 参考_表格存储-阿里云