MCPcopy Index your code
hub / github.com/apache/calcite / clone

Method clone

core/src/main/java/org/apache/calcite/sql/SqlCall.java:114–117  ·  view source on GitHub ↗
(SqlParserPos pos)

Source from the content-addressed store, hash-verified

112 }
113
114 @Override public SqlNode clone(SqlParserPos pos) {
115 return getOperator().createCall(getFunctionQuantifier(), pos,
116 getOperandList());
117 }
118
119 private boolean needsParentheses(SqlWriter writer, int leftPrec, int rightPrec) {
120 if (getKind() == SqlKind.SET_SEMANTICS_TABLE) {

Callers 15

testLeftShiftMethod · 0.45
visitCallMethod · 0.45
visitSubQueryMethod · 0.45
visitSubQueryMethod · 0.45
visitSubQueryMethod · 0.45
visitSubQueryMethod · 0.45
visitCallMethod · 0.45
concatMethod · 0.45
rewriteUpdateToMergeMethod · 0.45
asCopyMethod · 0.45
copyValuesMethod · 0.45

Calls 4

getOperatorMethod · 0.95
getFunctionQuantifierMethod · 0.95
getOperandListMethod · 0.95
createCallMethod · 0.65

Tested by 5

testLeftShiftMethod · 0.36
visitCallMethod · 0.36
visitMethod · 0.36
visitMethod · 0.36