Class SearchDataTypeValidator


  • public class SearchDataTypeValidator
    extends Validator
    This Validator iterates through all search cluster in the given VespaModel to make sure that there are no custom structs defined in any of its search definitions.
    Author:
    Simon Thoresen Hult
    • Constructor Detail

      • SearchDataTypeValidator

        public SearchDataTypeValidator()
    • Method Detail

      • validate

        public void validate​(VespaModel model,
                             DeployState deployState)
        Description copied from class: Validator
        Validates the input vespamodel
        Specified by:
        validate in class Validator
        Parameters:
        model - a VespaModel object
        deployState - The DeployState built from building the model