Commit bf03f39
committed
Tighten VFBqueryJsonProcessor generic path for Shape-A queries
Adds per-cell type coercion to buildGenericRows() so non-connectivity
VFBquery responses (neuron-neuron, neuron-region, and the upcoming
Shape-A migrations) render correctly without per-query bespoke code:
- java.util.List values render pipe-joined ("Adult|Nervous_system|...")
matching the v2 SOLRQueryProcessor convention for tag columns
(row.grossTypes()).
- java.lang.Number values that are integer-valued render as ints,
avoiding "2.0" / "31.0" in counter columns like Outputs / Inputs /
Presynaptic Terminals.
- Everything else passes through .toString(): markdown links, ids,
short_forms, free text.
The connectivity Shape-C path (buildClassConnectivityRows) is unaffected
and continues to do its bespoke column synthesis.1 parent 5107acc commit bf03f39
1 file changed
Lines changed: 53 additions & 5 deletions
Lines changed: 53 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
167 | 168 | | |
168 | 169 | | |
169 | 170 | | |
170 | | - | |
171 | | - | |
172 | | - | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
173 | 187 | | |
174 | 188 | | |
175 | 189 | | |
| |||
180 | 194 | | |
181 | 195 | | |
182 | 196 | | |
183 | | - | |
184 | | - | |
| 197 | + | |
185 | 198 | | |
186 | 199 | | |
187 | 200 | | |
188 | 201 | | |
189 | 202 | | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
190 | 238 | | |
191 | 239 | | |
192 | 240 | | |
| |||
0 commit comments