Represents the record set returned by Database.getQueryLocator and used with Batch Apex.

A QueryLocator instance represents the record set returned by Database.getQueryLocator and used with Batch Apex.