net.conquiris.api.search
Interface HitMapper<T>

Type Parameters:
T - Type of the custom object.
All Superinterfaces:
Function<Hit,T>
All Known Implementing Classes:
AbstractHitMapper

public interface HitMapper<T>
extends Function<Hit,T>

Mapper from a search hit to a custom object.

Author:
Andres Rodriguez

Method Summary
 FieldSelector getFieldSelector()
          Returns the field selector to use.
 
Methods inherited from interface com.google.common.base.Function
apply, equals
 

Method Detail

getFieldSelector

FieldSelector getFieldSelector()
Returns the field selector to use.

Returns:
The field selector or null if no selector is used.


Copyright © 2012 Derquinse Projects.. All Rights Reserved.