@Internal public abstract class AbstractSqlCallContext extends Object implements org.apache.flink.table.types.inference.CallContext
CallContext backed by SqlOperatorBinding.| Modifier and Type | Class and Description |
|---|---|
protected static interface |
AbstractSqlCallContext.LiteralValueAccessor
Helper interface for abstracting accessing literals.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSqlCallContext(org.apache.flink.table.catalog.DataTypeFactory dataTypeFactory,
org.apache.flink.table.functions.FunctionDefinition definition,
String name) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.table.catalog.DataTypeFactory |
getDataTypeFactory() |
org.apache.flink.table.functions.FunctionDefinition |
getFunctionDefinition() |
protected static <T> T |
getLiteralValueAs(AbstractSqlCallContext.LiteralValueAccessor accessor,
Class<T> clazz)
Bridges to
ValueLiteralExpression.getValueAs(Class). |
String |
getName() |
protected AbstractSqlCallContext(org.apache.flink.table.catalog.DataTypeFactory dataTypeFactory,
org.apache.flink.table.functions.FunctionDefinition definition,
String name)
public org.apache.flink.table.catalog.DataTypeFactory getDataTypeFactory()
getDataTypeFactory in interface org.apache.flink.table.types.inference.CallContextpublic org.apache.flink.table.functions.FunctionDefinition getFunctionDefinition()
getFunctionDefinition in interface org.apache.flink.table.types.inference.CallContextpublic String getName()
getName in interface org.apache.flink.table.types.inference.CallContextprotected static <T> T getLiteralValueAs(AbstractSqlCallContext.LiteralValueAccessor accessor, Class<T> clazz)
ValueLiteralExpression.getValueAs(Class).Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.