* Get raw data item
(idx: number)
| 1206 | * Get raw data item |
| 1207 | */ |
| 1208 | getRawDataItem(idx: number): OptionDataItem { |
| 1209 | const rawIdx = this.getRawIndex(idx); |
| 1210 | if (!this._provider.persistent) { |
| 1211 | const val = []; |
| 1212 | const chunks = this._chunks; |
| 1213 | for (let i = 0; i < chunks.length; i++) { |
| 1214 | val.push(chunks[i][rawIdx]); |
| 1215 | } |
| 1216 | return val; |
| 1217 | } |
| 1218 | else { |
| 1219 | return this._provider.getItem(rawIdx); |
| 1220 | } |
| 1221 | } |
| 1222 | |
| 1223 | /** |
| 1224 | * Clone shallow. |
no test coverage detected