com.elasticpath.service.index.impl
Class AbstractQueryComposerImpl

java.lang.Object
  extended by com.elasticpath.service.index.impl.AbstractQueryComposerImpl
All Implemented Interfaces:
QueryComposer
Direct Known Subclasses:
CategoryQueryComposerImpl, CustomerQueryComposerImpl, OrderQueryComposerImpl, ProductQueryComposerImpl

public abstract class AbstractQueryComposerImpl
extends java.lang.Object
implements QueryComposer

This is an abastract implementation of QueryComposer.


Constructor Summary
AbstractQueryComposerImpl()
           
 
Method Summary
 Analyzer getAnalyzer()
          Returns the analyzer.
 ElasticPath getElasticPath()
          Returns the elastic path context.
 void setAnalyzer(Analyzer analyzer)
          Sets the analyzer.
 void setElasticPath(ElasticPath elasticPath)
          Sets the elastic path context.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.elasticpath.service.index.QueryComposer
composeFuzzyQuery, composeQuery
 

Constructor Detail

AbstractQueryComposerImpl

public AbstractQueryComposerImpl()
Method Detail

getAnalyzer

public Analyzer getAnalyzer()
Returns the analyzer.

Returns:
the analyzer

getElasticPath

public ElasticPath getElasticPath()
Returns the elastic path context.

Returns:
the elastic path context

setAnalyzer

public void setAnalyzer(Analyzer analyzer)
Sets the analyzer.

Parameters:
analyzer - the analyzer

setElasticPath

public void setElasticPath(ElasticPath elasticPath)
Sets the elastic path context.

Parameters:
elasticPath - the elastic path context