| java.lang.Object org.apache.derby.impl.sql.conn.GenericLanguageConnectionFactory
Method Summary | |
public Serviceable | apply(String key, Serializable value, Dictionary p) | public void | boot(boolean create, Properties startParams) Start-up method for this instance of the language connection factory. | protected void | bootDataDictionary(boolean create, Properties startParams) | public boolean | canSupport(Properties startParams) this implementation will not support caching of statements. | public AccessFactory | getAccessFactory() | public ClassFactory | getClassFactory() | public DataValueFactory | getDataValueFactory() | public ExecutionFactory | getExecutionFactory() | public JavaFactory | getJavaFactory() | protected synchronized int | getNextLCCInstanceNumber() Get the instance # for the next LCC. | public NodeFactory | getNodeFactory() | public OptimizerFactory | getOptimizerFactory() | public PropertyFactory | getPropertyFactory() | public Statement | getStatement(SchemaDescriptor compilationSchema, String statementText, boolean forReadOnly) | public CacheManager | getStatementCache() returns the statement cache that this connection should use; currently
there is a statement cache per connection. | public TypeCompilerFactory | getTypeCompilerFactory() | public UUIDFactory | getUUIDFactory() | public void | init(boolean dbOnly, Dictionary p) | public Serializable | map(String key, Serializable value, Dictionary p) | public Cacheable | newCacheable(CacheManager cm) | public LanguageConnectionContext | newLanguageConnectionContext(ContextManager cm, TransactionController tc, LanguageFactory lf, Database db, String userName, String drdaID, String dbname) Get a LanguageConnectionContext. | public Parser | newParser(CompilerContext cc) | protected void | pushDataDictionaryContext(ContextManager cm) | protected void | setStore() | protected void | setValidation() | public void | stop() Stop this module. | public boolean | validate(String key, Serializable value, Dictionary p) |
GenericLanguageConnectionFactory | public GenericLanguageConnectionFactory()(Code) | | |
boot | public void boot(boolean create, Properties startParams) throws StandardException(Code) | | Start-up method for this instance of the language connection factory.
Note these are expected to be booted relative to a Database.
Parameters: startParams - The start-up parameters (ignored in this case) exception: StandardException - Thrown on failure to boot |
canSupport | public boolean canSupport(Properties startParams)(Code) | | this implementation will not support caching of statements.
|
getAccessFactory | public AccessFactory getAccessFactory()(Code) | | Get the AccessFactory to use with this language connection
|
getClassFactory | public ClassFactory getClassFactory()(Code) | | Get the ClassFactory to use with this language connection
|
getDataValueFactory | public DataValueFactory getDataValueFactory()(Code) | | Get the DataValueFactory to use with this language connection
|
getExecutionFactory | public ExecutionFactory getExecutionFactory()(Code) | | Get the ExecutionFactory to use with this language connection
|
getJavaFactory | public JavaFactory getJavaFactory()(Code) | | Get the JavaFactory to use with this language connection
REMIND: this is only used by the compiler; should there be
a compiler module control class to boot compiler-only stuff?
|
getNextLCCInstanceNumber | protected synchronized int getNextLCCInstanceNumber()(Code) | | Get the instance # for the next LCC.
(Useful for logStatementText=true output.
instance # of next LCC. |
getNodeFactory | public NodeFactory getNodeFactory()(Code) | | Get the NodeFactory to use with this language connection
REMIND: is this only used by the compiler?
|
getOptimizerFactory | public OptimizerFactory getOptimizerFactory()(Code) | | Get the OptimizerFactory to use with this language connection
|
getPropertyFactory | public PropertyFactory getPropertyFactory()(Code) | | Get the PropertyFactory to use with this language connection
|
getStatement | public Statement getStatement(SchemaDescriptor compilationSchema, String statementText, boolean forReadOnly)(Code) | | Get a Statement for the connection
Parameters: compilationSchema - schema Parameters: statementText - the text for the statement Parameters: forReadOnly - if concurrency is CONCUR_READ_ONLY The Statement |
getStatementCache | public CacheManager getStatementCache()(Code) | | returns the statement cache that this connection should use; currently
there is a statement cache per connection.
|
getTypeCompilerFactory | public TypeCompilerFactory getTypeCompilerFactory()(Code) | | Get the TypeCompilerFactory to use with this language connection
|
getUUIDFactory | public UUIDFactory getUUIDFactory()(Code) | | Get the UUIDFactory to use with this language connection
REMIND: this is only used by the compiler; should there be
a compiler module control class to boot compiler-only stuff?
|
stop | public void stop()(Code) | | Stop this module. In this case, nothing needs to be done.
|
|
|