org.gcube.searchsystem.cache
Class PlanCache
java.lang.Object
org.gcube.searchsystem.cache.PlanCache
public class PlanCache
- extends Object
|
Constructor Summary |
PlanCache(net.sf.ehcache.Cache cache)
|
|
Method Summary |
void |
addPlan(String cqlQuery,
search.library.util.cql.query.tree.GCQLNode head,
gr.uoa.di.madgik.workflow.adaptor.search.searchsystemplan.PlanNode newPlan)
|
gr.uoa.di.madgik.workflow.adaptor.search.searchsystemplan.PlanNode |
searchForCachedPlans(String cqlQuery,
search.library.util.cql.query.tree.GCQLNode head)
returns a cached plan for a query |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlanCache
public PlanCache(net.sf.ehcache.Cache cache)
searchForCachedPlans
public gr.uoa.di.madgik.workflow.adaptor.search.searchsystemplan.PlanNode searchForCachedPlans(String cqlQuery,
search.library.util.cql.query.tree.GCQLNode head)
- returns a cached plan for a query
- Parameters:
cqlQuery - - the query in string formathead - - the query, parsed
- Returns:
- the plan or null if there is no cached plan
addPlan
public void addPlan(String cqlQuery,
search.library.util.cql.query.tree.GCQLNode head,
gr.uoa.di.madgik.workflow.adaptor.search.searchsystemplan.PlanNode newPlan)
Copyright © 2012. All Rights Reserved.