@Internal public class RowtimeTypeStrategy extends Object implements TypeStrategy
BuiltInFunctionDefinitions.ROWTIME
which mirrors the type of the passed
rowtime column, but returns LogicalTypeRoot.TIMESTAMP_WITHOUT_TIME_ZONE
for a BATCH
mode.Constructor and Description |
---|
RowtimeTypeStrategy() |
Modifier and Type | Method and Description |
---|---|
Optional<DataType> |
inferType(CallContext callContext)
Infers a type from the given function call.
|
public Optional<DataType> inferType(CallContext callContext)
TypeStrategy
inferType
in interface TypeStrategy
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.