Class UpdateBulkSchemaValidator

  • All Implemented Interfaces:

    public class UpdateBulkSchemaValidator
    extends java.lang.Object
    implements DslValidator
    Dsl schema validator for bulk update request.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void validate​(com.fasterxml.jackson.databind.JsonNode dsl)
      Validate a dsl query
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UpdateBulkSchemaValidator

        public UpdateBulkSchemaValidator()
        Throws: - thrown when the schema file is not found or invalid
    • Method Detail

      • validate

        public void validate​(com.fasterxml.jackson.databind.JsonNode dsl)
                      throws ValidationException
        Validate a dsl query
        Specified by:
        validate in interface DslValidator
        dsl - dsl query
        java.lang.IllegalArgumentException - dsl empty or null
        ValidationException - thrown if dsl query is not valid