public class OperandMetadataImpl extends FamilyOperandTypeChecker implements SqlOperandMetadata
UDFs have a fixed number of parameters is fixed. Per
SqlOperandMetadata, this interface provides the name and types of
each parameter.
SqlOperandTypeChecker.Consistencyfamilies, optional| Modifier and Type | Method and Description |
|---|---|
boolean |
isFixedParameters()
Returns whether the list of parameters is fixed-length.
|
List<String> |
paramNames()
Returns the names of the parameters.
|
List<RelDataType> |
paramTypes(RelDataTypeFactory typeFactory)
Returns the types of the parameters.
|
checkOperandTypes, checkOperandTypesWithoutTypeCoercion, checkSingleOperandType, getAllowedSignatures, getConsistency, getOperandCountRange, getOperandSqlTypeFamily, isOptionalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckOperandTypes, getAllowedSignatures, getConsistency, getOperandCountRange, isOptional, typeInferencepublic boolean isFixedParameters()
SqlOperandTypeCheckerIf true, the validator should expand calls, supplying a DEFAULT
value for each parameter for which an argument is not supplied.
isFixedParameters in interface SqlOperandTypeCheckerpublic List<RelDataType> paramTypes(RelDataTypeFactory typeFactory)
SqlOperandMetadataparamTypes in interface SqlOperandMetadatapublic List<String> paramNames()
SqlOperandMetadataparamNames in interface SqlOperandMetadataCopyright © 2012-2022 Apache Software Foundation. All Rights Reserved.