Example usage for org.apache.hadoop.conf Configuration get

List of usage examples for org.apache.hadoop.conf Configuration get

Introduction

In this page you can find the example usage for org.apache.hadoop.conf Configuration get.

Prototype

public String get(String name) 

Source Link

Document

Get the value of the name property, null if no such property exists.

Usage

From source file:be.ugent.intec.halvade.utils.HalvadeConf.java

License:Open Source License

public static String getChrList(Configuration conf) {
    return conf.get(chrList);
}

From source file:be.ugent.intec.halvade.utils.HalvadeConf.java

License:Open Source License

public static boolean getIsRNA(Configuration conf) {
    String s = conf.get(rna);
    if (s.equalsIgnoreCase("true"))
        return true;
    else//from  w  w  w .ja va2  s  . c  o  m
        return false;
}

From source file:be.ugent.intec.halvade.utils.HalvadeConf.java

License:Open Source License

public static String getFilterBed(Configuration conf) {
    return conf.get(fbed);
}

From source file:be.ugent.intec.halvade.utils.HalvadeConf.java

License:Open Source License

public static String getBed(Configuration conf) {
    return conf.get(bed);
}

From source file:be.ugent.intec.halvade.utils.HalvadeConf.java

License:Open Source License

public static String getBedRegions(Configuration conf) {
    return conf.get(bedRegions);
}

From source file:be.ugent.intec.halvade.utils.HalvadeConf.java

License:Open Source License

public static boolean getkeepChrSplitPairs(Configuration conf) {
    String s = conf.get(keepChrSplitPairs);
    if (s.equalsIgnoreCase("true"))
        return true;
    else//  www  . j a  v a2 s .co  m
        return false;
}

From source file:be.ugent.intec.halvade.utils.HalvadeConf.java

License:Open Source License

public static String getInputDir(Configuration conf) {
    return conf.get(inputDir);
}

From source file:be.ugent.intec.halvade.utils.HalvadeConf.java

License:Open Source License

public static String getHeaderFile(Configuration conf) {
    return conf.get(headerFile);
}

From source file:be.ugent.intec.halvade.utils.HalvadeConf.java

License:Open Source License

public static String getCustomArgs(Configuration conf, String programName, String toolName) {
    return conf.get(customArgs + programName.toLowerCase() + "_" + toolName.toLowerCase());
}

From source file:be.ugent.intec.halvade.utils.HalvadeConf.java

License:Open Source License

public static boolean getIsPass2(Configuration conf) {
    String s = conf.get(starPass2);
    if (s.equalsIgnoreCase("true"))
        return true;
    else/*from   w ww . j a v a2s. c  o m*/
        return false;
}