本文整理了Java中org.teiid.translator.ExecutionContext.getVdbName()
方法的一些代码示例,展示了ExecutionContext.getVdbName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ExecutionContext.getVdbName()
方法的具体详情如下:
包路径:org.teiid.translator.ExecutionContext
类名称:ExecutionContext
方法名:getVdbName
[英]Get the name of the VDB this query is being run against. shortcut for #getCommandContext().getVdbName()
[中]获取运行此查询所针对的VDB的名称。#getCommandContext()的快捷方式。getVdbName()
代码示例来源:origin: org.teiid.connectors/translator-jdbc
/**
* Returns the source comment for the given command
* @param context
* @param command
* @return the comment
*/
public String getSourceComment(ExecutionContext context, Command command) {
if (addSourceComment() && context != null) {
return comment.get().format(new Object[] {context.getConnectionId(), context.getRequestId(), context.getPartIdentifier(),
context.getExecutionCountIdentifier(), context.getSession().getUserName(), context.getVdbName(), context.getVdbVersion(), context.isTransactional() });
}
return ""; //$NON-NLS-1$
}
代码示例来源:origin: teiid/teiid
public FakeExecutionContextImpl(ExecutionContext c) {
super(c.getVdbName(), c.getVdbVersion(), c.getCommandPayload(), c
.getConnectionId(), c.getConnectorIdentifier(), Long.valueOf(c
.getRequestId()), c.getPartIdentifier(), c
.getExecutionCountIdentifier());
}
内容来源于网络,如有侵权,请联系作者删除!