Package org.apache.calcite.sql
Class SqlWindowTableFunction.AbstractOperandMetadata
java.lang.Object
org.apache.calcite.sql.SqlWindowTableFunction.AbstractOperandMetadata
- All Implemented Interfaces:
SqlOperandMetadata
,SqlOperandTypeChecker
- Enclosing class:
SqlWindowTableFunction
protected abstract static class SqlWindowTableFunction.AbstractOperandMetadata
extends Object
implements SqlOperandMetadata
Partial implementation of operand type checker.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.calcite.sql.type.SqlOperandTypeChecker
SqlOperandTypeChecker.Consistency
-
Method Summary
Modifier and TypeMethodDescriptionReturns the range of operand counts allowed in a call.boolean
isOptional
(int i) Returns whether thei
th operand is optional.Returns the names of the parameters.paramTypes
(RelDataTypeFactory typeFactory) Returns the types of the parameters.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.calcite.sql.type.SqlOperandTypeChecker
and, checkOperandTypes, getAllowedSignatures, getConsistency, isFixedParameters, or, typeInference, withGenerator
-
Method Details
-
getOperandCountRange
Description copied from interface:SqlOperandTypeChecker
Returns the range of operand counts allowed in a call.- Specified by:
getOperandCountRange
in interfaceSqlOperandTypeChecker
-
paramTypes
Description copied from interface:SqlOperandMetadata
Returns the types of the parameters.- Specified by:
paramTypes
in interfaceSqlOperandMetadata
-
paramNames
Description copied from interface:SqlOperandMetadata
Returns the names of the parameters.- Specified by:
paramNames
in interfaceSqlOperandMetadata
-
isOptional
public boolean isOptional(int i) Description copied from interface:SqlOperandTypeChecker
Returns whether thei
th operand is optional.- Specified by:
isOptional
in interfaceSqlOperandTypeChecker
-