public class FixedSizeStringConversion extends Conversion<FixedSizeString>
Constructor and Description |
---|
FixedSizeStringConversion() |
Modifier and Type | Method and Description |
---|---|
FixedSizeString |
fromBytes(ByteBuffer value,
Schema schema,
LogicalType type) |
Class<FixedSizeString> |
getConvertedType()
Return the Java class representing the logical type.
|
String |
getLogicalTypeName()
Return the logical type this class converts.
|
ByteBuffer |
toBytes(FixedSizeString 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, toRecord
public Class<FixedSizeString> getConvertedType()
Conversion
getConvertedType
in class Conversion<FixedSizeString>
public String getLogicalTypeName()
Conversion
getLogicalTypeName
in class Conversion<FixedSizeString>
public FixedSizeString fromBytes(ByteBuffer value, Schema schema, LogicalType type)
fromBytes
in class Conversion<FixedSizeString>
public ByteBuffer toBytes(FixedSizeString value, Schema schema, LogicalType type)
toBytes
in class Conversion<FixedSizeString>
Copyright © 2009–2021 The Apache Software Foundation. All rights reserved.