Class CoercionUtils.MapCoercer
java.lang.Object
io.trino.plugin.hive.coercions.TypeCoercer<MapType,MapType>
io.trino.plugin.hive.coercions.CoercionUtils.MapCoercer
- Enclosing class:
CoercionUtils
-
Field Summary
Fields inherited from class io.trino.plugin.hive.coercions.TypeCoercer
fromType, toType -
Constructor Summary
ConstructorsConstructorDescriptionMapCoercer(MapType fromType, MapType toType, Optional<TypeCoercer<? extends Type, ? extends Type>> keyCoercer, Optional<TypeCoercer<? extends Type, ? extends Type>> valueCoercer) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyCoercedValue(BlockBuilder blockBuilder, Block block, int position) Methods inherited from class io.trino.plugin.hive.coercions.TypeCoercer
getFromType, getToType
-
Constructor Details
-
MapCoercer
public MapCoercer(MapType fromType, MapType toType, Optional<TypeCoercer<? extends Type, ? extends Type>> keyCoercer, Optional<TypeCoercer<? extends Type, ? extends Type>> valueCoercer)
-
-
Method Details
-
apply
-
applyCoercedValue
- Specified by:
applyCoercedValuein classTypeCoercer<MapType,MapType>
-