public class HBaseDataConverter extends Object
DataConverter under
certain conditions.| Modifier and Type | Field and Description |
|---|---|
static HBaseDataConverter |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
Object |
fromBytes(commonj.sdo.Property targetProperty,
byte[] value)
Converts the given value from bytes based on data type and cardinality
information for the given property.
|
byte[] |
toBytes(commonj.sdo.Property sourceProperty,
Object value)
Converts the given value to bytes based on data type and cardinality
information for the given property.
|
public static volatile HBaseDataConverter INSTANCE
public Object fromBytes(commonj.sdo.Property targetProperty, byte[] value)
targetProperty - the propertyvalue - the bytes valueIllegalArgumentException - if the given property is not a data type propertypublic byte[] toBytes(commonj.sdo.Property sourceProperty,
Object value)
sourceProperty - the source propertyvalue - the valueIllegalArgumentException - if the given property is not a data type propertyCopyright © 2021. All Rights Reserved.