Class VerificationSelectPlan


  • public class VerificationSelectPlan
    extends SelectQueryPlan
    Implements Select Plan for verifying clean VC instanses.
    Author:
    Mitesh Meswani
    • Constructor Detail

      • VerificationSelectPlan

        public VerificationSelectPlan​(RetrieveDesc desc,
                                      SQLStoreManager store)
        Creates a new VerificationSelectQueryPlan.
        Parameters:
        desc - The Retrieve descriptor holding constraints
        store - Store manager executing the query.
    • Method Detail

      • processFields

        protected void processFields()
        There are no real fields to be selected for verification query. This method just adds the tables for the version field.
        Overrides:
        processFields in class SelectQueryPlan
      • getResult

        public Object getResult​(PersistenceManager pm,
                                ResultSet resultData)
                         throws SQLException
        Checks whether the resultset from a verification query contains atleast one row.
        Overrides:
        getResult in class SelectQueryPlan
        Parameters:
        pm - This parameter is not used.
        resultData - The resultset containing result from the verification query
        Returns:
        true if the resultset contains atleast one row false otherwise.
        Throws:
        SQLException