public final class DoubleFieldLoadingStrategy extends Object implements FieldLoadingStrategy
FieldLoadingStrategy| Constructor and Description |
|---|
DoubleFieldLoadingStrategy(String fieldName) |
| Modifier and Type | Method and Description |
|---|---|
Double |
collect(int relativeDocId)
The collector wants to pick a specific element from the cache.
|
void |
loadNewCacheValues(org.apache.lucene.index.IndexReader reader)
A new IndexReader is opened - implementations usually need this to
load the next array of cached data.
|
public DoubleFieldLoadingStrategy(String fieldName)
public void loadNewCacheValues(org.apache.lucene.index.IndexReader reader)
throws IOException
FieldLoadingStrategyloadNewCacheValues in interface FieldLoadingStrategyreader - the IndexReader for which to load the new cache valuesIOException - in case an error occurs reading the cache values from the indexpublic Double collect(int relativeDocId)
FieldLoadingStrategycollect in interface FieldLoadingStrategyrelativeDocId - the doc id relative to the current readerrelativeDocId.Copyright © 2006–2014 Hibernate. All rights reserved.