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

Method addFunction

fe/src/main/java/org/apache/impala/catalog/Db.java:363–369  ·  view source on GitHub ↗
(Function fn)

Source from the content-addressed store, hash-verified

361 }
362
363 public boolean addFunction(Function fn) {
364 // We use the db parameters map to persist native and IR functions.
365 boolean addToDbParams =
366 (fn.getBinaryType() == TFunctionBinaryType.NATIVE ||
367 fn.getBinaryType() == TFunctionBinaryType.IR);
368 return addFunction(fn, addToDbParams);
369 }
370
371 /**
372 * Registers the function fn to this database. If addToDbParams is true,

Callers 8

addDbMethod · 0.95
addFunctionMethod · 0.95
refreshFunctionsMethod · 0.95
invalidateDbMethod · 0.95
addFunctionMethod · 0.95
addFunctionMethod · 0.95
addBuiltinMethod · 0.95
createFunctionMethod · 0.45

Calls 10

getNameMethod · 0.95
getFunctionMethod · 0.95
addFunctionToDbParamsMethod · 0.95
dbNameMethod · 0.80
functionNameMethod · 0.80
getMethod · 0.65
putMethod · 0.65
getBinaryTypeMethod · 0.45
equalsMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected