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