Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
Public Member Functions | |
string | Parse (const Document &rules_doc) |
Private Member Functions | |
void | ParseRules (const Value &rules) |
void | ParseRule (const Value &json_rule) |
template<typename T > | |
bool | ReadRuleProperty (const string &name, const Value &rule, T *value, bool required=true) |
ostream & | AddDocParseError () |
ostream & | AddRuleParseError () |
Private Attributes | |
ostringstream | error_message_ |
rapidjson::SizeType | rule_idx_ |
Definition at line 118 of file redactor.cc.
|
inlineprivate |
Definition at line 247 of file redactor.cc.
References error_message_.
Referenced by Parse(), and ParseRules().
|
inlineprivate |
Definition at line 253 of file redactor.cc.
References error_message_, and rule_idx_.
Referenced by ParseRule(), ParseRules(), and ReadRuleProperty().
|
inline |
Definition at line 122 of file redactor.cc.
References AddDocParseError(), error_message_, and ParseRules().
Referenced by impala::SetRedactionRulesFromFile().
|
inlineprivate |
Definition at line 170 of file redactor.cc.
References AddRuleParseError(), impala::Rule::Create(), ReadRuleProperty(), and impala::Rule::search_pattern.
Referenced by ParseRules().
|
inlineprivate |
Definition at line 152 of file redactor.cc.
References AddDocParseError(), AddRuleParseError(), impala::NameOfTypeOfJsonValue(), ParseRule(), and rule_idx_.
Referenced by Parse().
|
inlineprivate |
Definition at line 217 of file redactor.cc.
References AddRuleParseError().
Referenced by ParseRule().
|
private |
Definition at line 144 of file redactor.cc.
Referenced by AddDocParseError(), AddRuleParseError(), and Parse().
|
private |
Definition at line 149 of file redactor.cc.
Referenced by AddRuleParseError(), and ParseRules().