ColumnValue

Last Updated: Oct 24, 2016

ColumnValue

Indicates the value of one column.

Data Structure

  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

  • Type: ColumnType

  • Description: The data type of this column.

v_int

  • Type: int64

  • Description: The data of this column; only valid when the type is INTEGER.

v_string

  • Type: string

  • Description: The data of this column; only valid when the type is STRING. Must use UTF-8 encoding.

v_bool

  • Type: bool

  • Description: The data of this column; only valid when the type is BOOLEAN.

v_double

  • Type: double

  • Description: The data of this column; only valid when the type is DOUBLE.

v_binary

  • Type: bytes

  • Description: The data of this column; only valid when the type is BINARY.

Thank you! We've received your feedback.