public Optional<Configuration> getConf() {
    return Optional.fromNullable(conf);
  }
Get the configuration, if there is one. Users are not required to setup HCatContext
unless they wish to override default behavior, so the configuration may not be present.

@return an Optional that might contain a Configuration
hcatalog/core/src/main/java/org/apache/hive/hcatalog/common/HCatContext.java