public class GenericLanguageFactory extends java.lang.Object implements LanguageFactory, ModuleControl
Modifier and Type | Field and Description |
---|---|
private GenericParameterValueSet |
emptySet |
MODULE
Constructor and Description |
---|
GenericLanguageFactory() |
Modifier and Type | Method and 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 ModuleControl
startParams
- The start-up parameters (ignored in this case)StandardException
- Thrown if module cannot be booted.Monitor
,
ModuleFactory
public void stop()
stop
in interface ModuleControl
Monitor
,
ModuleFactory
public ParameterValueSet newParameterValueSet(ClassInspector ci, int numParms, boolean hasReturnParam)
newParameterValueSet
in interface LanguageFactory
numParms
- 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 LanguageFactory
inputResultDescription
- the input rdtheCols
- array of ints, non nullpublic ResultDescription getResultDescription(ResultColumnDescriptor[] cols, java.lang.String type)
getResultDescription
in interface LanguageFactory
cols
- an array of col descriptorstype
- the statement typeprivate static java.lang.Object findServiceModule(java.lang.Object serviceModule, java.lang.String factoryInterface) throws StandardException
StandardException
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.