deleted 110 characters in body
Source Link
chrisjlee
  • 896
  • 5
  • 14
  • 29

Given the following code:

global class MyBatch implements Database.Batchable<SObject> {

    global MyBatch() {}

    global void execute(Database.BatchableContext BC, List<MyBatch Field__c> batch)
    {
    
    }

    global void finish(Database.BatchableContext BC) {}
}

What does this error Message mean?

MyBatch: Class must implement the global interface method: Iterable<SObject> start(Database.BatchableContext) from Database.Batchable<SObject>

Forgive my ignorance, i'm trying to learn apex batch and i'm trying to create a simple example to work from.

Given the following code:

global class MyBatch implements Database.Batchable<SObject> {

    global MyBatch() {}

    global void execute(Database.BatchableContext BC, List<MyBatch Field__c> batch)
    {
    
    }

    global void finish(Database.BatchableContext BC) {}
}

What does this error Message mean?

MyBatch: Class must implement the global interface method: Iterable<SObject> start(Database.BatchableContext) from Database.Batchable<SObject>

Forgive my ignorance, i'm trying to learn apex batch and i'm trying to create a simple example to work from.

Given the following code:

global class MyBatch implements Database.Batchable<SObject> {

    global MyBatch() {}

    global void execute(Database.BatchableContext BC, List<MyBatch Field__c> batch)
    {
    
    }

    global void finish(Database.BatchableContext BC) {}
}

What does this error Message mean?

MyBatch: Class must implement the global interface method: Iterable<SObject> start(Database.BatchableContext) from Database.Batchable<SObject>

Source Link
chrisjlee
  • 896
  • 5
  • 14
  • 29

Class Must Implement the Global interface method: Iterable<SObject> start Database

Given the following code:

global class MyBatch implements Database.Batchable<SObject> {

    global MyBatch() {}

    global void execute(Database.BatchableContext BC, List<MyBatch Field__c> batch)
    {
    
    }

    global void finish(Database.BatchableContext BC) {}
}

What does this error Message mean?

MyBatch: Class must implement the global interface method: Iterable<SObject> start(Database.BatchableContext) from Database.Batchable<SObject>

Forgive my ignorance, i'm trying to learn apex batch and i'm trying to create a simple example to work from.