| java.lang.Object org.apache.derby.impl.sql.execute.GenericExecutionFactory
GenericExecutionFactory | public class GenericExecutionFactory implements ModuleControl,ModuleSupportable,ExecutionFactory(Code) | | This Factory is for creating the execution items needed
by a connection for a given database. Once created for
the connection, they should be pushed onto the execution context
so that they can be found again by subsequent actions during the session.
author: ames |
Method Summary | |
public void | boot(boolean create, Properties startParams) This Factory is expected to be booted relative to a
LanguageConnectionFactory. | public boolean | canSupport(Properties startParams) | public GenericConstantActionFactory | getConstantActionFactory() Get the factory for constant actions. | public ExecIndexRow | getIndexableRow(int numColumns) | public ExecIndexRow | getIndexableRow(ExecRow valueRow) | public Object | getJdbcCopyConstants(int[][] paramReferences, TypeDescriptor[][] columnTypes, int[][] publishedTableSchemaCounts) Packages up a clump of constants which the Plugin uses at execute()
time for COPY PUBLICATION. | public Object | getJdbcCreateConstants(UUID[] publishedJarFileIDs, Object publishedItems, int[][] tableSchemaCounts) Packages up a clump of constants which the Plugin uses at execute()
time for CREATE PUBLICATION. | public Qualifier | getQualifier(int columnId, int operator, GeneratedMethod orderableGetter, Activation activation, boolean orderedNulls, boolean unknownRV, boolean negateCompareResult, int variantType) | public ResultColumnDescriptor | getResultColumnDescriptor(ResultColumnDescriptor compileRCD) Create an execution time ResultColumnDescriptor from a
compile time RCD.
Parameters: compileRCD - The compile time RCD. | public ResultDescription | getResultDescription(ResultColumnDescriptor[] columns, String statementType) | public ResultSetFactory | getResultSetFactory() Factories are generic and can be used by all connections. | public RowChanger | getRowChanger(long heapConglom, StaticCompiledOpenConglomInfo heapSCOCI, DynamicCompiledOpenConglomInfo heapDCOCI, IndexRowGenerator[] irgs, long[] indexCIDS, StaticCompiledOpenConglomInfo[] indexSCOCIs, DynamicCompiledOpenConglomInfo[] indexDCOCIs, int numberOfColumns, TransactionController tc, int[] changedColumnIds, int[] streamStorableHeapColIds, Activation activation) | public RowChanger | getRowChanger(long heapConglom, StaticCompiledOpenConglomInfo heapSCOCI, DynamicCompiledOpenConglomInfo heapDCOCI, IndexRowGenerator[] irgs, long[] indexCIDS, StaticCompiledOpenConglomInfo[] indexSCOCIs, DynamicCompiledOpenConglomInfo[] indexDCOCIs, int numberOfColumns, TransactionController tc, int[] changedColumnIds, FormatableBitSet baseRowReadList, int[] baseRowReadMap, int[] streamStorableColIds, Activation activation) | public ScanQualifier[][] | getScanQualifier(int numQualifiers) | public InternalTriggerExecutionContext | getTriggerExecutionContext(LanguageConnectionContext lcc, ConnectionContext cc, String statementText, int dmlType, int[] changedColIds, String[] changedColNames, UUID targetTableId, String targetTableName, Vector aiCounters) | public ExecRow | getValueRow(int numColumns) | public ExecutionContext | newExecutionContext(ContextManager cm) We want a dependency context so that we can push it onto
the stack. | public void | releaseScanQualifier(ScanQualifier[][] qualifiers) | public void | stop() |
GenericExecutionFactory | public GenericExecutionFactory()(Code) | | |
getJdbcCopyConstants | public Object getJdbcCopyConstants(int[][] paramReferences, TypeDescriptor[][] columnTypes, int[][] publishedTableSchemaCounts)(Code) | | Packages up a clump of constants which the Plugin uses at execute()
time for COPY PUBLICATION.
|
getJdbcCreateConstants | public Object getJdbcCreateConstants(UUID[] publishedJarFileIDs, Object publishedItems, int[][] tableSchemaCounts)(Code) | | Packages up a clump of constants which the Plugin uses at execute()
time for CREATE PUBLICATION.
|
getResultColumnDescriptor | public ResultColumnDescriptor getResultColumnDescriptor(ResultColumnDescriptor compileRCD)(Code) | | Create an execution time ResultColumnDescriptor from a
compile time RCD.
Parameters: compileRCD - The compile time RCD. The execution time ResultColumnDescriptor |
getResultSetFactory | public ResultSetFactory getResultSetFactory()(Code) | | Factories are generic and can be used by all connections.
We defer instantiation until needed to reduce boot time.
We may instantiate too many instances in rare multi-user
situation, but consistency will be maintained and at some
point, usually always, we will have 1 and only 1 instance
of each factory because assignment is atomic.
|
getRowChanger | public RowChanger getRowChanger(long heapConglom, StaticCompiledOpenConglomInfo heapSCOCI, DynamicCompiledOpenConglomInfo heapDCOCI, IndexRowGenerator[] irgs, long[] indexCIDS, StaticCompiledOpenConglomInfo[] indexSCOCIs, DynamicCompiledOpenConglomInfo[] indexDCOCIs, int numberOfColumns, TransactionController tc, int[] changedColumnIds, int[] streamStorableHeapColIds, Activation activation) throws StandardException(Code) | | exception: StandardException - Thrown on error See Also: ExecutionFactory.getRowChanger |
getRowChanger | public RowChanger getRowChanger(long heapConglom, StaticCompiledOpenConglomInfo heapSCOCI, DynamicCompiledOpenConglomInfo heapDCOCI, IndexRowGenerator[] irgs, long[] indexCIDS, StaticCompiledOpenConglomInfo[] indexSCOCIs, DynamicCompiledOpenConglomInfo[] indexDCOCIs, int numberOfColumns, TransactionController tc, int[] changedColumnIds, FormatableBitSet baseRowReadList, int[] baseRowReadMap, int[] streamStorableColIds, Activation activation) throws StandardException(Code) | | exception: StandardException - Thrown on error See Also: ExecutionFactory.getRowChanger |
newExecutionContext | public ExecutionContext newExecutionContext(ContextManager cm)(Code) | | We want a dependency context so that we can push it onto
the stack. We could instead require the implementation
push it onto the stack for us, but this way we know
which context object exactly was pushed onto the stack.
|
|
|