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)
HBaseMapper
rowKey
in interface HBaseMapper
public ColumnList columns(Tuple tuple)
HBaseMapper
columns
in interface HBaseMapper
Copyright © 2023 The Apache Software Foundation. All rights reserved.