org.makumba.db.makumba
Class OQLQueryProvider
java.lang.Object
org.makumba.providers.QueryProvider
org.makumba.db.makumba.OQLQueryProvider
- All Implemented Interfaces:
- SingletonHolder
public class OQLQueryProvider
- extends QueryProvider
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OQLQUERY_ANALYSIS_PROVIDER
public static final String OQLQUERY_ANALYSIS_PROVIDER
- See Also:
- Constant Field Values
OQLQueryProvider
public OQLQueryProvider()
getQueryAnalysisProviderClass
protected String getQueryAnalysisProviderClass()
- Overrides:
getQueryAnalysisProviderClass in class QueryProvider
executeRaw
public Vector<Dictionary<String,Object>> executeRaw(String query,
Map args,
int offset,
int limit)
- Description copied from class:
QueryProvider
- Executes a query with a given set of parameters
- Specified by:
executeRaw in class QueryProvider
- Parameters:
query - the query to executeargs - the arguments of this queryoffset - from which record should results be returnedlimit - until which record should results be returned
- Returns:
- a Vector holding Dictionaries corresponding to a result
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