T - public class CompositeAccumuloRowIdFactory<T extends AccumuloCompositeRowId> extends DefaultAccumuloRowIdFactory
AccumuloRowIdFactory designed for injection of the AccumuloCompositeRowId to be
used to generate the Accumulo rowId. Allows for custom AccumuloCompositeRowIds to be
specified without overriding the entire ObjectInspector for the Hive row.| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
log |
accumuloSerDeParams, properties, rowIdMapping, serdeParams, serializer| Constructor and Description |
|---|
CompositeAccumuloRowIdFactory(Class<T> keyClass) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDependencyJars(org.apache.hadoop.conf.Configuration jobConf)
Add this implementation to the classpath for the Job
|
T |
createRowId(ObjectInspector inspector)
create custom object for accumulo
|
createRowIdObjectInspector, init, serializeRowIdpublic CompositeAccumuloRowIdFactory(Class<T> keyClass) throws SecurityException, NoSuchMethodException
public void addDependencyJars(org.apache.hadoop.conf.Configuration jobConf)
throws IOException
AccumuloRowIdFactoryaddDependencyJars in interface AccumuloRowIdFactoryaddDependencyJars in class DefaultAccumuloRowIdFactoryIOExceptionpublic T createRowId(ObjectInspector inspector) throws SerDeException
AccumuloRowIdFactorycreateRowId in interface AccumuloRowIdFactorycreateRowId in class DefaultAccumuloRowIdFactoryinspector - OI create by AccumuloRowIdFactory.createRowIdObjectInspector(org.apache.hadoop.hive.serde2.typeinfo.TypeInfo)SerDeExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.