Package | Description |
---|---|
org.apache.flink.table.types.extraction | |
org.apache.flink.table.types.extraction.utils |
Modifier and Type | Method and Description |
---|---|
static DataType |
DataTypeExtractor.extractFromType(DataTypeLookup lookup,
DataTypeTemplate template,
Type type)
Extracts a data type from a type without considering surrounding classes but templates.
|
Modifier and Type | Method and Description |
---|---|
DataTypeTemplate |
DataTypeTemplate.copyWithoutDataType()
Copies this template but removes the explicit data type (if available).
|
static DataTypeTemplate |
DataTypeTemplate.fromAnnotation(DataTypeHint hint,
DataType dataType)
Creates an instance from the given
DataTypeHint with a resolved data type if available. |
static DataTypeTemplate |
DataTypeTemplate.fromAnnotation(DataTypeLookup lookup,
DataTypeHint hint)
Creates an instance from the given
DataTypeHint . |
static DataTypeTemplate |
DataTypeTemplate.fromDefaults()
Creates an instance with no parameter content.
|
DataTypeTemplate |
DataTypeTemplate.mergeWithInnerAnnotation(DataTypeLookup lookup,
DataTypeHint hint)
Merges this template with an inner annotation.
|
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.