@Internal public abstract class AbstractSqlCallContext extends Object implements org.apache.flink.table.types.inference.CallContext
CallContext backed by Calcite abstractions.| 限定符和类型 | 类和说明 |
|---|---|
protected static interface |
AbstractSqlCallContext.LiteralValueAccessor
Helper interface for abstracting accessing literals.
|
| 限定符 | 构造器和说明 |
|---|---|
protected |
AbstractSqlCallContext(org.apache.flink.table.catalog.DataTypeFactory dataTypeFactory,
org.apache.flink.table.functions.FunctionDefinition definition,
String name,
boolean isGroupedAggregation) |
| 限定符和类型 | 方法和说明 |
|---|---|
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() |
boolean |
isGroupedAggregation() |
protected AbstractSqlCallContext(org.apache.flink.table.catalog.DataTypeFactory dataTypeFactory,
org.apache.flink.table.functions.FunctionDefinition definition,
String name,
boolean isGroupedAggregation)
public org.apache.flink.table.catalog.DataTypeFactory getDataTypeFactory()
getDataTypeFactory 在接口中 org.apache.flink.table.types.inference.CallContextpublic org.apache.flink.table.functions.FunctionDefinition getFunctionDefinition()
getFunctionDefinition 在接口中 org.apache.flink.table.types.inference.CallContextpublic String getName()
getName 在接口中 org.apache.flink.table.types.inference.CallContextpublic boolean isGroupedAggregation()
isGroupedAggregation 在接口中 org.apache.flink.table.types.inference.CallContextprotected static <T> T getLiteralValueAs(AbstractSqlCallContext.LiteralValueAccessor accessor, Class<T> clazz)
ValueLiteralExpression.getValueAs(Class).Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.