public class SimpleHBaseMapper extends Object implements HBaseMapper
| Constructor and Description | 
|---|
SimpleHBaseMapper()  | 
| Modifier and Type | Method and Description | 
|---|---|
ColumnList | 
columns(Tuple tuple)
Given a tuple, return a list of HBase columns to insert. 
 | 
byte[] | 
rowKey(Tuple tuple)
Given a tuple, return the HBase rowkey. 
 | 
SimpleHBaseMapper | 
withColumnFamily(String columnFamily)  | 
SimpleHBaseMapper | 
withColumnFields(Fields columnFields)  | 
SimpleHBaseMapper | 
withCounterFields(Fields counterFields)  | 
SimpleHBaseMapper | 
withRowKeyField(String rowKeyField)  | 
public SimpleHBaseMapper withRowKeyField(String rowKeyField)
public SimpleHBaseMapper withColumnFields(Fields columnFields)
public SimpleHBaseMapper withCounterFields(Fields counterFields)
public SimpleHBaseMapper withColumnFamily(String columnFamily)
public byte[] rowKey(Tuple tuple)
HBaseMapperGiven a tuple, return the HBase rowkey.
rowKey in interface HBaseMapperpublic ColumnList columns(Tuple tuple)
HBaseMapperGiven a tuple, return a list of HBase columns to insert.
columns in interface HBaseMapperCopyright © 2022 The Apache Software Foundation. All rights reserved.