net.conquiris.api.search
Class AbstractHitMapper<T>
java.lang.Object
net.conquiris.api.search.AbstractHitMapper<T>
- Type Parameters:
T - Type of the custom object.
- All Implemented Interfaces:
- Function<Hit,T>, HitMapper<T>
public abstract class AbstractHitMapper<T>
- extends Object
- implements HitMapper<T>
Abstract implementation of a hit mapper.
- Author:
- Andres Rodriguez
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractHitMapper
protected AbstractHitMapper()
- Constructor with no selector.
AbstractHitMapper
protected AbstractHitMapper(@Nullable
FieldSelector selector)
- Constructor with a provided selector.
getFieldSelector
public final FieldSelector getFieldSelector()
- Description copied from interface:
HitMapper
- Returns the field selector to use.
- Specified by:
getFieldSelector in interface HitMapper<T>
- Returns:
- The field selector or
null if no selector is used.
Copyright © 2012 Derquinse Projects.. All Rights Reserved.