Members
index :Array.<number>
Array of numbers containing the split index. Example: "responses[2].hits.hits[4]._source.name" leads to an array with two elements: [2,4] This is the public version of the internal variable _identifier.index, which contains in contrast all index elements in one point separated string (e.g. "2.4").
Type:
- Array.<number>
- Source:
Methods
addGroupEntries(groupName, describedEntries)
Adds entries to the given group. If the group does not exist, it will be created.
Parameters:
Name | Type | Description |
---|---|---|
groupName |
String | |
describedEntries |
Array.<module:datarestructor.DescribedEntry> |
- Source:
addGroupEntry(groupName, describedEntry)
Adds an entry to the given group. If the group does not exist, it will be created.
Parameters:
Name | Type | Description |
---|---|---|
groupName |
String | name of the group that should be added |
describedEntry |
module:datarestructor.DescribedEntry | entry that should be added to the group |
- Source:
(protected, static) indicesOf(fullPropertyName) → {module:datarestructor.ExtractedIndices}
Returns "1.12.123" and [1,12,123] for "results[1].hits.hits[12].aggregates[123]".
Parameters:
Name | Type | Description |
---|---|---|
fullPropertyName |
String |
- Source:
Returns:
extracted indices in different representations
(protected, static) indicesOfWithRegex(fullPropertyName, regexWithOneNumberGroup) → {module:datarestructor.ExtractedIndices}
Returns "1.12.123" and [1,12,123] for "results[1].hits.hits[12].aggregates[123]".
Parameters:
Name | Type | Description |
---|---|---|
fullPropertyName |
string | |
regexWithOneNumberGroup |
RegExp |
- Source:
Returns:
extracted indices in different representations