@InterfaceAudience.Private public class LabelExpander extends Object
Constructor and Description |
---|
LabelExpander(org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
KeyValue |
createKVFromCellVisibilityExpr(int rowKeyOffset,
int rowKeyLength,
byte[] family,
int familyOffset,
int familyLength,
byte[] qualifier,
int qualifierOffset,
int qualifierLength,
long ts,
KeyValue.Type put,
byte[] lineBytes,
int columnOffset,
int columnLength,
String cellVisibilityExpr)
Creates a kv from the cell visibility expr specified in the ImportTSV and uses it as the
visibility tag in the kv
|
public KeyValue createKVFromCellVisibilityExpr(int rowKeyOffset, int rowKeyLength, byte[] family, int familyOffset, int familyLength, byte[] qualifier, int qualifierOffset, int qualifierLength, long ts, KeyValue.Type put, byte[] lineBytes, int columnOffset, int columnLength, String cellVisibilityExpr) throws IOException, ImportTsv.TsvParser.BadTsvLineException
rowKeyOffset
- rowKeyLength
- family
- familyOffset
- familyLength
- qualifier
- qualifierOffset
- qualifierLength
- ts
- put
- lineBytes
- columnOffset
- columnLength
- cellVisibilityExpr
- IOException
ImportTsv.TsvParser.BadTsvLineException
ParseException
Copyright © 2014 The Apache Software Foundation. All rights reserved.