离线批量写入数据

rowChange.addColumn(new Column("DC1",ColumnValue.fromString(i.toString())));rowChange.addColumn(new Column("DC2",ColumnValue.fromString(i.toString())));rowChange.addColumn(new Column("DC3",ColumnValue.fromString(i.toString...

监控指标接口

返回信息:{}",info.toString());} } 发送查询请求的统计指标 函数原型 public QueryMetricsQueryInfoResponse queryMetricsQueryInfo(long startTime,long endTime)public QueryMetricsQueryInfoResponse queryMetricsQueryInfo(long ...

CAST

当转化成Decimal类型时,如果设置了 odps.sql.decimal.tostring.trimzero=true:去掉小数点后末尾的零;如果设置了 odps.sql.decimal.tostring.trimzero=false:保留小数点后末尾的零。重要 目前 odps.sql.decimal.tostring.trimzero 参数...

其他API

字符串相关 utf8ToString:将UTF-8转换成字符串。utf16ToString:将UTF-16转换成字符串。说明 以上函数对输入的缓冲区大小有固定限制,如果有大的数据转换使用 TextEcnoder/Decoder,输入缓冲区不能大于1 MB,如果大于1 MB,您可以在JS中...

字符串类型相关

示例 s=tostring(123)add_rsp_header('X-DSL-TOSTRING',s)/说明:增加响应头/X-DSL-TOSTRING:123 tochar 函数详细信息,请参见下表。项目 描述 语法 tochar(n1,n2,.)。说明 接受1个或多个整型参数,返回对应整型参数的内部数值表示的字符串...

字符串类型相关

示例 s=tostring(123)add_rsp_header('X-DSL-TOSTRING',s)/说明:增加响应头/X-DSL-TOSTRING:123 tochar 函数详细信息,请参见下表。项目 描述 语法 tochar(n1,n2,.)。说明 接受1个或多个整型参数,返回对应整型参数的内部数值表示的字符串...

其他API

字符串相关 utf8ToString:将UTF-8转换成字符串。utf16ToString:将UTF-16转换成字符串。说明 以上函数对输入的缓冲区大小有固定限制,如果有大的数据转换使用 TextEcnoder/Decoder,输入缓冲区不能大于1 MB,如果大于1 MB,您可以在JS中...

字符串类型相关

示例 s=tostring(123)add_rsp_header('X-DSL-TOSTRING',s)/说明:增加响应头/X-DSL-TOSTRING:123 tochar 函数详细信息,请参见下表。项目 描述 语法 tochar(n1,n2,.)。说明 接受1个或多个整型参数,返回对应整型参数的内部数值表示的字符串...

查询分析Demo

判断执行返回是否成功,如果报错执行下面代码,否则输出正确查询内容 if(obj.get("errors").toString().length()>2){ JSONArray jsonarr=JSONArray.parseArray(obj.get("errors").toString());System.out.println("error code:"+jsonarr....

数据接入

}@Override public String toString(){ final StringBuilder sb=new StringBuilder("{");sb.append("\"id\":\"").append(id=null?id).append('\"');sb.append(",\"version\":\"").append(version=null?version).append('\"');sb....

授权访问

本文介绍如何使用STS以及签名URL临时授权访问OSS资源。...本文以从环境变量读取访问凭证为例。如何配置访问凭证,请参见 配置访问凭证。本文以华东1(杭州)的外网Endpoint为例。...关于OSS支持的Region与Endpoint的对应关系,请参见 访问域名和...

Dataphin中代码任务运行jar包报错“Java heap space”

Exception in thread"main"java.lang.OutOfMemoryError:Java heap space at org.apache.http.util.CharArrayBuffer.<init>(CharArrayBuffer.java:56)at org.apache.http.util.EntityUtils.toString(EntityUtils.java:224)at org.apache....

其他API

字符串相关 utf8ToString:将UTF-8转换成字符串。utf16ToString:将UTF-16转换成字符串。说明 以上函数对输入的缓冲区大小有固定限制,如果有大的数据转换使用 TextEcnoder/Decoder,输入缓冲区不能大于1 MB,如果大于1 MB,您可以在JS中...

异常处理

} catch(ServerException e){ System.Console.WriteLine(e.ToString());这里可以添加您自己的错误处理逻辑/例如,打印具体的错误信息 Console.WriteLine("ErrorCode="+e.ErrorCode);Console.WriteLine("ErrorMessage="+e.ErrorMessage);...

Android客户端Demo体验

}@Override public void onSDKTokenAuthFailure(AlicomFusionAuthToken token,AlicomFusionEvent alicomFusionEvent){ Log.d(TAG,"AlicomFusionAuthCallBack-onSDKTokenAuthFailure"+alicomFusionEvent.toString());new Thread(new ...

使用CommonRequest进行调用

} catch(ServerException ex){ System.Console.WriteLine(ex.ToString());} catch(ClientException ex){ System.Console.WriteLine(ex.ToString());} } } 示例:调用RESTful(ROA)风格的API 以下代码展示了如何使用CommonRequest的方式...

下载到本地文件

}catch(Exception e){ OSSLog.logInfo(e.toString());} }/将下载后的文件存放在指定的本地路径,例如D:\\localpath\\exampleobject.jpg。try { FileOutputStream fout=new FileOutputStream("download_filePath");fout.write(buffer);fout....

设置对象标签

if(key.EndsWith(separator.ToString())){/String#split ignores trailing empty strings,e.g.,"a/b/"will be split as a 2-entries array,/so we have to append all the trailing slash to the uri.foreach(var ch in key){ if(ch=...

UDT示例

select a.toString()a,b.toString()b from@d;最终结果输出(注意变量d的输出中a、b两列是Object类型)。函数重载 MaxCompute UDF使用 evaluate 方法重载函数。该方式不支持泛型,当您需要定义一个支持任何数据类型的函数时,必须为每种类型...

C# SDK

C#SDK使用示例。...强烈建议您创建并使用RAM用户进行API访问或日常运维,请登录RAM控制...} catch(ServerException ex){ System.Console.WriteLine(ex.ToString());} catch(ClientException ex){ System.Console.WriteLine(ex.ToString());} } }

统计聚合

returnType:TableStore.ColumnReturnType.RETURN_ALL_FROM_INDEX },timeoutMs:30000,} client.search(params,function(err,data){ if(err){ console.log('search error:',err.toString());} else { console.log('search success:',data);} ...

Node.js

const params={ expire:moment().add(1,"days").unix().toString(),policy:formData.policy,/从OSS服务器获取到的Policy。signature:formData.Signature,/从OSS服务器获取到的Signature。accessid:formData.OSSAccessKeyId,/从OSS服务器...

extras参数配置说明

AliRtcEngine engine=AliRtcEngine.getInstance(context,jsonObject.toString());音质模式与场景模式 功能说明 在一些比较专业的场景里,用户对声音的效果需求很高。阿里云RTC提供多种组合方案。开发者根据对音质、场景等的不同需求,自由...

API调用示例

null){ for(Map.Entry,String>entry:params.entrySet()){ queryString+entry.getKey()+"="+URLEncoder.encode(entry.getValue().toString(),"UTF-8")+"&;} } if(queryString.length()>0){ queryString=queryString.substring(0,queryString...

性能优化建议

Component.prototype.$spliceData:针对长列表做优化,避免每次传递整个列表,只会从对应组件节点开始做差异比较。优化建议:避免频繁触发 setData 或者$spliceData,不管是页面级别还是组件级别。在我们分析的案例中,有些页面有倒计时...

使用Java SDK管理机器组

for(String machineGroup:response.GetMachineGroups()){ System.out.println(machineGroup.toString());} System.out.println(String.format("list project%s machinegroup success",projectName));} catch(LogException e){ System.out....

应用设备管理服务API

System.out.println("response code="+response.getCode()+"response="+new String(response.getBody(),"UTF-8")+"headers="+response.getHeaders().toString());正常返回示例:{"code":200,"data":{"total":1,"data":[{"activeTime":"2019...

使用Java SDK管理日志库Logstore

} catch(LogException e){ System.out.println("LogException e:"+e.toString());System.out.println("error code:"+e.GetErrorCode());System.out.println("error message:"+e.GetErrorMessage());throw e;} } } 预期结果如下:ready to ...

使用Java SDK管理Project

} catch(LogException e){ System.out.println("LogException e:"+e.toString());System.out.println("error code:"+e.GetErrorCode());System.out.println("error message:"+e.GetErrorMessage());throw e;} } } 预期结果如下:ready to ...

人脸门禁服务API

System.out.println("response code="+response.getCode()+"response="+new String(response.getBody(),"UTF-8")+"headers="+response.getHeaders().toString());正常返回示例:{"id":"4de2c367-c1db-417c-aa15-8c585e595d92","code":200,...

账户接口

返回信息:{}",transactionReceipt.toString());} } } asyncCreateAccount 创建账户,异步方式调用。函数原型 public int asyncCreateAccount(CreateAccountRequest request,IAsyncCallback callback)请求参数 参数 必选 类型 说明 request ...

账户接口

返回信息:{}",transactionReceipt.toString());} } } asyncCreateAccount 创建账户,异步方式调用。函数原型 public int asyncCreateAccount(CreateAccountRequest request,IAsyncCallback callback)请求参数 参数 必选 类型 说明 request ...

工作流调度

public class TestSimpleJobA extends JavaProcessor {@Override public ProcessResult process(JobContext context)throws Exception { System.out.println("TestSimpleJobA"+DateTime.now().toString("yyyy-MM-dd HH:mm:ss"));...

工作流调度

public class TestSimpleJobA extends JavaProcessor {@Override public ProcessResult process(JobContext context)throws Exception { System.out.println("TestSimpleJobA"+DateTime.now().toString("yyyy-MM-dd HH:mm:ss"));...

Push推送Demo

json1.put(DocumentConstants.DOC_KEY_CMD,Command.ADD.toString());json1.put(DocumentConstants.DOC_KEY_FIELDS,doc1);定义Map对象存储上传文档数据,此为文档2 Map,Object>doc2=Maps.newLinkedHashMap();doc2.put("id",value2);String ...

签名机制

stringToSign.append("GET").append("&").append(percentEncode("/")).append("&").append(percentEncode(paramStr.toString()));Mac mac=Mac.getInstance("HmacSHA1");mac.init(new SecretKeySpec((accessSecret+"&").getBytes("UTF-8"),...

唤起桌面客户端

举例:let domainId='hz65' let action='download' let opt={"seq_id":Math.random().toString(36).substring(2),"loc_type":"drive","loc_id":"1","pathname":"/drive/folders/5e9d2e02570e5a973cd64b648cbf97ac2ebb26dc","file_keys":["5...

工作流调度

public class TestSimpleJobA extends JavaProcessor {@Override public ProcessResult process(JobContext context)throws Exception { System.out.println("TestSimpleJobA"+DateTime.now().toString("yyyy-MM-dd HH:mm:ss"));...

视频剪辑

return mediaMetadata.toString();} public static String buildProduceConfig(){ JSONObject produceConfig=new JSONObject();The produce process can generate media mezzanine file.You can use the mezzanine file to transcode other...

签名机制

stringToSign.append("GET").append("&").append(percentEncode("/")).append("&").append(percentEncode(paramStr.toString()));Mac mac=Mac.getInstance("HmacSHA1");mac.init(new SecretKeySpec((accessSecret+"&").getBytes("UTF-8"),...
共有18条 < 1 2 3 4 ... 18 >
跳转至: GO
产品推荐
云服务器 安全管家服务 安全中心
这些文档可能帮助您
弹性公网IP 短信服务 人工智能平台 PAI 金融分布式架构 对象存储 物联网平台
新人特惠 爆款特惠 最新活动 免费试用