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