MCPcopy Create free account
hub / github.com/apache/orc / lookupValue

Method lookupValue

java/core/src/java/org/apache/orc/OrcConf.java:302–314  ·  view source on GitHub ↗
(Properties tbl, Configuration conf)

Source from the content-addressed store, hash-verified

300 }
301
302 private String lookupValue(Properties tbl, Configuration conf) {
303 String result = null;
304 if (tbl != null) {
305 result = tbl.getProperty(attribute);
306 }
307 if (result == null && conf != null) {
308 result = conf.get(attribute);
309 if (result == null && hiveConfName != null) {
310 result = conf.get(hiveConfName);
311 }
312 }
313 return result;
314 }
315
316 public int getInt(Properties tbl, Configuration conf) {
317 String value = lookupValue(tbl, conf);

Callers 5

getIntMethod · 0.95
getLongMethod · 0.95
getStringMethod · 0.95
getBooleanMethod · 0.95
getDoubleMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected