Class MatchPhaseSettingsValidator.AttributeValidator
- java.lang.Object
-
- com.yahoo.searchdefinition.processing.MatchPhaseSettingsValidator.AttributeValidator
-
- Enclosing class:
- MatchPhaseSettingsValidator
public static class MatchPhaseSettingsValidator.AttributeValidator extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AttributeValidator(java.lang.String searchName, java.lang.String rankProfileName, Attribute attribute, java.lang.String attributeName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
failValidation(java.lang.String what)
java.lang.String
getValidationType()
void
validate()
protected void
validateThatAttributeExists()
protected void
validateThatAttributeIsFastSearch()
protected void
validateThatAttributeIsSingleNumeric()
-
-
-
Field Detail
-
attribute
protected final Attribute attribute
-
-
Constructor Detail
-
AttributeValidator
public AttributeValidator(java.lang.String searchName, java.lang.String rankProfileName, Attribute attribute, java.lang.String attributeName)
-
-
Method Detail
-
validate
public void validate()
-
validateThatAttributeExists
protected void validateThatAttributeExists()
-
validateThatAttributeIsSingleNumeric
protected void validateThatAttributeIsSingleNumeric()
-
validateThatAttributeIsFastSearch
protected void validateThatAttributeIsFastSearch()
-
failValidation
protected void failValidation(java.lang.String what)
-
getValidationType
public java.lang.String getValidationType()
-
-