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.booleanisOptional(int i) Returns whether theith 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, waitMethods inherited from interface org.apache.calcite.sql.type.SqlOperandTypeChecker
and, checkOperandTypes, getAllowedSignatures, getConsistency, isFixedParameters, or, typeInference, withGenerator
-
Method Details
-
getOperandCountRange
Description copied from interface:SqlOperandTypeCheckerReturns the range of operand counts allowed in a call.- Specified by:
getOperandCountRangein interfaceSqlOperandTypeChecker
-
paramTypes
Description copied from interface:SqlOperandMetadataReturns the types of the parameters.- Specified by:
paramTypesin interfaceSqlOperandMetadata
-
paramNames
Description copied from interface:SqlOperandMetadataReturns the names of the parameters.- Specified by:
paramNamesin interfaceSqlOperandMetadata
-
isOptional
public boolean isOptional(int i) Description copied from interface:SqlOperandTypeCheckerReturns whether theith operand is optional.- Specified by:
isOptionalin interfaceSqlOperandTypeChecker
-