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

Method getDb

fe/src/main/java/org/apache/impala/analysis/Analyzer.java:4024–4026  ·  view source on GitHub ↗

If the database does not exist in the catalog an AnalysisError is thrown. This method does not require the grant option permission.

(String dbName, Privilege privilege)

Source from the content-addressed store, hash-verified

4022 * This method does not require the grant option permission.
4023 */
4024 public FeDb getDb(String dbName, Privilege privilege) throws AnalysisException {
4025 return getDb(dbName, privilege, true);
4026 }
4027
4028 /**
4029 * This method does not require the grant option permission.

Callers

nothing calls this directly

Calls 11

registerPrivReqMethod · 0.95
getOwnerUserMethod · 0.95
addAccessEventMethod · 0.95
getCatalogMethod · 0.95
onDbMethod · 0.80
anyMethod · 0.80
allOfMethod · 0.80
getDbMethod · 0.65
grantOptionMethod · 0.45
buildMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected