public class CustomDecimalConversion extends Conversion<CustomDecimal>
| Constructor and Description | 
|---|
CustomDecimalConversion()  | 
| Modifier and Type | Method and Description | 
|---|---|
CustomDecimal | 
fromBytes(ByteBuffer value,
         Schema schema,
         LogicalType type)  | 
CustomDecimal | 
fromFixed(GenericFixed 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)  | 
GenericFixed | 
toFixed(CustomDecimal value,
       Schema schema,
       LogicalType type)  | 
adjustAndSetValue, fromArray, fromBoolean, fromCharSequence, fromDouble, fromEnumSymbol, fromFloat, fromInt, fromLong, fromMap, fromRecord, getRecommendedSchema, toArray, toBoolean, toCharSequence, toDouble, toEnumSymbol, 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>public CustomDecimal fromFixed(GenericFixed value, Schema schema, LogicalType type)
fromFixed in class Conversion<CustomDecimal>public GenericFixed toFixed(CustomDecimal value, Schema schema, LogicalType type)
toFixed in class Conversion<CustomDecimal>Copyright © 2009–2021 The Apache Software Foundation. All rights reserved.