Class RowtimeTypeStrategy
- java.lang.Object
-
- org.apache.flink.table.types.inference.strategies.RowtimeTypeStrategy
-
- All Implemented Interfaces:
TypeStrategy
@Internal public class RowtimeTypeStrategy extends Object implements TypeStrategy
Type strategy forBuiltInFunctionDefinitions.ROWTIMEwhich mirrors the type of the passed rowtime column, but returnsLogicalTypeRoot.TIMESTAMP_WITHOUT_TIME_ZONEfor aBATCHmode.
-
-
Constructor Summary
Constructors Constructor Description RowtimeTypeStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<DataType>inferType(CallContext callContext)Infers a type from the given function call.
-
-
-
Method Detail
-
inferType
public Optional<DataType> inferType(CallContext callContext)
Description copied from interface:TypeStrategyInfers a type from the given function call.- Specified by:
inferTypein interfaceTypeStrategy
-
-