0 votes
11 views
What are the different methods of batch Apex class?
in Technology by (189k points)

1 Answer

0 votes

Database.Batchable interface contains three methods that must be implemented:

Start method:

global (Database.QueryLocator | Iterable<sObject>) start(Database.BatchableContext bc) {}

Execute method:

global void execute(Database.BatchableContext BC, list<P>){}

Finish method:

global void finish(Database.BatchableContext BC){}

by (189k points)

Related questions

0 votes
1 answer 13 views
0 votes
1 answer 16 views
0 votes
1 answer 12 views
0 votes
1 answer 17 views
0 votes
1 answer 23 views
0 votes
1 answer 13 views
0 votes
1 answer 24 views
0 votes
1 answer 11 views
0 votes
1 answer 21 views
21 views asked Nov 11, 2020 in Technology by JackTerrance (189k points)
0 votes
1 answer 19 views
0 votes
1 answer 11 views
0 votes
1 answer 20 views
0 votes
1 answer 20 views
0 votes
1 answer 16 views
0 votes
1 answer 16 views
0 votes
1 answer 15 views
0 votes
1 answer 16 views
0 votes
1 answer 12 views
0 votes
1 answer 11 views
11 views asked Nov 11, 2020 in Technology by JackTerrance (189k points)
0 votes
1 answer 12 views
12 views asked Nov 11, 2020 in Technology by JackTerrance (189k points)
0 votes
1 answer 12 views
...