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

Method serialize

basex-core/src/main/java/org/basex/core/Sandbox.java:138–144  ·  view source on GitHub ↗

Returns a string representation of a query plan. @param plan query plan (can be null) @return string

(final XNode plan)

Source from the content-addressed store, hash-verified

136 * @return string
137 */
138 protected static String serialize(final XNode plan) {
139 try {
140 return plan != null ? "PLAN: " + plan.serialize(SerializerMode.INDENT.get()) : "";
141 } catch(final QueryIOException ex) {
142 return fail(ex);
143 }
144 }
145
146 /**
147 * Creates a transform expression from a given input, modification and return clause.

Callers 15

compareMethod · 0.95
checkMethod · 0.95
evalMethod · 0.45
writeMethod · 0.45
writeMethod · 0.45
xmlMethod · 0.45
parseMethod · 0.45
runMethod · 0.45
queryPlanMethod · 0.45
exportMethod · 0.45
runMethod · 0.45
runMethod · 0.45

Calls 1

getMethod · 0.65

Tested by 1

runMethod · 0.36