@Internal public final class CallBindingCallContext extends AbstractSqlCallContext
CallContext backed by SqlCallBinding. Compared to OperatorBindingCallContext, this class is able to reorder arguments.AbstractSqlCallContext.LiteralValueAccessor| Constructor and Description |
|---|
CallBindingCallContext(org.apache.flink.table.catalog.DataTypeFactory dataTypeFactory,
org.apache.flink.table.functions.FunctionDefinition definition,
org.apache.calcite.sql.SqlCallBinding binding,
org.apache.calcite.rel.type.RelDataType outputType) |
| Modifier and Type | Method and Description |
|---|---|
List<org.apache.flink.table.types.DataType> |
getArgumentDataTypes() |
<T> Optional<T> |
getArgumentValue(int pos,
Class<T> clazz) |
Optional<org.apache.flink.table.types.DataType> |
getOutputDataType() |
boolean |
isArgumentLiteral(int pos) |
boolean |
isArgumentNull(int pos) |
getDataTypeFactory, getFunctionDefinition, getLiteralValueAs, getNamepublic CallBindingCallContext(org.apache.flink.table.catalog.DataTypeFactory dataTypeFactory,
org.apache.flink.table.functions.FunctionDefinition definition,
org.apache.calcite.sql.SqlCallBinding binding,
@Nullable
org.apache.calcite.rel.type.RelDataType outputType)
public boolean isArgumentLiteral(int pos)
public boolean isArgumentNull(int pos)
public List<org.apache.flink.table.types.DataType> getArgumentDataTypes()
public Optional<org.apache.flink.table.types.DataType> getOutputDataType()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.