com.metamatrix.jdbc
Class EmbeddedDataSource

java.lang.Object
  extended by com.metamatrix.jdbc.WrapperImpl
      extended by com.metamatrix.jdbc.BaseDataSource
          extended by org.teiid.jdbc.TeiidDataSource
              extended by com.metamatrix.jdbc.EmbeddedDataSource
All Implemented Interfaces:
java.io.Serializable, java.sql.Wrapper, javax.sql.CommonDataSource, javax.sql.ConnectionPoolDataSource, javax.sql.DataSource, javax.sql.XADataSource

public class EmbeddedDataSource
extends TeiidDataSource

Since:
4.3
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.metamatrix.jdbc.BaseDataSource
APP_NAME, DEFAULT_APP_NAME, DEFAULT_FETCH_SIZE, DEFAULT_LOG_LEVEL, DEFAULT_PARTIAL_RESULTS_MODE, DEFAULT_RESULT_SET_CACHE_MODE, DEFAULT_TIMEOUT, JDBC, METAMATRIX_PROTOCOL, PASSWORD, TXN_AUTO_WRAP_OFF, TXN_AUTO_WRAP_ON, TXN_AUTO_WRAP_OPTIMISTIC, TXN_AUTO_WRAP_PESSIMISTIC, USER_NAME, VDB_NAME, VDB_VERSION, VERSION
 
Constructor Summary
EmbeddedDataSource()
           
 
Method Summary
 java.lang.String getBootstrapFile()
          Returns the path and file name from which embedded DQP configuration information will be read.
 void setBootstrapFile(java.lang.String configFile)
          Sets file name from which embedded DQP configuration information * will be read.
 
Methods inherited from class org.teiid.jdbc.TeiidDataSource
buildProperties, buildServerURL, buildURL, getAlternateServers, getAutoFailover, getConnection, getConnection, getCredentials, getDiscoveryStrategy, getEmbeddedBootstrapFile, getPortNumber, getServerName, isSecure, reasonWhyInvalidAlternateServers, reasonWhyInvalidConfigFile, reasonWhyInvalidPortNumber, reasonWhyInvalidServerName, reasonWhyInvalidSocketsPerVM, reasonWhyInvalidStickyConnections, setAlternateServers, setAutoFailover, setCredentials, setDiscoveryStrategy, setEmbeddedBootstrapFile, setPortNumber, setSecure, setServerName, toString, validateProperties
 
Methods inherited from class com.metamatrix.jdbc.BaseDataSource
getAdditionalProperties, getApplicationName, getClientToken, getDatabaseName, getDatabaseVersion, getDataSourceName, getDescription, getDisableLocalTxn, getFetchSize, getLoginTimeout, getLogWriter, getPartialResultsMode, getPassword, getPooledConnection, getPooledConnection, getResourceMessage, getResultSetCacheMode, getSqlOptions, getTransactionAutoWrap, getUser, getXAConnection, getXAConnection, reasonWhyInvalidApplicationName, reasonWhyInvalidClientToken, reasonWhyInvalidDatabaseName, reasonWhyInvalidDatabaseVersion, reasonWhyInvalidDataSourceName, reasonWhyInvalidDescription, reasonWhyInvalidFetchSize, reasonWhyInvalidPartialResultsMode, reasonWhyInvalidPassword, reasonWhyInvalidTransactionAutoWrap, reasonWhyInvalidUser, setAdditionalProperties, setApplicationName, setClientToken, setDatabaseName, setDatabaseVersion, setDataSourceName, setDescription, setDisableLocalTxn, setFetchSize, setLoginTimeout, setLogWriter, setPartialResultsMode, setPassword, setResultSetCacheMode, setSqlOptions, setTransactionAutoWrap, setUser
 
Methods inherited from class com.metamatrix.jdbc.WrapperImpl
isWrapperFor, unwrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
 

Constructor Detail

EmbeddedDataSource

public EmbeddedDataSource()
Method Detail

getBootstrapFile

public java.lang.String getBootstrapFile()
Returns the path and file name from which embedded DQP configuration information will be read.

Returns:
the name of the config file for this data source; may be null

setBootstrapFile

public void setBootstrapFile(java.lang.String configFile)
Sets file name from which embedded DQP configuration information * will be read.

Parameters:
configFile - The name of the config file name to set


Copyright © 2009. All Rights Reserved.