|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.derby.impl.sql.GenericLanguageFactory
The LanguageFactory provides system-wide services that are available on the Database API.
Field Summary | |
private GenericParameterValueSet |
emptySet
|
Fields inherited from interface org.apache.derby.iapi.sql.LanguageFactory |
MODULE |
Constructor Summary | |
GenericLanguageFactory()
|
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private GenericParameterValueSet emptySet
Constructor Detail |
public GenericLanguageFactory()
Method Detail |
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 null
public ResultDescription getResultDescription(ResultColumnDescriptor[] cols, java.lang.String type)
getResultDescription
in interface LanguageFactory
cols
- an array of col descriptorstype
- the statement type
|
Built on Mon 2007-06-04 09:58:47+0400, from revision ??? | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |