主键Primary Key

如果您的实例为V2.0及以前版本,需要将DDL中的 WITH(property='value')语句改为 CALL set_table_property 语句,详情请参见 建表概述。新建普通列存表并指定一个主键。V2.1版本起支持的建表语法:CREATE TABLE tbl_1(id bigint NOT NULL,...

函数概览

} function test_property_get_list_count(uint hanlder)public returns(uint){ return property_get_list_count(hanlder,"node_config.user_keys");} function test_property_get_cdata(uint hanlder)public returns(int,string memory){ ...

JSON与XML解析库

请求参数 参数 必选 类型 说明 handler 是 uint 解析 JSON 字符串函数返回的当前处理 JSON 的标识符 返回值 参数 必选 类型 说明 result 是 bool 方法返回值,成功则为 true,否则为 false property_get_bool 解析 JSON 与 XML 中的 bool ...

本地通信开发实践

APP和设备处于局域网环境中,未和外网连接,往往需要通过本地通信的方式,对设备进行控制和查询。阿里云IoT提供了一种本地通信方案,可以达到该目标。背景信息 设备端的Link Kit SDK中已内置本地通信功能...get_event_handler回调函数的实现。

Wi-Fi智能插座设备端开发

ifdef ALCS_ENABLED/*Only for local communication service(ALCS)*/IOT_RegisterCallback(ITE_PROPERTY_GET,user_property_get_event_handler);endif IOT_RegisterCallback(ITE_REPORT_REPLY,user_report_reply_event_handler);IOT_...

设置期望属性值控制灯泡状态

request.replyTopic=DESIRED_PROPERTY_GET_REPLY.replace("{productKey}",info.productKey).replace("{deviceName}",info.deviceName);request.isRPC=true;RequestModel<List<String>>model=new RequestModel();model.id=String.valueOf...

API详解

事件清单 typedef enum {.ITE_CONNECT_SUCC,.ITE_DISCONNECTED,ITE_RAWDATA_ARRIVED,ITE_SERVICE_REQUEST,ITE_PROPERTY_SET,ITE_PROPERTY_GET,ITE_REPORT_REPLY,ITE_TRIGGER_EVENT_REPLY,ITE_TIMESTAMP_REPLY,ITE_TOPOLIST_REPLY,ITE_...

GetTSL

set","inputData":[],"required":true,"outputData":[],"name":"set","callType":"async"},{"desc":"属性获取","method":"thing.service.property.get","identifier":"get","inputData":["MeasuredIlluminance"],"required":true,...

GetThingModelTsl

callType":"async","desc":"属性获取","method":"thing.service.property.get","inputData":["Humidity","Temperature"],"outputData":[{"identifier":"Humidity","name":"湿度","dataType":{"type":"int","specs":{"min":"55","max":"60...

GetThingModelTslPublished

callType":"async","desc":"属性获取","method":"thing.service.property.get","inputData":["Humidity","Temperature"],"outputData":[{"identifier":"Humidity","name":"湿度","dataType":{"type":"int","specs":{"min":"55","max":"60...

基于已认证的模组开发

IOT_RegisterCallback(ITE_PROPERTY_GET,user_property_get_event_handler);IOT_RegisterCallback(ITE_REPORT_REPLY,user_report_reply_event_handler);IOT_RegisterCallback(ITE_TRIGGER_EVENT_REPLY,user_trigger_event_reply_event_...

Data Explorer案例

日志服务提供Data Explorer功能,帮助您简单、快速地构建查询和分析语句。本文介绍通过Data Explorer构建查询和分析语句的案例。查询示例 示例1 查询包含GET、PUT、POST中任意值的日志。Data Explorer配置 查询语句(GET or PUT or POST)...

查看并导出物模型

struct","specs":[{"identifier":"fan_struct_property_float_child","name":"风扇双精度型属性","dataType":{"type":"double","specs":{"min":"0.0","max":"100.0","unit":"g/ml","unitName":"毫升"} } },{"identifier":"fan_struct_...

v2.2.1及更低版本的网关及子设备编程

linkkit_gateway_init()的声明如下:int linkkit_gateway_init(linkkit_params_t*initParams)注意:网关SDK中的接口除了 linkkit_gateway_get_default_params()、linkkit_gateway_set_event_callback()和 linkkit_gateway_set_option()需要...

使用已适配IoT SDK的芯片开发智能灯

\"name\":\"浮点型\"},{\"identifier\":\"PropertyCharacter\",\"dataType\":{\"specs\":{\"length\":\"255\"},\"type\":\"text\"},\"name\":\"字符串\"}],\"method\":\"thing.service.property.set\",\"name\":\"set\",\"required\":true,...

边缘应用 Link IoT Edge对接

设备属性上报Topic:thing/notify/${pk}/${dn}/property 设备事件上报Topic:thing/notify/${pk}/${dn}/${tsl.event.identifer} 数据发布Payload透传驱动上报数据,数据格式参照 设备驱动接口规范:#示例 1-设备属性上报:Topic:thing/...

查询语法

日志服务提供一套查询语法,用于指定日志查询时的过滤规则,从而筛选日志中满足条件的记录,筛选结果可以用于分析语句,进行更复杂的分析处理。查询语法 重要 日志服务查询语句和分析语句(SELECT语句)以竖线(|)分割。基础语法:查询...

数据类型

日志样例 配置索引 查询和分析语句 查询非GET请求的日志。not request_method:GET 查询以cn开头的日志。cn*统计客户端分布情况。SELECT ip_to_province(client_ip)as province,count(*)AS pv GROUP BY province ORDER BY pv long和double...

通过Hive访问云数据库HBase

在 hbase-site.xml 配置文件下编写以下语句property><name>hbase.zookeeper.quorum</name><value>hb-xxx-001.hbase.rds.aliyuncs.com,hb-xxx-002.hbase.rds.aliyuncs.com,hb-xxx-003.hbase.rds.aliyuncs.com</value> </property>说明 ...

交互事件

过滤语句 输入过滤语句,可将该过滤语句同步到目标Logstore中,并以 AND 方式添加到查询分析语句之前。您可以单击 添加变量,在过滤语句中插入变量。其中,重要的系统变量说明如下:${{_start_time_}}:查询开始时间。{{_end_time_}}:查询...

SQL脚本模式

在脚本模式下,一个多语句的SQL脚本文件将被作为一个整体进行编译,无需对单个语句进行编译;提交运行时,SQL脚本文件会被整体提交,并生成一个执行计划,保证只需排队一次、执行一次,让您能充分利用MaxCompute的资源,在提升工作效率的...

JDBC

property name="minEvictableIdleTimeMillis"value="600000"/><property name="maxEvictableIdleTimeMillis"value="900000"/><property name="validationQuery"value="select 1"/><property name="testWhileIdle"value="true"/>!...

Hibernate 连接 OceanBase 数据库

执行 CURD 时是否打印 sql 语句-><property name="show_sql">true</property>!自动建表(修改表)->!property name="hbm2ddl.auto">update</property>->!property name="hbm2ddl.auto">create</property>->!资源注册(实体类映射文件)->...

Hibernate 连接 OceanBase 数据库

执行 CURD 时是否打印sql 语句-><property name="show_sql">true</property>!自动建表(修改表)->!property name="hbm2ddl.auto">update</property>->!property name="hbm2ddl.auto">create</property>->!资源注册(实体类映射文件)->...

hypopg

函数 hypopg_create_index()将接受任何标准的 CREATE INDEX 语句(传递给该函数的任何其它语句将被忽略),并为每条语句创建一个虚拟索引。标识符是动态生成的,本示例中为13925。运行 EXPLAIN 语句查看数据库是否会使用该索引。示例如下:...

使用说明

配置方法如下:在 Spring 的配置文件中,添加以下 bean(以 sqlCountInterceptor 类为例):<bean id="simpleDataSourceConnector" class="com.alipay.sofa.dbp.DbpDataSource" init-method="init"><property name="delegate"ref=...

概览

本文为您介绍交互式分析Hologres支持的扩展函数。Hologres兼容PostgreSQL,支持的函数以及用法同标准的PostgreSQL。Hologres支持的函数是PostgreSQL的子集。...SET_TABLE_PROPERTY 设置表属性,与建表语句一起执行。是 不涉及 所有版本。

CommonPool 配置示例

执行 CURD 时是否打印sql 语句-><property name="show_sql">true</property>!自动建表 该处注释根据需求打开或关闭->!property name="hbm2ddl.auto">update</property>->!property name="hbm2ddl.auto">create</property>->!资源注册,...

Hologres SQL语句的常见问题

本文为您介绍编写和优化Hologres SQL语句时可能遇到的常见问题及解决方法。报错:Creating publication with table that without binlog is not supported now 报错:bigint out of range 报错:too many shards in this instance 报错:...

Key/Value查询场景最佳实践

client.get(get).thenAcceptAsync((record)->{/do something after get result });Get get1=Get.newBuilder(schema).setPrimaryKey("id",1).build();where id=1;client.get(get1).thenAcceptAsync((record)->{/do something after get ...

Table Group与Shard Count操作指南

tablegroup_name|property_key|property_value-+-+-test_tg_default|tg_version|1 test_tg_default|table_num|1 test_tg_default|is_default_tg|1 test_tg_default|shard_count|3 test_tg_default|replica_count|1 test_tg_default|created...

UpdateRule

自定义Topic的ShortTopic,如:${deviceName}/user/get。调用 QueryProductTopic 接口,可以查看产品下的所有自定义Topic类。指定自定义Topic时,可以使用通配符+和#。{deviceName} 可以使用通配符+代替,表示产品下所有设备;之后字段可以...

QueryIncidentIconList-获取溯源图标列表

调试 授权信息 下表是API对应的授权信息,可以在RAM权限策略语句的 Action 元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:操作:是指具体的权限点。访问级别:是指每个操作的访问级别,取值为写入(Write)、读取...

Saga 模式快速入门

statelang/*.json"></property><property name="enableAsync"value="true"></property><property name="threadPoolExecutor"ref="threadExecutor"></property></bean><bean id="threadExecutor"class="org.springframework.scheduling....

CreateRule

自定义Topic的ShortTopic,如:${deviceName}/user/get。调用 QueryProductTopic 接口,可以查看产品下的所有自定义Topic类。指定自定义Topic时,可以使用通配符+和#。{deviceName} 可以使用通配符+代替,表示产品下所有设备;之后字段可以...

通过Hibernate使用

class">com.alicloud.openservices.tablestore.jdbc.OTSDriver</property><property name="hibernate.connection.url">jdbc:ots:https://myinstance.cn-hangzhou.ots.aliyuncs.com/myinstance</property><property name="hibernate....

Explain和Explain Analyze

当SQL查询性能不佳或查询结果不符合预期时,Hologres提供了Explain和Explain Analyze命令用于分析查询语句执行计划,可以帮助您了解Hologres如何执行查询语句,以便您对查询语句或数据库结构进行调整优化。本文介绍在Hologres中通过Explain...

以太网灯接入飞燕示例

同时该线程还应检测设备是否工作异常,如果异常需要将异常通过事件上报云端 属性上报的代码说明 在示例代码中调用函数user_post_property()进行了属性上报,函数代码如下所示:其中IOT_Linkkit_Report()用于向云端发送数据,其中参数ITM_...

GetAdvanceConfigFile-获取词典信息

调试 授权信息 下表是API对应的授权信息,可以在RAM权限策略语句的 Action 元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:操作:是指具体的权限点。访问级别:是指每个操作的访问级别,取值为写入(Write)、读取...

通过Lindorm Shell访问宽表引擎

property><name>hbase.zookeeper.quorum</name><value>ld-bp17j28j2y7pm*-proxy-lindorm-pub.lindorm.rds.aliyuncs.com:30020</value> </property><property><name>hbase.client.username</name><value>testuser</value></...
共有200条 < 1 2 3 4 ... 200 >
跳转至: GO
产品推荐
云服务器 安全管家服务 安全中心
这些文档可能帮助您
弹性公网IP 短信服务 人工智能平台 PAI 金融分布式架构 对象存储 物联网平台
新人特惠 爆款特惠 最新活动 免费试用