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.
|
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 typeApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.