Class DecimalAsStringConversion
java.lang.Object
org.apache.avro.Conversion<String>
tech.allegro.schema.json2avro.converter.conversions.DecimalAsStringConversion
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionfromBytes(ByteBuffer value, org.apache.avro.Schema schema, org.apache.avro.LogicalType type) Methods inherited from class org.apache.avro.Conversion
adjustAndSetValue, fromArray, fromBoolean, fromCharSequence, fromDouble, fromEnumSymbol, fromFixed, fromFloat, fromInt, fromLong, fromMap, fromRecord, getRecommendedSchema, toArray, toBoolean, toCharSequence, toDouble, toEnumSymbol, toFixed, toFloat, toInt, toLong, toMap, toRecord
-
Field Details
-
INSTANCE
-
-
Method Details
-
getConvertedType
- Specified by:
getConvertedTypein classorg.apache.avro.Conversion<String>
-
getLogicalTypeName
- Specified by:
getLogicalTypeNamein classorg.apache.avro.Conversion<String>
-
fromBytes
public String fromBytes(ByteBuffer value, org.apache.avro.Schema schema, org.apache.avro.LogicalType type) - Overrides:
fromBytesin classorg.apache.avro.Conversion<String>
-
toBytes
public ByteBuffer toBytes(String value, org.apache.avro.Schema schema, org.apache.avro.LogicalType type) - Overrides:
toBytesin classorg.apache.avro.Conversion<String>
-