public class LocalSearchBackend extends java.lang.Object implements IQueryBackend
Constructor and Description |
---|
LocalSearchBackend(org.apache.log4j.Logger logger,
IQueryRuntimeContext runtimeContext,
IQueryCacheContext queryCacheContext,
IQueryBackendHintProvider hintProvider) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes the query backend.
|
com.google.common.collect.Table<org.eclipse.emf.ecore.EDataType,org.eclipse.emf.ecore.EClass,java.util.Set<org.eclipse.emf.ecore.EAttribute>> |
geteAttributesByTypeForEClass() |
IQueryResultProvider |
getResultProvider(PQuery query)
Returns a result provider for a given query.
|
boolean |
isCaching() |
IQueryResultProvider |
peekExistingResultProvider(PQuery query)
Returns an existing result provider for a given query, if it was previously constructed, returns null otherwise.
|
public LocalSearchBackend(org.apache.log4j.Logger logger, IQueryRuntimeContext runtimeContext, IQueryCacheContext queryCacheContext, IQueryBackendHintProvider hintProvider)
public IQueryResultProvider getResultProvider(PQuery query) throws QueryProcessingException
IQueryBackend
getResultProvider
in interface IQueryBackend
QueryProcessingException
public void dispose()
IQueryBackend
dispose
in interface IQueryBackend
public boolean isCaching()
isCaching
in interface IQueryBackend
public IQueryResultProvider peekExistingResultProvider(PQuery query)
IQueryBackend
peekExistingResultProvider
in interface IQueryBackend
public com.google.common.collect.Table<org.eclipse.emf.ecore.EDataType,org.eclipse.emf.ecore.EClass,java.util.Set<org.eclipse.emf.ecore.EAttribute>> geteAttributesByTypeForEClass()