public class QueryBox extends Object
| Constructor and Description |
|---|
QueryBox() |
| Modifier and Type | Method and Description |
|---|---|
UUID |
getMyId()
Id of this QueryBox
|
Object |
getValue(UUID queryUuid,
int docIndex)
Get the "docIndex" value on the correct DocumentExtractor
|
void |
kill(UUID id)
Kill the query (DocumentExtractor)
|
void |
put(UUID id,
org.hibernate.search.query.engine.spi.DocumentExtractor extractor)
Register a query (DocumentExtractor), so we can lazily load the results.
|
void |
setCache(AdvancedCache<?,?> cache) |
public Object getValue(UUID queryUuid, int docIndex)
queryUuid - The queryId, so we can get the correct DocumentExtractordocIndex - value index in the DocumentExtractorpublic void kill(UUID id)
id - The id of the querypublic void put(UUID id, org.hibernate.search.query.engine.spi.DocumentExtractor extractor)
id - The id of the queryextractor - The querypublic UUID getMyId()
public void setCache(AdvancedCache<?,?> cache)
Copyright © 2013 JBoss, a division of Red Hat. All rights reserved.