@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
|
List<Tag> |
createVisibilityTags(String visibilityLabelsExp) |
public List<Tag> createVisibilityTags(String visibilityLabelsExp) throws IOException, ImportTsv.TsvParser.BadTsvLineException
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 - IOExceptionImportTsv.TsvParser.BadTsvLineExceptionCopyright © 2014 The Apache Software Foundation. All Rights Reserved.