Class SqlValidation

  • All Implemented Interfaces:
    org.springframework.jdbc.core.ResultSetExtractor

    public class SqlValidation
    extends java.lang.Object
    implements org.springframework.jdbc.core.ResultSetExtractor
    Represents a validation that will be run by the SqlValidationTasklet in the form of JSON objects.
    • Constructor Summary

      Constructors 
      Constructor Description
      SqlValidation()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer extractData​(java.sql.ResultSet rs)  
      void validate()  
      • Methods inherited from class java.lang.Object

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

      • SqlValidation

        public SqlValidation()
    • Method Detail

      • extractData

        public java.lang.Integer extractData​(java.sql.ResultSet rs)
                                      throws java.sql.SQLException,
                                             org.springframework.dao.DataAccessException
        Specified by:
        extractData in interface org.springframework.jdbc.core.ResultSetExtractor
        Throws:
        java.sql.SQLException
        org.springframework.dao.DataAccessException
      • validate

        public void validate()