| Modifier and Type | Field and Description |
|---|---|
| private GenericConstantActionFactory | |
| private ResultSetFactory | |
| private ResultSetStatisticsFactory | rssFactory
Statistics factory for this factory. |
| private XPLAINFactoryIF |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | boot(boolean
True if the database should be created create, Properties Configuration properties startParams)Implements org. This Factory is expected to be booted relative to a LanguageConnectionFactory. |
| private static Object | bootServiceModule(final boolean create, final Object serviceModule, final String factoryInterface, final Properties properties)
Must be private so that user code can't call this entry point. |
| public boolean | canSupport(Properties startParams)
Implements org. See if this implementation can support any attributes that are listed in properties. |
| public GenericConstantActionFactory | Returns: the factory for constant actions.Get the factory for constant actions. |
| public ExecIndexRow | getIndexableRow(int numColumns)
Implements org. This returns an indexable row |
| public ExecIndexRow | getIndexableRow(ExecRow valueRow)
Implements org. This returns the value row as an indexable row |
| public Qualifier | getQualifier(int
The store id of the column to qualify columnId, int One of Orderable.ORDER_OP_EQUALS,
Orderable.ORDER_OP_LESSTHAN,
or Orderable.ORDER_OP_LESSOREQUALS operator, GeneratedMethod A generated method that returns the
Orderable to be compared with the column orderableGetter, Activation The Activation that acts as the receiver for the
generated method activation, boolean True means that null == null for the sake of
this Qualifier orderedNulls, boolean The value to return if the comparison between
the column and the Orderable value returns the
unknown truth value unknownRV, boolean True means to negate the result of the comparison.
So, for example, to do a > comparison, you would
pass ORDER_OP_LESSOREQUALS and set negate to true. negateCompareResult, int The variantType for the qualifier's orderable.
(Determines whether or not to cache the value.) variantType)Implements org. Get a Qualifier to use with a scan of a conglomerate. |
| public ResultColumnDescriptor | Returns: The execution time ResultColumnDescriptorThe compile time RCD. compileRCD)Implements org. Create an execution time ResultColumnDescriptor from a compile time RCD. |
| public ResultDescription | getResultDescription(ResultColumnDescriptor[] columns, String statementType)
Implements org. Make a result description |
| public ResultSetFactory | getResultSetFactory()
Implements org. Factories are generic and can be used by all connections. |
| public ResultSetStatisticsFactory | Returns: The result set statistics factory associated with this ExecutionFactoryImplements org. Get the ResultSetStatisticsFactory from this ExecutionFactory. |
| public RowChanger | getRowChanger(long
Conglomerate # for the heap heapConglom, StaticCompiledOpenConglomInfo The SCOCI for the heap. heapSCOCI, DynamicCompiledOpenConglomInfo The DCOCI for the heap. heapDCOCI, IndexRowGenerator[] the IndexRowGenerators for the table's indexes. We use
positions in this array as local id's for indexes. To support updates,
only indexes that change need be included. irgs, long[] the conglomerateids for the table's idexes.
indexCIDS[ix] corresponds to the same index as irgs[ix]. indexCIDS, StaticCompiledOpenConglomInfo[] the SCOCIs for the table's idexes.
indexSCOCIs[ix] corresponds to the same index as irgs[ix]. indexSCOCIs, DynamicCompiledOpenConglomInfo[] the DCOCIs for the table's idexes.
indexDCOCIs[ix] corresponds to the same index as irgs[ix]. indexDCOCIs, int Number of columns in a full row. numberOfColumns, TransactionController the transaction controller tc, int[] changedColumnIds, int[] Column ids of stream storable
columns. (0 based, Only needed for sync. null if none or
not needed). streamStorableHeapColIds, Activation The Activation. activation)Implements org. Create a new RowChanger for performing update and delete operations based on full before and after rows. |
| public RowChanger | getRowChanger(long
Conglomerate # for the heap heapConglom, StaticCompiledOpenConglomInfo The SCOCI for the heap. heapSCOCI, DynamicCompiledOpenConglomInfo The DCOCI for the heap. heapDCOCI, IndexRowGenerator[] the IndexRowGenerators for the table's indexes. We use
positions in this array as local id's for indexes. To support updates,
only indexes that change need be included. irgs, long[] the conglomerateids for the table's idexes.
indexCIDS[ix] corresponds to the same index as irgs[ix]. indexCIDS, StaticCompiledOpenConglomInfo[] the SCOCIs for the table's idexes.
indexSCOCIs[ix] corresponds to the same index as irgs[ix]. indexSCOCIs, DynamicCompiledOpenConglomInfo[] the DCOCIs for the table's idexes.
indexDCOCIs[ix] corresponds to the same index as irgs[ix]. indexDCOCIs, int Number of columns in partial row. numberOfColumns, TransactionController the transaction controller tc, int[] array of 1 based ints of columns
to be updated. Used by update only. changedColumnIds, FormatableBitSet the columns in the base row that were
read (1 based) baseRowReadList, int[] baseRowReadMap[heapColId]->readRowColId
(0 based) baseRowReadMap, int[] Column ids of stream storable
columns. (0 based, Only needed for sync. null if none or
not needed). streamStorableColIds, Activation The Activation. activation)Implements org. Create a new RowChanger for doing insert update and delete operations based on partial before and after. |
| public ScanQualifier[][] | getScanQualifier(int
The number of ScanQualifiers to get. numQualifiers)Implements org. Get an array of ScanQualifiers for a scan. |
| pack-priv InternalTriggerExecutionContext | getTriggerExecutionContext(LanguageConnectionContext lcc, ConnectionContext cc, String statementText, int dmlType, UUID targetTableId, String targetTableName, Vector<AutoincrementCounter> aiCounters)
Get a trigger execution context |
| public ExecRow | getValueRow(int numColumns)
Implements org. This returns a new row that is storable but not indexable |
| public XPLAINFactoryIF | Returns: The XPLAINFactory associated with this ExecutionContextImplements org. Get the XPLAINFactory from this ExecutionContext. |
| public ExecutionContext | newExecutionContext(ContextManager
the context manager cm)Implements org. We want a dependency context so that we can push it onto the stack. |
| public void | releaseScanQualifier(ScanQualifier[][] qualifiers)
Implements org. Release a ScanQualifier[] (back to the pool or free it). |
| public void |
| genericConstantActionFactory | back to summary |
|---|---|
| private GenericConstantActionFactory genericConstantActionFactory | |
| rsFactory | back to summary |
|---|---|
| private ResultSetFactory rsFactory | |
| rssFactory | back to summary |
|---|---|
| private ResultSetStatisticsFactory rssFactory Statistics factory for this factory. | |
| xplainFactory | back to summary |
|---|---|
| private XPLAINFactoryIF xplainFactory | |
| GenericExecutionFactory | back to summary |
|---|---|
| public GenericExecutionFactory() | |
| boot | back to summary |
|---|---|
| public void boot(boolean create, Properties startParams) throws StandardException Implements org. This Factory is expected to be booted relative to a LanguageConnectionFactory.
| |
| bootServiceModule | back to summary |
|---|---|
| private static Object bootServiceModule(final boolean create, final Object serviceModule, final String factoryInterface, final Properties properties) throws StandardException Must be private so that user code can't call this entry point. | |
| canSupport | back to summary |
|---|---|
| public boolean canSupport(Properties startParams) Implements org. Doc from org. See if this implementation can support any attributes that are listed in properties. This call may be made on a newly created instance before the boot() method has been called, or after the boot method has been called for a running module.
The module can check for attributes in the properties to
see if it can fulfill the required behaviour. E.g. the raw
store may define an attribute called RawStore.Recoverable.
If a temporary raw store is required the property RawStore.recoverable=false
would be added to the properties before calling bootServiceModule. If a
raw store cannot support this attribute its canSupport method would
return null. Also see the Monitor class's prologue to see how the
identifier is used in looking up properties.
| |
| getConstantActionFactory | back to summary |
|---|---|
| public GenericConstantActionFactory getConstantActionFactory() Get the factory for constant actions.
| |
| getIndexableRow | back to summary |
|---|---|
| public ExecIndexRow getIndexableRow(int numColumns) Implements org. Doc from org. This returns an indexable row | |
| getIndexableRow | back to summary |
|---|---|
| public ExecIndexRow getIndexableRow(ExecRow valueRow) Implements org. Doc from org. This returns the value row as an indexable row | |
| getQualifier | back to summary |
|---|---|
| public Qualifier getQualifier(int columnId, int operator, GeneratedMethod orderableGetter, Activation activation, boolean orderedNulls, boolean unknownRV, boolean negateCompareResult, int variantType) Implements org. Doc from org. Get a Qualifier to use with a scan of a conglomerate.
| |
| getResultColumnDescriptor | back to summary |
|---|---|
| public ResultColumnDescriptor getResultColumnDescriptor(ResultColumnDescriptor compileRCD) Implements org. Create an execution time ResultColumnDescriptor from a compile time RCD.
| |
| getResultDescription | back to summary |
|---|---|
| public ResultDescription getResultDescription(ResultColumnDescriptor[] columns, String statementType) Implements org. Make a result description | |
| getResultSetFactory | back to summary |
|---|---|
| public ResultSetFactory getResultSetFactory() Implements org. 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.
| |
| getResultSetStatisticsFactory | back to summary |
|---|---|
| public ResultSetStatisticsFactory getResultSetStatisticsFactory() throws StandardException Implements org. Get the ResultSetStatisticsFactory from this ExecutionFactory.
| |
| getRowChanger | back to summary |
|---|---|
| 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 Implements org. Doc from org. Create a new RowChanger for performing update and delete operations based on full before and after rows.
| |
| getRowChanger | back to summary |
|---|---|
| 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 Implements org. Doc from org. Create a new RowChanger for doing insert update and delete operations based on partial before and after.
| |
| getScanQualifier | back to summary |
|---|---|
| public ScanQualifier[][] getScanQualifier(int numQualifiers) Implements org. Doc from org. Get an array of ScanQualifiers for a scan. ScanQualifiers are used with the DataDictionary.
| |
| getTriggerExecutionContext | back to summary |
|---|---|
| pack-priv InternalTriggerExecutionContext getTriggerExecutionContext(LanguageConnectionContext lcc, ConnectionContext cc, String statementText, int dmlType, UUID targetTableId, String targetTableName, Vector<AutoincrementCounter> aiCounters) throws StandardException Get a trigger execution context
| |
| getValueRow | back to summary |
|---|---|
| public ExecRow getValueRow(int numColumns) Implements org. Doc from org. This returns a new row that is storable but not indexable | |
| getXPLAINFactory | back to summary |
|---|---|
| public XPLAINFactoryIF getXPLAINFactory() throws StandardException Implements org. Get the XPLAINFactory from this ExecutionContext.
| |
| newExecutionContext | back to summary |
|---|---|
| public ExecutionContext newExecutionContext(ContextManager cm) Implements org. 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.
| |
| releaseScanQualifier | back to summary |
|---|---|
| public void releaseScanQualifier(ScanQualifier[][] qualifiers) Implements org. Doc from org. Release a ScanQualifier[] (back to the pool or free it). | |
| stop | back to summary |
|---|---|
| public void stop() Implements org. Doc from org. Stop the module. The module may be found via a findModule() method until some time after this method returns. Therefore the factory must be prepared to reject requests to it once it has been stopped. In addition other modules may cache a reference to the module and make requests of it after it has been stopped, these requests should be rejected as well. | |