MCPcopy Create free account
hub / github.com/apache/calcite / trim

Method trim

core/src/main/java/org/apache/calcite/util/Source.java:43–43  ·  view source on GitHub ↗

Looks for a suffix on a path and returns either the path with the suffix removed or the original path.

(String suffix)

Source from the content-addressed store, hash-verified

41 * either the path with the suffix removed
42 * or the original path. */
43 Source trim(String suffix);
44
45 /** Looks for a suffix on a path and returns
46 * either the path with the suffix removed

Callers 15

createTableMapMethod · 0.95
getTableMapMethod · 0.95
applyMethod · 0.65
applyMethod · 0.65
runMethod · 0.65
parseMethod · 0.65
extractPatternMethod · 0.65
trimSpacesBothMethod · 0.65
parseExpectedMethod · 0.65
executeCommandsMethod · 0.65
isSelectMethod · 0.65

Implementers 2

GuavaCharSourcecore/src/main/java/org/apache/calcite/
FileSourcecore/src/main/java/org/apache/calcite/

Calls

no outgoing calls

Tested by 15

runMethod · 0.52
parseMethod · 0.52
extractPatternMethod · 0.52
trimSpacesBothMethod · 0.52
parseExpectedMethod · 0.52
executeCommandsMethod · 0.52
isSelectMethod · 0.52
storeSqlMethod · 0.52
loadMethod · 0.52
loadCommandMethod · 0.52
readLineMethod · 0.52