Class UpdateBulkSchemaValidator

  • All Implemented Interfaces:
    DslValidator

    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 java.io.IOException
        Constructor
        Throws:
        java.io.IOException - 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
        Parameters:
        dsl - dsl query
        Throws:
        java.lang.IllegalArgumentException - dsl empty or null
        ValidationException - thrown if dsl query is not valid