You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by zh...@apache.org on 2025/09/06 11:59:00 UTC
(calcite) 04/09: Revert "Add JavaDoc"
This is an automated email from the ASF dual-hosted git repository.
zhenchen pushed a commit to branch revert-4501-calcite-7141
in repository https://gitbox.apache.org/repos/asf/calcite.git
commit 303b755a079d053f306bac3cbe9eb1aa9dc34266
Author: Zhen Chen <cz...@163.com>
AuthorDate: Sat Sep 6 19:58:47 2025 +0800
Revert "Add JavaDoc"
This reverts commit 6c5237d001de51c66d6c7652f4a4ff412e6199ee.
---
.../org/apache/calcite/sql/type/FunctionSqlType.java | 16 ----------------
1 file changed, 16 deletions(-)
diff --git a/core/src/main/java/org/apache/calcite/sql/type/FunctionSqlType.java b/core/src/main/java/org/apache/calcite/sql/type/FunctionSqlType.java
index 84dead65a2..24491a8e21 100644
--- a/core/src/main/java/org/apache/calcite/sql/type/FunctionSqlType.java
+++ b/core/src/main/java/org/apache/calcite/sql/type/FunctionSqlType.java
@@ -32,12 +32,6 @@ public class FunctionSqlType extends AbstractSqlType {
private final RelDataType parameterType;
private final RelDataType returnType;
- /**
- * Constructs a new function SQL type. This should only be called from a factory method.
- *
- * @param parameterType a struct type wrapping function's input parameter types.
- * @param returnType function's return type.
- */
public FunctionSqlType(
RelDataType parameterType, RelDataType returnType) {
super(SqlTypeName.FUNCTION, true, null);
@@ -68,20 +62,10 @@ public FunctionSqlType(
return this;
}
- /**
- * Returns the parameter type of the function.
- *
- * @return a struct wrapping function's parameter types.
- */
public RelDataType getParameterType() {
return parameterType;
}
- /**
- * Returns the return type of the function.
- *
- * @return the function's return type.
- */
public RelDataType getReturnType() {
return returnType;
}