public class CustomDecimalConversion extends Conversion<CustomDecimal>
| Constructor and Description |
|---|
CustomDecimalConversion() |
| Modifier and Type | Method and Description |
|---|---|
CustomDecimal |
fromBytes(ByteBuffer value,
Schema schema,
LogicalType type) |
Class<CustomDecimal> |
getConvertedType()
Return the Java class representing the logical type.
|
String |
getLogicalTypeName()
Return the logical type this class converts.
|
ByteBuffer |
toBytes(CustomDecimal value,
Schema schema,
LogicalType type) |
adjustAndSetValue, fromArray, fromBoolean, fromCharSequence, fromDouble, fromEnumSymbol, fromFixed, fromFloat, fromInt, fromLong, fromMap, fromRecord, getRecommendedSchema, toArray, toBoolean, toCharSequence, toDouble, toEnumSymbol, toFixed, toFloat, toInt, toLong, toMap, toRecordpublic Class<CustomDecimal> getConvertedType()
ConversiongetConvertedType in class Conversion<CustomDecimal>public String getLogicalTypeName()
ConversiongetLogicalTypeName in class Conversion<CustomDecimal>public CustomDecimal fromBytes(ByteBuffer value, Schema schema, LogicalType type)
fromBytes in class Conversion<CustomDecimal>public ByteBuffer toBytes(CustomDecimal value, Schema schema, LogicalType type)
toBytes in class Conversion<CustomDecimal>Copyright © 2009–2020 The Apache Software Foundation. All rights reserved.