MCPcopy Create free account
hub / github.com/apache/impala / StmtNode

Class StmtNode

fe/src/main/java/org/apache/impala/analysis/StmtNode.java:25–42  ·  view source on GitHub ↗

Base interface for statements and statement-like nodes such as clauses.

Source from the content-addressed store, hash-verified

23 * Base interface for statements and statement-like nodes such as clauses.
24 */
25public abstract class StmtNode implements ParseNode {
26
27 /**
28 * Perform semantic analysis of node and all of its children.
29 * @throws AnalysisException if any semantic errors were found
30 */
31 public abstract void analyze(Analyzer analyzer) throws AnalysisException;
32
33 /**
34 * By default, table masking is not performed. When authorization is enabled and
35 * tbe base table/view has column-masking / row-filtering policies, the table ref
36 * will be masked by a table masking view. Called after analyze().
37 */
38 public boolean resolveTableMask(Analyzer analyzer) throws AnalysisException {
39 // Don't apply table mask by default.
40 return false;
41 }
42}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected