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
SemanticExceptionpublic List<HivePrivilegeObject> applyRowFilterAndColumnMasking(List<HivePrivilegeObject> privObjs) throws SemanticException
SemanticExceptionpublic boolean isEnabled()
throws SemanticException
SemanticExceptionpublic boolean needTransform()
throws SemanticException
SemanticExceptionpublic String create(HivePrivilegeObject privObject, MaskAndFilterInfo maskAndFilterInfo) throws SemanticException
SemanticExceptionpublic boolean needsRewrite()
public void setNeedsRewrite(boolean needsRewrite)
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.