public class StructHBaseValueFactory<T extends HBaseStructValue> extends DefaultHBaseValueFactory
HBaseValueFactory
to consume a custom structcolumnMappings, conf, hbaseParams, properties, serdeParams
Constructor and Description |
---|
StructHBaseValueFactory(int fieldID,
Class<?> structValueClass) |
Modifier and Type | Method and Description |
---|---|
LazyObjectBase |
createValueObject(ObjectInspector inspector)
create custom object for hbase value
|
createValueObjectInspector, init, serializeValue
public LazyObjectBase createValueObject(ObjectInspector inspector) throws SerDeException
HBaseValueFactory
createValueObject
in interface HBaseValueFactory
createValueObject
in class DefaultHBaseValueFactory
inspector
- OI create by HBaseKeyFactory.createKeyObjectInspector(org.apache.hadoop.hive.serde2.typeinfo.TypeInfo)
SerDeException
Copyright © 2017 The Apache Software Foundation. All rights reserved.