Exemplo n.º 1
0
 @Override
 public void init(HBaseSerDeParameters hbaseParam, Properties properties) throws SerDeException {
   this.hbaseParams = hbaseParam;
   this.keyMapping = hbaseParam.getKeyColumnMapping();
   this.properties = properties;
 }
Exemplo n.º 2
0
 /** Construct a LazyHBaseRow object with the ObjectInspector. */
 public LazyHBaseRow(LazySimpleStructObjectInspector oi, HBaseSerDeParameters serdeParams) {
   super(oi);
   this.keyFactory = serdeParams.getKeyFactory();
   this.valueFactories = serdeParams.getValueFactories();
   this.columnsMapping = serdeParams.getColumnMappings().getColumnsMapping();
 }