[teiid-issues] [JBoss JIRA] (TEIID-4444) Add a built-in delegating translator that allows overriding all supports

Ramesh Reddy (JIRA) issues at jboss.org
Thu Sep 22 16:12:00 EDT 2016


    [ https://issues.jboss.org/browse/TEIID-4444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13297451#comment-13297451 ] 

Ramesh Reddy commented on TEIID-4444:
-------------------------------------

I have been typing like monkey this pattern

{code}
	Boolean supportsSearchedCaseExpressions;
	@Override
	public boolean supportsSearchedCaseExpressions() {
		if (supportsSearchedCaseExpressions != null) {
			return supportsSearchedCaseExpressions;
		}
		return delegate.supportsSearchedCaseExpressions();
	}
	public void setSupportsSearchedCaseExpressions(boolean value) {
		supportsSearchedCaseExpressions = value;
	}
{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
>             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)


More information about the teiid-issues mailing list