| org.objectweb.jonas_ejb.container.jorm.JormFactory org.objectweb.jonas_ejb.container.jorm.MedorFactory
All known Subclasses: org.objectweb.jonas_ejb.container.jorm.RdbFactory,
MedorFactory | abstract public class MedorFactory extends JormFactory (Code) | | This class does the initialisation of Medor and permits to access to the
query. The optimisation of the query tree is done during the first time that
it is used.
author: S.Chassande-Barrioz |
Method Summary | |
public TupleCollection | evaluate(Object conn, int methodIndex, ParameterOperand[] parameters) It evaluate an optimized medor request according to the specified
parameters To evalute the medor request the query evaluator is used. | public synchronized QueryEvaluator | getOptimizedRequest(MethodCmp2Desc methodDesc) It retrieves a medor request which is evaluable and optimized. | public void | init(EntityDesc ed, JContainer c, String mapperName) |
indexesGenerator | protected ExecPlanGenerator indexesGenerator(Code) | | |
miManager | protected Manager miManager(Code) | | |
optimizeAtInit | protected boolean optimizeAtInit(Code) | | |
queryTransformer | protected QueryTransformer queryTransformer(Code) | | This field references the query transformer which must be used to
optimize the medor requests.
|
MedorFactory | public MedorFactory()(Code) | | |
evaluate | public TupleCollection evaluate(Object conn, int methodIndex, ParameterOperand[] parameters) throws MedorException(Code) | | It evaluate an optimized medor request according to the specified
parameters To evalute the medor request the query evaluator is used.
Parameters: conn - is the connection handle Parameters: methodIndex - is method index which permits to find a medor request. Parameters: parameters - is the parameters (key=parameter name / value=parametervalue) TupleCollection is the result of the request |
getOptimizedRequest | public synchronized QueryEvaluator getOptimizedRequest(MethodCmp2Desc methodDesc) throws MedorException(Code) | | It retrieves a medor request which is evaluable and optimized. The method
index is translate into a request index, then the found request is
optimized if it is not already.
Parameters: methodDesc - is the MethodCmp2Desc of the finder or select method. the QueryTree optimized which is associated to the method index |
|
|