ModuleControl, LanguageFactorypublic class GenericLanguageFactory extends java.lang.Object implements LanguageFactory, ModuleControl
| Modifier and Type | Field | Description |
|---|---|---|
private GenericParameterValueSet |
emptySet |
MODULE| Constructor | Description |
|---|---|
GenericLanguageFactory() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
boot(boolean create,
java.util.Properties startParams) |
Start-up method for this instance of the language factory.
|
private static java.lang.Object |
findServiceModule(java.lang.Object serviceModule,
java.lang.String factoryInterface) |
Privileged startup.
|
ResultDescription |
getResultDescription(ResultColumnDescriptor[] cols,
java.lang.String type) |
Get a new result description
|
ResultDescription |
getResultDescription(ResultDescription inputResultDescription,
int[] theCols) |
Get a new result description from the input result
description.
|
ParameterValueSet |
newParameterValueSet(ClassInspector ci,
int numParms,
boolean hasReturnParam) |
Factory method for getting a ParameterValueSet
|
void |
stop() |
Stop this module.
|
private GenericParameterValueSet emptySet
public void boot(boolean create,
java.util.Properties startParams)
throws StandardException
boot in interface ModuleControlstartParams - The start-up parameters (ignored in this case)StandardException - Thrown if module cannot be booted.Monitor,
ModuleFactorypublic void stop()
stop in interface ModuleControlMonitor,
ModuleFactorypublic ParameterValueSet newParameterValueSet(ClassInspector ci, int numParms, boolean hasReturnParam)
newParameterValueSet in interface LanguageFactorynumParms - The number of parameters in the
ParameterValueSethasReturnParam - true if this parameter set
has a return parameter. The return parameter
is always the 1st parameter in the list. It
is due to a callableStatement like this:
? = CALL myMethod()LanguageFactory.newParameterValueSet(org.apache.derby.iapi.services.loader.ClassInspector, int, boolean)public ResultDescription getResultDescription(ResultDescription inputResultDescription, int[] theCols)
getResultDescription in interface LanguageFactoryinputResultDescription - the input rdtheCols - array of ints, non nullpublic ResultDescription getResultDescription(ResultColumnDescriptor[] cols, java.lang.String type)
getResultDescription in interface LanguageFactorycols - an array of col descriptorstype - the statement typeprivate static java.lang.Object findServiceModule(java.lang.Object serviceModule,
java.lang.String factoryInterface)
throws StandardException
StandardExceptionApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.