@Internal public class DecimalBigDecimalConverter extends Object implements DataStructureConverter<org.apache.flink.table.data.DecimalData,BigDecimal>
DecimalType of BigDecimal external type.| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
toExternal(org.apache.flink.table.data.DecimalData internal)
Converts to external data structure.
|
org.apache.flink.table.data.DecimalData |
toInternal(BigDecimal external)
Converts to internal data structure.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisIdentityConversion, open, toExternalOrNull, toInternalOrNullpublic org.apache.flink.table.data.DecimalData toInternal(BigDecimal external)
DataStructureConverterNote: Parameter must not be null. Output must not be null.
toInternal in interface DataStructureConverter<org.apache.flink.table.data.DecimalData,BigDecimal>public BigDecimal toExternal(org.apache.flink.table.data.DecimalData internal)
DataStructureConverterNote: Parameter must not be null. Output must not be null.
toExternal in interface DataStructureConverter<org.apache.flink.table.data.DecimalData,BigDecimal>Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.