Interview Questions   Tutorials   Discussions   Programs   

Apex - What is a Batch Class?

asked kiran-57 March 6, 2012 04:13 AM  

What is a Batch Class?


1 Answer

answered By Richa Upadhyay   0  
A batch is a set of records derived from a larger collection of records. In Salesforce, when using the bulk API, data jobs are divided into batches. Each batch is sent to the server in an HTTP POST request. Each batch is processed independently by the server, and not necessarily in the order it is received. Batches may be processed in parallel mode (concurrency) or serial mode (no concurrency). It is left to the client's discretion to decide the batch size, but the default is 10,000. Using a smaller batch size may cause an organization to use more of theirĀ allottedĀ bulk api batches per day than is necessary.
   add comment

Your answer

Join with account you already have



 Write A Tutorials
Online-Classroom Classes

  2 people following this question

  1 person following this tag

  Question tags

apex × 1

Asked 5 years and 9 months ago ago
Number of Views -499
Number of Answers -1
Last updated
2 years and 7 months ago ago

Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!