Interface EvaluationContext
- 
- All Known Implementing Classes:
- JackrabbitIndexSearcher
 
 public interface EvaluationContextEvaluationContextdefines a context with various resources that are needed for constraint evaluation.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description QueryHitsevaluate(Query query)Evaluates the given lucenequeryand returns the query hits.IndexReadergetIndexReader()ItemStateManagergetItemStateManager()SessionImplgetSession()
 
- 
- 
- 
Method Detail- 
evaluateQueryHits evaluate(Query query) throws IOException Evaluates the given lucenequeryand returns the query hits.- Parameters:
- query- the lucene query to evaluate.
- Returns:
- the query hits for the given query.
- Throws:
- IOException- if an error occurs while reading from the index.
 
 - 
getIndexReaderIndexReader getIndexReader() - Returns:
- the index reader.
 
 - 
getSessionSessionImpl getSession() - Returns:
- the session that executes the query.
 
 - 
getItemStateManagerItemStateManager getItemStateManager() - Returns:
- the shared item state manager of the current workspace.
 
 
- 
 
-