public class TableMask extends Object
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
LOG |
Constructor and Description |
---|
TableMask(SemanticAnalyzer analyzer,
HiveConf conf,
boolean skipTableMasking) |
Modifier and Type | Method and Description |
---|---|
List<HivePrivilegeObject> |
applyRowFilterAndColumnMasking(List<HivePrivilegeObject> privObjs) |
String |
create(HivePrivilegeObject privObject,
MaskAndFilterInfo maskAndFilterInfo) |
boolean |
isEnabled() |
boolean |
needsRewrite() |
boolean |
needTransform() |
void |
setNeedsRewrite(boolean needsRewrite) |
public TableMask(SemanticAnalyzer analyzer, HiveConf conf, boolean skipTableMasking) throws SemanticException
SemanticException
public List<HivePrivilegeObject> applyRowFilterAndColumnMasking(List<HivePrivilegeObject> privObjs) throws SemanticException
SemanticException
public boolean isEnabled() throws SemanticException
SemanticException
public boolean needTransform() throws SemanticException
SemanticException
public String create(HivePrivilegeObject privObject, MaskAndFilterInfo maskAndFilterInfo) throws SemanticException
SemanticException
public boolean needsRewrite()
public void setNeedsRewrite(boolean needsRewrite)
Copyright © 2019 The Apache Software Foundation. All rights reserved.