Class SpellCheckResult.SuggestedQuery
java.lang.Object
com.broadleafcommerce.search.api.domain.SpellCheckResult.SuggestedQuery
- All Implemented Interfaces:
Serializable
- Enclosing class:
- SpellCheckResult
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSuggestedQuery(String query, Long hits) Creates a newSuggestedQueryinstance. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetHits()The number of hits for the suggested query.getQuery()The suggested query to replace the original query.inthashCode()voidThe number of hits for the suggested query.voidThe suggested query to replace the original query.toString()
-
Constructor Details
-
SuggestedQuery
Creates a newSuggestedQueryinstance.- Parameters:
query- the suggested queryhits- number of hits for suggested query
-
-
Method Details
-
getQuery
The suggested query to replace the original query.- Returns:
- the suggested query
-
getHits
The number of hits for the suggested query.- Returns:
- number of hits for suggested query
-
setQuery
The suggested query to replace the original query.- Parameters:
query- the suggested query
-
setHits
The number of hits for the suggested query.- Parameters:
hits- number of hits for suggested query
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-