Package | Description |
---|---|
org.apache.paimon.casting | |
org.apache.paimon.schema |
Modifier and Type | Method and Description |
---|---|
CastExecutor<Timestamp,Number> |
TimestampToNumericPrimitiveCastRule.create(DataType inputType,
DataType targetType) |
CastExecutor<Number,Timestamp> |
NumericPrimitiveToTimestamp.create(DataType inputType,
DataType targetType) |
CastExecutor<IN,OUT> |
CastRule.create(DataType inputType,
DataType targetType)
Create a
CastExecutor starting from the provided input type. |
CastExecutor<byte[],BinaryString> |
BinaryToStringCastRule.create(DataType inputType,
DataType targetType) |
static CastExecutor<?,?> |
CastExecutors.identityCastExecutor() |
static CastExecutor<?,?> |
CastExecutors.resolve(DataType inputType,
DataType outputType)
Resolve a
CastExecutor for the provided input type and target type. |
Constructor and Description |
---|
CastFieldGetter(InternalRow.FieldGetter fieldGetter,
CastExecutor<?,?> castExecutor) |
Modifier and Type | Method and Description |
---|---|
static CastExecutor<?,?>[] |
SchemaEvolutionUtil.createConvertMapping(List<DataField> tableFields,
List<DataField> dataFields,
int[] indexMapping)
Create converter mapping from table fields to underlying data fields.
|
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.