Package org.apache.iceberg.dell.ecs
Class PropertiesSerDesUtil
- java.lang.Object
-
- org.apache.iceberg.dell.ecs.PropertiesSerDesUtil
-
public class PropertiesSerDesUtil extends java.lang.Object
Convert Map properties to bytes.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
currentVersion()
Get version of current serializer implementation.static java.util.Map<java.lang.String,java.lang.String>
read(byte[] content, java.lang.String version)
Read propertiesstatic byte[]
toBytes(java.util.Map<java.lang.String,java.lang.String> value)
Write properties, the version iscurrentVersion()
-
-
-
Method Detail
-
read
public static java.util.Map<java.lang.String,java.lang.String> read(byte[] content, java.lang.String version)
Read properties- Parameters:
version
- is the version ofPropertiesSerDesUtil
-
toBytes
public static byte[] toBytes(java.util.Map<java.lang.String,java.lang.String> value)
Write properties, the version iscurrentVersion()
-
currentVersion
public static java.lang.String currentVersion()
Get version of current serializer implementation.
-
-