| Modifier and Type | Method and Description |
|---|---|
static DataType |
DataTypeExtractor.extractFromGeneric(DataTypeLookup lookup,
Class<?> baseClass,
int genericPos,
Type contextType)
Extracts a data type from a type variable at
genericPos of baseClass using
the information of the most specific type contextType. |
static DataType |
DataTypeExtractor.extractFromMethodOutput(DataTypeLookup lookup,
Class<?> baseClass,
Method method)
Extracts a data type from a method return type by considering surrounding classes and method
annotation.
|
static DataType |
DataTypeExtractor.extractFromMethodParameter(DataTypeLookup lookup,
Class<?> baseClass,
Method method,
int paramPos)
Extracts a data type from a method parameter by considering surrounding classes and parameter
annotation.
|
static DataType |
DataTypeExtractor.extractFromType(DataTypeLookup lookup,
DataTypeTemplate template,
Type type)
Extracts a data type from a type without considering surrounding classes but templates.
|
static DataType |
DataTypeExtractor.extractFromType(DataTypeLookup lookup,
Type type)
Extracts a data type from a type without considering surrounding classes or templates.
|
| Modifier and Type | Method and Description |
|---|---|
static DataType |
ExtractionUtils.createRawType(DataTypeLookup lookup,
Class<? extends org.apache.flink.api.common.typeutils.TypeSerializer<?>> rawSerializer,
Class<?> conversionClass)
Creates a raw data type.
|
static DataTypeTemplate |
DataTypeTemplate.fromAnnotation(DataTypeLookup lookup,
DataTypeHint hint)
Creates an instance from the given
DataTypeHint. |
DataTypeTemplate |
DataTypeTemplate.mergeWithInnerAnnotation(DataTypeLookup lookup,
DataTypeHint hint)
Merges this template with an inner annotation.
|
| Modifier and Type | Method and Description |
|---|---|
DataTypeLookup |
CallContext.getDataTypeLookup()
Enables to lookup types in a catalog and resolve RAW types.
|
| Modifier and Type | Method and Description |
|---|---|
DataTypeLookup |
UnknownCallContext.getDataTypeLookup() |
DataTypeLookup |
AdaptedCallContext.getDataTypeLookup() |
| Constructor and Description |
|---|
UnknownCallContext(DataTypeLookup lookup,
String name,
FunctionDefinition functionDefinition,
int argumentCount) |
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.