|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.conquiris.api.search.AbstractHitMapper<T>
T - Type of the custom object.public abstract class AbstractHitMapper<T>
Abstract implementation of a hit mapper.
| Constructor Summary | |
|---|---|
protected |
AbstractHitMapper()
Constructor with no selector. |
protected |
AbstractHitMapper(org.apache.lucene.document.FieldSelector selector)
Constructor with a provided selector. |
protected |
AbstractHitMapper(Iterable<String> fieldsToLoad)
Creates a mapper with a selector that loads only a certain set of fields. |
protected |
AbstractHitMapper(Iterable<String> fieldsToLoad,
Iterable<String> fieldsToLoadLazily)
Creates a mapper with a selector that loads a certain set of fields eagerly, another set lazily and the rest are not loaded. |
| Method Summary | |
|---|---|
org.apache.lucene.document.FieldSelector |
getFieldSelector()
Returns the field selector to use. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.google.common.base.Function |
|---|
apply, equals |
| Constructor Detail |
|---|
protected AbstractHitMapper()
protected AbstractHitMapper(@Nullable
org.apache.lucene.document.FieldSelector selector)
protected AbstractHitMapper(Iterable<String> fieldsToLoad,
Iterable<String> fieldsToLoadLazily)
fieldsToLoad - Fields to load eagerly.fieldsToLoadLazily - Fields to load lazily.
NullPointerException - if any of the argument or any of their members is null.protected AbstractHitMapper(Iterable<String> fieldsToLoad)
fieldsToLoad - Fields to load.
NullPointerException - if the argument or any of its members is null.| Method Detail |
|---|
public final org.apache.lucene.document.FieldSelector getFieldSelector()
HitMapper
getFieldSelector in interface HitMapper<T>null if no selector is used.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||