it.polimi.genomics.spark.utilities.FSConfig.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of GMQL-Spark Show documentation
Show all versions of GMQL-Spark Show documentation
Spark implementation of GMQL operators
The newest version!
package it.polimi.genomics.spark.utilities
import org.apache.hadoop.conf.Configuration
/**
* Created by andreagulino on 08/11/17.
*/
object FSConfig {
var conf : Configuration = null
def getConf(): Configuration = {
if( conf == null ) {
conf = new Configuration()
}
conf
}
def setConf(c: Configuration): Unit = {
conf = c
}
}