Package | Description |
---|---|
org.apache.flink.table.types.extraction.utils | |
org.apache.flink.table.types.inference | |
org.apache.flink.table.types.inference.strategies |
Modifier and Type | Method and Description |
---|---|
ArgumentTypeStrategy |
DataTypeTemplate.toArgumentTypeStrategy()
Converts this template into an
ArgumentTypeStrategy . |
Modifier and Type | Method and Description |
---|---|
static AndArgumentTypeStrategy |
InputTypeStrategies.and(ArgumentTypeStrategy... strategies)
Strategy for a conjunction of multiple
ArgumentTypeStrategy s into one like
f(NUMERIC && LITERAL) . |
static OrArgumentTypeStrategy |
InputTypeStrategies.or(ArgumentTypeStrategy... strategies)
Strategy for a disjunction of multiple
ArgumentTypeStrategy s into one like
f(NUMERIC || STRING) . |
static InputTypeStrategy |
InputTypeStrategies.sequence(ArgumentTypeStrategy... strategies)
Strategy for a function signature like
f(STRING, NUMERIC) using a sequence of
ArgumentTypeStrategy s. |
static InputTypeStrategy |
InputTypeStrategies.sequence(String[] argumentNames,
ArgumentTypeStrategy[] strategies)
Strategy for a named function signature like
f(s STRING, n NUMERIC) using a sequence
of ArgumentTypeStrategy s. |
static InputTypeStrategy |
InputTypeStrategies.varyingSequence(ArgumentTypeStrategy... strategies)
Strategy for a varying function signature like
f(INT, STRING, NUMERIC...) using a
sequence of ArgumentTypeStrategy s. |
static InputTypeStrategy |
InputTypeStrategies.varyingSequence(String[] argumentNames,
ArgumentTypeStrategy[] strategies)
Strategy for a varying named function signature like
f(i INT, str STRING, num NUMERIC...)
using a sequence of ArgumentTypeStrategy s. |
Modifier and Type | Class and Description |
---|---|
class |
AndArgumentTypeStrategy
Strategy for inferring and validating an argument using a conjunction of multiple
ArgumentTypeStrategy s
into one like f(NUMERIC && LITERAL) |
class |
AnyArgumentTypeStrategy
Strategy for an argument that can be of any type.
|
class |
ExplicitArgumentTypeStrategy
Strategy for an argument that corresponds to an explicitly defined type.
|
class |
LiteralArgumentTypeStrategy
Strategy that checks if an argument is a literal.
|
class |
OrArgumentTypeStrategy
Strategy for inferring and validating an argument using a disjunction of multiple
ArgumentTypeStrategy s
into one like f(NUMERIC || STRING) . |
class |
OutputArgumentTypeStrategy
Strategy for inferring an unknown argument type from the function's output
DataType if available. |
Constructor and Description |
---|
AndArgumentTypeStrategy(List<? extends ArgumentTypeStrategy> argumentStrategies) |
OrArgumentTypeStrategy(List<? extends ArgumentTypeStrategy> argumentStrategies) |
SequenceInputTypeStrategy(List<? extends ArgumentTypeStrategy> argumentStrategies,
List<String> argumentNames) |
VaryingSequenceInputTypeStrategy(List<ArgumentTypeStrategy> argumentStrategies,
List<String> argumentNames) |
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.