Uses of Class
io.trino.plugin.hive.coercions.TypeCoercer
Packages that use TypeCoercer
Package
Description
-
Uses of TypeCoercer in io.trino.plugin.hive.coercions
Subclasses of TypeCoercer in io.trino.plugin.hive.coercionsModifier and TypeClassDescriptionstatic classstatic classstatic classclassclassstatic classstatic classstatic classstatic classstatic classclassstatic classstatic classclassstatic classstatic classclassIntegerNumberToDoubleCoercer<F extends Type>classIntegerNumberToVarcharCoercer<F extends Type>classIntegerNumberUpscaleCoercer<F extends Type,T extends Type> classstatic classstatic classstatic classstatic classclassclassclassclassstatic classstatic classMethods in io.trino.plugin.hive.coercions that return TypeCoercerModifier and TypeMethodDescriptionstatic TypeCoercer<DecimalType, DecimalType> DecimalCoercers.createDecimalToDecimalCoercer(DecimalType fromType, DecimalType toType) static TypeCoercer<DecimalType, DoubleType> DecimalCoercers.createDecimalToDoubleCoercer(DecimalType fromType) static <T extends Type>
TypeCoercer<DecimalType, T> DecimalCoercers.createDecimalToInteger(DecimalType fromType, T toType) static TypeCoercer<DecimalType, RealType> DecimalCoercers.createDecimalToRealCoercer(DecimalType fromType) static TypeCoercer<DecimalType, VarcharType> DecimalCoercers.createDecimalToVarcharCoercer(DecimalType fromType, VarcharType toType) static TypeCoercer<DoubleType, DecimalType> DecimalCoercers.createDoubleToDecimalCoercer(DecimalType toType) static TypeCoercer<DoubleType, VarcharType> DoubleToVarcharCoercers.createDoubleToVarcharCoercer(VarcharType toType, boolean isOrcFile) static TypeCoercer<RealType, VarcharType> FloatToVarcharCoercers.createFloatToVarcharCoercer(VarcharType toType, boolean isOrcFile) static <F extends Type>
TypeCoercer<F, DecimalType> DecimalCoercers.createIntegerNumberToDecimalCoercer(F fromType, DecimalType toType) static TypeCoercer<RealType, DecimalType> DecimalCoercers.createRealToDecimalCoercer(DecimalType toType) static TypeCoercer<VarbinaryType, VarcharType> VarbinaryToVarcharCoercers.createVarbinaryToVarcharCoercer(VarcharType toType, HiveStorageFormat storageFormat) static TypeCoercer<VarcharType, BooleanType> BooleanCoercer.createVarcharToBooleanCoercer(VarcharType fromType, boolean isOrcFile) static TypeCoercer<VarcharType, ? extends Type> VarcharToIntegralNumericCoercers.createVarcharToIntegerNumberCoercer(VarcharType fromType, Type toType, boolean isOrcFile) Methods in io.trino.plugin.hive.coercions that return types with arguments of type TypeCoercerModifier and TypeMethodDescriptionstatic Optional<TypeCoercer<? extends Type, ? extends Type>> CoercionUtils.createCoercer(TypeManager typeManager, HiveType fromHiveType, HiveType toHiveType, CoercionUtils.CoercionContext coercionContext) Constructors in io.trino.plugin.hive.coercions with parameters of type TypeCoercerModifierConstructorDescriptionListCoercer(ArrayType fromType, ArrayType toType, TypeCoercer<? extends Type, ? extends Type> elementCoercer) Constructor parameters in io.trino.plugin.hive.coercions with type arguments of type TypeCoercerModifierConstructorDescriptionMapCoercer(MapType fromType, MapType toType, Optional<TypeCoercer<? extends Type, ? extends Type>> keyCoercer, Optional<TypeCoercer<? extends Type, ? extends Type>> valueCoercer) StructCoercer(RowType fromType, RowType toType, List<Optional<TypeCoercer<? extends Type, ? extends Type>>> coercers) -
Uses of TypeCoercer in io.trino.plugin.hive.orc
Methods in io.trino.plugin.hive.orc that return types with arguments of type TypeCoercerModifier and TypeMethodDescriptionstatic Optional<TypeCoercer<? extends Type, ? extends Type>> OrcTypeTranslator.createCoercer(OrcType fromOrcType, List<OrcColumn> nestedColumns, Type toTrinoType) Methods in io.trino.plugin.hive.orc with parameters of type TypeCoercerModifier and TypeMethodDescriptionOrcPageSource.ColumnAdaptation.coercedColumn(int index, TypeCoercer<?, ?> typeCoercer) -
Uses of TypeCoercer in io.trino.plugin.hive.parquet
Methods in io.trino.plugin.hive.parquet that return types with arguments of type TypeCoercerModifier and TypeMethodDescriptionstatic Optional<TypeCoercer<? extends Type, ? extends Type>> ParquetTypeTranslator.createCoercer(org.apache.parquet.schema.PrimitiveType.PrimitiveTypeName fromParquetType, org.apache.parquet.schema.LogicalTypeAnnotation typeAnnotation, Type toTrinoType) Methods in io.trino.plugin.hive.parquet with parameters of type TypeCoercerModifier and TypeMethodDescriptionParquetPageSource.Builder.addCoercedColumn(int sourceChannel, TypeCoercer<?, ?> typeCoercer)