Modifier and Type | Method and Description |
---|---|
BuiltInFunctionDefinition.Builder |
BuiltInFunctionDefinition.Builder.accumulatorTypeStrategy(TypeStrategy accumulatorTypeStrategy) |
BuiltInFunctionDefinition.Builder |
BuiltInFunctionDefinition.Builder.outputTypeStrategy(TypeStrategy outputTypeStrategy) |
Modifier and Type | Method and Description |
---|---|
TypeStrategy |
DataTypeTemplate.toTypeStrategy()
Converts this template into a
TypeStrategy . |
Modifier and Type | Field and Description |
---|---|
static TypeStrategy |
TypeStrategies.MISSING
Placeholder for a missing type strategy.
|
Modifier and Type | Method and Description |
---|---|
static TypeStrategy |
TypeStrategies.explicit(DataType dataType)
Type strategy that returns a fixed
DataType . |
TypeStrategy |
TypeInference.getOutputTypeStrategy() |
static TypeStrategy |
TypeStrategies.mapping(Map<InputTypeStrategy,TypeStrategy> mappings)
Type strategy that maps an
InputTypeStrategy to a TypeStrategy if the input strategy
infers identical types. |
Modifier and Type | Method and Description |
---|---|
Optional<TypeStrategy> |
TypeInference.getAccumulatorTypeStrategy() |
Modifier and Type | Method and Description |
---|---|
TypeInference.Builder |
TypeInference.Builder.accumulatorTypeStrategy(TypeStrategy accumulatorTypeStrategy)
Sets the strategy for inferring the intermediate accumulator data type of a function call.
|
TypeInference.Builder |
TypeInference.Builder.outputTypeStrategy(TypeStrategy outputTypeStrategy)
Sets the strategy for inferring the final output data type of a function call.
|
Modifier and Type | Method and Description |
---|---|
static TypeStrategy |
TypeStrategies.mapping(Map<InputTypeStrategy,TypeStrategy> mappings)
Type strategy that maps an
InputTypeStrategy to a TypeStrategy if the input strategy
infers identical types. |
Modifier and Type | Class and Description |
---|---|
class |
ExplicitTypeStrategy
Type strategy that returns a fixed
DataType . |
class |
MappingTypeStrategy
Type strategy that maps an
InputTypeStrategy to a TypeStrategy if the input strategy
infers identical types. |
class |
MissingTypeStrategy
Placeholder for a missing type strategy.
|
Constructor and Description |
---|
MappingTypeStrategy(Map<InputTypeStrategy,TypeStrategy> mappings) |
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.