org.makumba.db.makumba
Class MQLQueryProvider

java.lang.Object
  extended by org.makumba.providers.QueryProvider
      extended by org.makumba.db.makumba.MQLQueryProvider
All Implemented Interfaces:
SingletonHolder

public class MQLQueryProvider
extends QueryProvider


Field Summary
static String MQLQUERY_ANALYSIS_PROVIDER
           
 
Constructor Summary
MQLQueryProvider()
           
 
Method Summary
 void close()
          Closes the environment, when all queries were executed
 Vector<Dictionary<String,Object>> executeRaw(String query, Map args, int offset, int limit)
           
protected  String getQueryAnalysisProviderClass()
           
protected  void init(String dataSource, Attributes a)
          Initalises the provider with the datasource
 
Methods inherited from class org.makumba.providers.QueryProvider
execute, getDataSource, getQueryAnalzyer, makeQueryRunner, makeQueryRunner, release
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MQLQUERY_ANALYSIS_PROVIDER

public static final String MQLQUERY_ANALYSIS_PROVIDER
See Also:
Constant Field Values
Constructor Detail

MQLQueryProvider

public MQLQueryProvider()
Method Detail

getQueryAnalysisProviderClass

protected String getQueryAnalysisProviderClass()
Overrides:
getQueryAnalysisProviderClass in class QueryProvider

executeRaw

public Vector<Dictionary<String,Object>> executeRaw(String query,
                                                    Map args,
                                                    int offset,
                                                    int limit)
Specified by:
executeRaw in class QueryProvider

close

public void close()
Description copied from class: QueryProvider
Closes the environment, when all queries were executed

Specified by:
close in class QueryProvider

init

protected void init(String dataSource,
                    Attributes a)
Description copied from class: QueryProvider
Initalises the provider with the datasource

Overrides:
init in class QueryProvider
Parameters:
dataSource - the source on which the query should be run