Get desktop application:
View/edit binary Protocol Buffers messages
* @brief 更新配置文件 @note 要更新的配置文件信息,接收来自Beacon的配置下发,更新指定配置文件内容
/< 配置文件名
/< 配置文件内容(所有配置文件内容均必须是标准JSON结构)
/< 配置文件相对于${NEBULA_HOME}/conf的路径,默认为空,即配置文件存储于${NEBULA_HOME}/conf
Used in:
,/< char, varchar, text, datetime, timestamp等
/< int
/< bigint
/< float
/< double
When an error occurs, the err flag in a context is set to hold the type of error that occured. REDIS_ERR_IO means there was an I/O error and you should use the "errno" variable to find out what is wrong. For other values, the "errstr" field will hold a description.
Error in read or write
Everything else...
End of file
Protocol error
Out of memory
Used in:
, ,/< 列名
/< 列类型
/< 列值
/< as列名
/< 日志级别
/< 远程日志级别
Used in:
/< 查询类型
/< 表名
/< 列类型
/< where条件组(由group_relation指定,若不指定则默认为AND关系)
/< group by字段
/< order by字段
/< where条件组的关系,条件组之间有且只有一种关系(and或者or)
/< 指定返回的行数的最大值 (limit 200)
/< 指定返回的第一行的偏移量 (limit 100, 200)
/< 分表取模因子,当这个字段没有时使用section_factor
Used in:
/< 关系(=, !=, >, <, >=, <= 等)
/< 列类型
/< 列名
/< 列值(当且仅当relation为IN时值的个数大于1有效)
/< 关系右边列名(用于where col1=col2这种情况)
Used in:
/< 等于=
/< 不等于!=
/< 大于>
/< 小于<
/< 大于等于>=
/< 小于等于<=
/< like
/< in (1, 2, 3, 4, 5)
Used in:
/< 条件之间的关系,一个ConditionGroup里的所有Condition之间有且只有一种关系(and或者or)
/< 条件
Used in:
,/< and且
/< or或
Used in:
/< select查询
/< insert插入
/< insert ignore插入,若存在则放弃
/< update更新
/< replace覆盖插入
/< delete删除
Used in:
/< 降序或升序
/< 列名
Used in:
Used in:
/< redis数据类型
/< 数据用途
/< 可选hash key,当has_hash_key()时用hash_key来计算hash值,否则用key_name来计算hash值
Used in:
Used in:
/< value data
REDIS_REPLY_*
The integer when type is REDIS_REPLY_INTEGER
int len; /* Length of string */
Used for both REDIS_REPLY_ERROR and REDIS_REPLY_STRING
size_t elements; /* number of elements, for REDIS_REPLY_ARRAY */
elements vector for REDIS_REPLY_ARRAY
Used in:
Used in:
* @brief 查询结果 @note 适用于Redis返回和MySQL返回,当totalcount与curcount相等时表明数据已接收完毕, 否则表示数据尚未接收完,剩余的数据会在后续数据包继续返回。
/< 数据来源 E_RESULT_FROM
/< 仅在DataProxy使用
Used in:
/< 数据所在分段,section_from < MemOperate.section_factor <= section_to
/< 用于做分布的hash值(取模运算时,为取模后的结果)
/< 取模运算的除数(一致性hash时不需要)
* @brief 目标Server连接标识 @note 目标Server连接标识用于唯一标识一个Worker进程,由ip、port、worker_index三部分构成,三个 组成部分拼接成类似 192.168.1.235:9987.3 的字符串存储于各Worker进程内存,通过该标识可以查找到对应 连接文件描述符发送数据。其中ip为目标Server绑定的IP;port为目标Server监听的端口;worker_index 为连接目标Server对应的Worker进程编号。对应系统命令字CMD_REQ_TELL_WORKER 和 CMD_RSP_TELL_WORKER
/< 目标Server Worker标识
/< 节点类型
* @brief Worker进程负载 @note Worker进程负载,对应系统命令字CMD_REQ_UPDATE_WORKER_LOAD
/< 进程ID
/< 负载值