Class LookupCallContext
java.lang.Object
org.apache.flink.table.planner.functions.inference.AbstractSqlCallContext
org.apache.flink.table.planner.functions.inference.LookupCallContext
- All Implemented Interfaces:
org.apache.flink.table.types.inference.CallContext
The
CallContext of a LookupTableSource runtime function.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.flink.table.planner.functions.inference.AbstractSqlCallContext
AbstractSqlCallContext.LiteralValueAccessor -
Constructor Summary
ConstructorsConstructorDescriptionLookupCallContext(org.apache.flink.table.catalog.DataTypeFactory dataTypeFactory, org.apache.flink.table.functions.UserDefinedFunction function, org.apache.flink.table.types.logical.LogicalType inputType, Map<Integer, LookupJoinUtil.LookupKey> lookupKeys, int[] lookupKeyOrder, org.apache.flink.table.types.logical.LogicalType lookupType) -
Method Summary
Modifier and TypeMethodDescriptionList<org.apache.flink.table.types.DataType><T> Optional<T>getArgumentValue(int pos, Class<T> clazz) Optional<org.apache.flink.table.types.DataType>booleanisArgumentLiteral(int pos) booleanisArgumentNull(int pos) Methods inherited from class org.apache.flink.table.planner.functions.inference.AbstractSqlCallContext
getDataTypeFactory, getFunctionDefinition, getLiteralValueAs, getName, isGroupedAggregationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.table.types.inference.CallContext
fail, getTableSemantics, newValidationError
-
Constructor Details
-
LookupCallContext
public LookupCallContext(org.apache.flink.table.catalog.DataTypeFactory dataTypeFactory, org.apache.flink.table.functions.UserDefinedFunction function, org.apache.flink.table.types.logical.LogicalType inputType, Map<Integer, LookupJoinUtil.LookupKey> lookupKeys, int[] lookupKeyOrder, org.apache.flink.table.types.logical.LogicalType lookupType)
-
-
Method Details
-
isArgumentLiteral
public boolean isArgumentLiteral(int pos) -
isArgumentNull
public boolean isArgumentNull(int pos) -
getArgumentValue
-
getArgumentDataTypes
-
getOutputDataType
-