@Internal public class HBaseTypeUtils extends Object
| Constructor and Description |
|---|
HBaseTypeUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
deserializeToObject(byte[] value,
int typeIdx,
Charset stringCharset)
Deserialize byte array to Java Object with the given type.
|
static int |
getTypeIndex(org.apache.flink.api.common.typeinfo.TypeInformation typeInfo)
Gets the type index (type representation in HBase connector) from the
TypeInformation. |
static boolean |
isSupportedType(Class<?> clazz)
Checks whether the given Class is a supported type in HBase connector.
|
static boolean |
isSupportedType(org.apache.flink.table.types.logical.LogicalType type)
Checks whether the given
LogicalType is supported in HBase connector. |
static byte[] |
serializeFromObject(Object value,
int typeIdx,
Charset stringCharset)
Serialize the Java Object to byte array with the given type.
|
public static Object deserializeToObject(byte[] value, int typeIdx, Charset stringCharset)
public static byte[] serializeFromObject(Object value, int typeIdx, Charset stringCharset)
public static int getTypeIndex(org.apache.flink.api.common.typeinfo.TypeInformation typeInfo)
TypeInformation.public static boolean isSupportedType(Class<?> clazz)
public static boolean isSupportedType(org.apache.flink.table.types.logical.LogicalType type)
LogicalType is supported in HBase connector.Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.