@API(status=EXPERIMENTAL,
since="1.23")
public interface TypeCoercionFactory
TypeCoercion objects.
A type coercion factory allows you to include custom rules of
implicit type coercion. Usually you should inherit the TypeCoercionImpl
and override the methods that you want to customize.
This interface is experimental and would change without notice.
SqlValidator.Config#withTypeCoercionFactory| Modifier and Type | Method and Description |
|---|---|
TypeCoercion |
create(RelDataTypeFactory typeFactory,
SqlValidator validator)
Creates a TypeCoercion.
|
TypeCoercion create(RelDataTypeFactory typeFactory, SqlValidator validator)
typeFactory - Type factoryvalidator - SQL validatorCopyright © 2012-2022 Apache Software Foundation. All Rights Reserved.