Members
timestamp :string
The date the job was created (UTC) Saved in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ Eg. 2020-05-21T15:50:13Z
Type:
-
string
Methods
(static) fromJSON(json) → {Job}
Creates a new Job object from JSON
Parameters:
Name | Type | Description |
---|---|---|
json |
Object
|
Returns:
- Type:
-
Job
(async, static) lazyFetchJobForKey(key) → {Promise.<Job>}
This routine loads a Job It checks first for it locally - if it's not there, it loads it remotely It then saves it locally for faster access
Parameters:
Name | Type | Description |
---|---|---|
key |
string
|
Returns:
- Type:
-
Promise.<Job>
addProcessedCount(countopt) → {void}
Increments the number of records being processed
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
count |
number
|
<optional> |
1 |
Defaults to 1 |
Returns:
- Type:
-
void
addResult(result) → {void}
Captures a result of a record being processed
Parameters:
Name | Type | Description |
---|---|---|
result |
Result
|
Returns:
- Type:
-
void
expectedFieldNames() → {Array.<string>}
Iterates across all the results to see all the expected field values
Returns:
- Type:
-
Array.<string>
Return the list of expected field names
logURL(index) → {string}
Parameters:
Name | Type | Description |
---|---|---|
index |
number
|
Returns:
- Type:
-
string