Returns the included names for the specified index type. @param type index type @return index
(final IndexType type)
| 356 | * @return index |
| 357 | */ |
| 358 | public String names(final IndexType type) { |
| 359 | return switch(type) { |
| 360 | case TEXT -> textinclude; |
| 361 | case ATTRIBUTE -> attrinclude; |
| 362 | case TOKEN -> tokeninclude; |
| 363 | case FULLTEXT -> ftinclude; |
| 364 | default -> throw Util.notExpected(); |
| 365 | }; |
| 366 | } |
| 367 | |
| 368 | /** |
| 369 | * Assigns include names options to the specified index type. |
no test coverage detected