A type coercion factory allows you to include custom rules of
implicit type coercion. Usually you should inherit the
and override the methods that you want to customize.
This interface is experimental and would change without notice.
createCreates a TypeCoercion.
typeFactory- Type factory
validator- SQL validator