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 boolean getUseUnifiedGenotyper(Configuration conf) {
    String s = conf.get(useGenotyper);
    if (s.equalsIgnoreCase("true"))
        return true;
    else/*from  w w  w .  j  a  v a  2s.c om*/
        return false;
}

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

License:Open Source License

public static boolean getKeepFiles(Configuration conf) {
    String s = conf.get(keepFiles);
    if (s.equalsIgnoreCase("true"))
        return true;
    else//w  w w .  j  a  va2 s  . c  o m
        return false;
}

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

License:Open Source License

public static boolean getUseElPrep(Configuration conf) {
    String s = conf.get(useElPrep);
    if (s.equalsIgnoreCase("true"))
        return true;
    else//from   w w w.  j a v a 2 s .  c om
        return false;
}

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

License:Open Source License

public static boolean getRedistribute(Configuration conf) {
    String s = conf.get(redist);
    if (s.equalsIgnoreCase("true"))
        return true;
    else//from  w ww  .ja v a 2  s  .c om
        return false;
}

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

License:Open Source License

public static boolean getIsPaired(Configuration conf) {
    String s = conf.get(paired);
    if (s.equalsIgnoreCase("true"))
        return true;
    else/*from   w  w  w  .  j a  v  a  2s.c  om*/
        return false;
}

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

License:Open Source License

public static String getOutDir(Configuration conf) {
    return conf.get(outdir);
}

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

License:Open Source License

public static String getScratchTempDir(Configuration conf) {
    return conf.get(scratchTempDirName);
}

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

License:Open Source License

public static String getGff(Configuration conf) {
    return conf.get(gff);
}

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

License:Open Source License

public static String getReadGroup(Configuration conf) {
    return conf.get(readgroup);
}

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

License:Open Source License

public static String getRefDirOnScratch(Configuration conf) {
    return conf.get(refOnScratchName);
}