Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.derby.iapi.sql
Interface LanguageFactory  view LanguageFactory download LanguageFactory.java


public interface LanguageFactory

Factory interface for the Language.Interface protocol. This is used via the Database API by users, and is presented as a System Module (not a service module). That could change, but for now this is valid for any database.


Field Summary
static java.lang.String MODULE
          Used to locate this factory by the Monitor basic service.
 
Method Summary
 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(org.apache.derby.iapi.services.loader.ClassInspector ci, int numParms, boolean hasReturnParam)
          Get a ParameterValueSet
 

Field Detail

MODULE

public static final java.lang.String MODULE
Used to locate this factory by the Monitor basic service. There needs to be a language factory per database.

See Also:
Constant Field Values
Method Detail

newParameterValueSet

public ParameterValueSet newParameterValueSet(org.apache.derby.iapi.services.loader.ClassInspector ci,
                                              int numParms,
                                              boolean hasReturnParam)
Get a ParameterValueSet


getResultDescription

public ResultDescription getResultDescription(ResultDescription inputResultDescription,
                                              int[] theCols)
Get a new result description from the input result description. Picks only the columns in the column array from the inputResultDescription.


getResultDescription

public ResultDescription getResultDescription(ResultColumnDescriptor[] cols,
                                              java.lang.String type)
Get a new result description