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

Method unparse

core/src/main/java/org/apache/calcite/sql/SqlWindow.java:223–231  ·  view source on GitHub ↗
(SqlWriter writer, int leftPrec, int rightPrec)

Source from the content-addressed store, hash-verified

221 }
222
223 @Override public void unparse(SqlWriter writer, int leftPrec, int rightPrec) {
224 if (null != declName) {
225 declName.unparse(writer, 0, 0);
226 writer.keyword("AS");
227 }
228
229 // Override, so we don't print extra parentheses.
230 getOperator().unparse(writer, this, 0, 0);
231 }
232
233 public @Nullable SqlIdentifier getDeclName() {
234 return declName;

Callers 1

unparseMethod · 0.45

Calls 2

getOperatorMethod · 0.95
keywordMethod · 0.65

Tested by

no test coverage detected