com.gisgraphy.domain.geoloc.service.fulltextsearch
Class SolrUnmarshaller

java.lang.Object
  extended by com.gisgraphy.domain.geoloc.service.fulltextsearch.SolrUnmarshaller

public class SolrUnmarshaller
extends java.lang.Object

SolrUnmarshaller for solr Query response to a DTO

Author:
David Masclet
See Also:
SolrResponseDto

Field Summary
protected static org.slf4j.Logger logger
          The Logger
 
Constructor Summary
SolrUnmarshaller()
           
 
Method Summary
static java.util.List<SolrResponseDto> unmarshall(org.apache.solr.client.solrj.response.QueryResponse queryResponse)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final org.slf4j.Logger logger
The Logger

Constructor Detail

SolrUnmarshaller

public SolrUnmarshaller()
Method Detail

unmarshall

public static java.util.List<SolrResponseDto> unmarshall(org.apache.solr.client.solrj.response.QueryResponse queryResponse)
Parameters:
queryResponse - the Solr QueryResponse we want to transform
Returns:
a list of SolrResponseDto or an empty list. never return null.


Copyright © 2010. All Rights Reserved.