MCPcopy Create free account
hub / github.com/BaseXdb/basex / names

Method names

basex-core/src/main/java/org/basex/data/MetaData.java:358–366  ·  view source on GitHub ↗

Returns the included names for the specified index type. @param type index type @return index

(final IndexType type)

Source from the content-addressed store, hash-verified

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.

Callers 6

runMethod · 0.45
runMethod · 0.45
IndexNamesMethod · 0.45
infoMethod · 0.45
infoMethod · 0.45
BaseXSerialMethod · 0.45

Calls 2

notExpectedMethod · 0.95
getMethod · 0.65

Tested by

no test coverage detected