Constructor
new IndexAccumulatorSet()
Create a new, empty index accumulator set.
- Source:
Methods
getIndiciesByApplication(application) → {Set.<number>}
Resolve row indices matching an application filter value, including
"X - All" meta-group values.
Parameters:
| Name | Type | Description |
|---|---|---|
application |
string | The application (or meta-group) to look up. |
- Source:
Returns:
Matching row indices.
- Type
- Set.<number>
getIndiciesByScenario(scenario) → {Set.<number>}
Resolve row indices matching a scenario filter value.
Parameters:
| Name | Type | Description |
|---|---|---|
scenario |
string | The scenario name to look up. |
- Source:
Returns:
Matching row indices.
- Type
- Set.<number>
getIndiciesBySubstance(substance) → {Set.<number>}
Resolve row indices matching a substance filter value, including
"X - All" meta-group values.
Parameters:
| Name | Type | Description |
|---|---|---|
substance |
string | The substance (or meta-group) to look up. |
- Source:
Returns:
Matching row indices.
- Type
- Set.<number>
getIndiciesByYear(year) → {Set.<number>}
Resolve row indices matching a year filter value.
Parameters:
| Name | Type | Description |
|---|---|---|
year |
number | The year to look up. |
- Source:
Returns:
Matching row indices.
- Type
- Set.<number>
getRows() → {Array.<EngineResult>}
Get the rows array this instance was built from.
- Source:
Returns:
The indexed rows.
- Type
- Array.<EngineResult>
getScenarioKeys() → {IterableIterator.<string>}
Get the distinct scenario names registered in this index.
- Source:
Returns:
The indexed scenario names.
- Type
- IterableIterator.<string>
indexRows(rows)
Index every row in an array.
Parameters:
| Name | Type | Description |
|---|---|---|
rows |
Array.<EngineResult> | The rows to index. |
- Source: