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

Method execute

basex-core/src/main/java/org/basex/core/CLI.java:66–69  ·  view source on GitHub ↗

Parses and executes the input string. @param command base URI (name) and command string (value) @return false if the exit command was sent @throws IOException database exception

(final Entry<String, String> command)

Source from the content-addressed store, hash-verified

64 * @throws IOException database exception
65 */
66 protected final boolean execute(final Entry<String, String> command) throws IOException {
67 final CommandParser cp = CommandParser.get(command.getValue(), context);
68 return execute(cp.path(command.getKey()).pwReader(PWREADER));
69 }
70
71 /**
72 * Execute the commands from the given command parser.

Callers

nothing calls this directly

Calls 13

getMethod · 0.95
pathMethod · 0.95
sessionMethod · 0.95
executeMethod · 0.95
printMethod · 0.95
infoMethod · 0.95
pwReaderMethod · 0.80
getKeyMethod · 0.80
sizeMethod · 0.65
printMethod · 0.65
getValueMethod · 0.45
parseMethod · 0.45

Tested by

no test coverage detected