public class LogView extends Object
| Modifier and Type | Method and Description |
|---|---|
String |
generateInstanceToken(Instance instance,
long hours)
生成带有 instance 访问权限的 token
|
String |
generateLogView(Instance instance,
long hours)
生成 logview 链接
|
String |
generateSubQueryLogView(Instance instance,
int queryId,
long hours)
生成 session subquery logview 链接
|
String |
getLogViewHost()
获取 logview host 地址
|
void |
setLogViewHost(String logViewHost)
设置 logview host 地址
|
public LogView(Odps odps)
public String getLogViewHost()
public void setLogViewHost(String logViewHost)
logViewHost - host 地址public String generateLogView(Instance instance, long hours) throws OdpsException
instance - instance 对象hours - token 有效时间OdpsExceptionpublic String generateSubQueryLogView(Instance instance, int queryId, long hours) throws OdpsException
instance - instance 对象queryId - session subquery idhours - token 有效时间OdpsExceptionpublic String generateInstanceToken(Instance instance, long hours) throws OdpsException
instance - instance 对象hours - token 有效时间OdpsExceptionCopyright © 2022 Alibaba Cloud Computing. All rights reserved.