Interface TypeCoercionFactory
@API(status=EXPERIMENTAL,
since="1.23")
public interface TypeCoercionFactory
Factory for
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.
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(RelDataTypeFactory typeFactory, SqlValidator validator) Creates a TypeCoercion.
-
Method Details
-
create
Creates a TypeCoercion.- Parameters:
typeFactory
- Type factoryvalidator
- SQL validator
-