Tabnine Logo
ExecutionFactory.isSourceRequired
Code IndexAdd Tabnine to your IDE (free)

How to use
isSourceRequired
method
in
org.teiid.translator.ExecutionFactory

Best Java code snippets using org.teiid.translator.ExecutionFactory.isSourceRequired (Showing top 8 results out of 315)

origin: teiid/teiid

@TranslatorProperty(display="Is Source Required", advanced=true)
@Override
public boolean isSourceRequired() {
  return delegate.isSourceRequired();
}
public void setSourceRequired(boolean value) {
origin: org.jboss.teiid/teiid-engine

public String getStausMessage() {
  String msg = ""; //$NON-NLS-1$
  ExecutionFactory<Object, Object> ef = getExecutionFactory();
  
  if(ef != null) {
    if (ef.isSourceRequired()) {
      
      Object conn = null;
      try {
        conn = getConnectionFactory();
      } catch (TranslatorException e) {
        // treat this as connection not found. 
      }
      
      if (conn == null) {
        msg = QueryPlugin.Util.getString("datasource_not_found", this.connectionName); //$NON-NLS-1$
      }
    }
  }
  else {
    msg = QueryPlugin.Util.getString("translator_not_found", this.translatorName); //$NON-NLS-1$
  }
  return msg;
}

origin: org.teiid/teiid-engine

public String getStausMessage() {
  String msg = ""; //$NON-NLS-1$
  ExecutionFactory<Object, Object> ef = getExecutionFactory();
  
  if(ef != null) {
    if (ef.isSourceRequired()) {
      
      Object conn = null;
      try {
        conn = getConnectionFactory();
      } catch (TranslatorException e) {
        // treat this as connection not found. 
      }
      
      if (conn == null) {
        msg = QueryPlugin.Util.getString("datasource_not_found", this.connectionName); //$NON-NLS-1$
      }
    }
  }
  else {
    msg = QueryPlugin.Util.getString("translator_not_found", this.translatorName); //$NON-NLS-1$
  }
  return msg;
}

origin: teiid/teiid

public String getStausMessage() {
  String msg = ""; //$NON-NLS-1$
  ExecutionFactory<Object, Object> ef = getExecutionFactory();
  
  if(ef != null) {
    if (ef.isSourceRequired()) {
      
      Object conn = null;
      try {
        conn = getConnectionFactory();
      } catch (TranslatorException e) {
        // treat this as connection not found. 
      }
      
      if (conn == null) {
        msg = QueryPlugin.Util.getString("datasource_not_found", this.connectionName); //$NON-NLS-1$
      }
    }
  }
  else {
    msg = QueryPlugin.Util.getString("translator_not_found", this.translatorName); //$NON-NLS-1$
  }
  return msg;
}

origin: org.teiid/teiid-runtime

if (cm.getExecutionFactory().isSourceRequired() && vdb.getStatus() == Status.ACTIVE) {
  severity = Severity.ERROR;
origin: org.jboss.teiid/teiid-engine

  this.connectionFactory = this.manager.getConnectionFactory();
} catch (TranslatorException e) {
  if (this.connector.isSourceRequired()) {
    throw e;
  this.connection = this.connector.getConnection(this.connectionFactory, securityContext);
if (this.connection == null && this.connector.isSourceRequired()) {
  throw new TranslatorException(QueryPlugin.Event.TEIID31108, QueryPlugin.Util.getString("datasource_not_found", this.manager.getConnectionName())); //$NON-NLS-1$);
origin: org.teiid/teiid-engine

  this.connectionFactory = this.manager.getConnectionFactory();
} catch (TranslatorException e) {
  if (this.connector.isSourceRequired()) {
    throw e;
  this.connection = this.connector.getConnection(this.connectionFactory, securityContext);
if (this.connection == null && this.connector.isSourceRequired()) {
  throw new TranslatorException(QueryPlugin.Event.TEIID31108, QueryPlugin.Util.getString("datasource_not_found", this.manager.getConnectionName())); //$NON-NLS-1$);
origin: teiid/teiid

  this.connectionFactory = this.manager.getConnectionFactory();
} catch (TranslatorException e) {
  if (this.connector.isSourceRequired()) {
    throw e;
  this.connection = this.connector.getConnection(this.connectionFactory, securityContext);
if (this.connection == null && this.connector.isSourceRequired()) {
  throw new TranslatorException(QueryPlugin.Event.TEIID31108, QueryPlugin.Util.getString("datasource_not_found", this.manager.getConnectionName())); //$NON-NLS-1$);
org.teiid.translatorExecutionFactoryisSourceRequired

Javadoc

Flag that indicates if a underlying source connection required for this execution factory to work

Popular methods of ExecutionFactory

  • start
  • createExecution
  • getMetadata
  • areLobsUsableAfterClose
  • closeConnection
  • getCacheDirective
  • getCollationLocale
  • getConnection
  • getDefaultNullOrder
  • getDirectQueryProcedureName
  • getExcludedCommonTableExpressionName
  • getMaxDependentInPredicates
  • getExcludedCommonTableExpressionName,
  • getMaxDependentInPredicates,
  • getMaxFromGroups,
  • getMaxInCriteriaSize,
  • getPushDownFunctions,
  • getRequiredLikeEscape,
  • getSupportedFunctions,
  • getSupportedJoinCriteria,
  • getTransactionSupport

Popular in Java

  • Reading from database using SQL prepared statement
  • runOnUiThread (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • getContentResolver (Context)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • JTextField (javax.swing)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now