[
https://issues.jboss.org/browse/TEIID-4444?page=com.atlassian.jira.plugin...
]
Ramesh Reddy commented on TEIID-4444:
-------------------------------------
Ok, Will be adding
{code}
@TranslatorProperty(display = "Add Supported Functions(CSV)", description =
"Add comma separated names to system functions", advanced = true)
public void addSupportedFunctions(String functionNames) {
if (supportedFunctions == null) {
supportedFunctions = new ArrayList<String>();
supportedFunctions.addAll(this.delegate.getSupportedFunctions());
}
StringTokenizer st = new StringTokenizer(functionNames, ",");
while(st.hasMoreTokens()) {
supportedFunctions.add(st.nextToken().trim());
}
}
@TranslatorProperty(display = "Remove Supported Functions(CSV)", description =
"Remove comma separated names from system functions", advanced = true)
public void removeSupportedFunctions(String functionNames) {
if (supportedFunctions == null) {
supportedFunctions = new ArrayList<String>();
supportedFunctions.addAll(this.delegate.getSupportedFunctions());
}
StringTokenizer st = new StringTokenizer(functionNames, ",");
while(st.hasMoreTokens()) {
supportedFunctions.remove(st.nextToken().trim());
}
}
{code}
Add a built-in delegating translator that allows overriding all
supports
------------------------------------------------------------------------
Key: TEIID-4444
URL:
https://issues.jboss.org/browse/TEIID-4444
Project: Teiid
Issue Type: Feature Request
Components: Misc. Connectors
Reporter: Steven Hawkins
Assignee: Ramesh Reddy
Fix For: Open To Community, 9.1
To assist in toggling specific capabilities without a patch, we should provide a built-in
delegating translator that can selective toggle capabilities.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)