Call back action after each query

When we have a big query, Salesforce only returned max of 2000 or 1000 records which leave your query with fault info.  Adding call back action will allow us to perform certain tasks (save to Database or triggers) after we get the data back.