public class GenomicsDBConfiguration extends org.apache.hadoop.conf.Configuration implements Serializable
| Modifier and Type | Field and Description |
|---|---|
private ArrayList<String> |
hosts |
static String |
LOADERJSON |
static String |
MPIHOSTFILE |
private Integer |
nCellsPerTile |
static String |
PARTITION_STRATEGY |
private LinkedList<GenomicsDBPartitionInfo> |
partitionInfoList |
private Boolean |
produceCombinedVCF |
private Boolean |
produceTileDBArray |
static String |
QUERYJSON |
private Integer |
segmentSize |
| Constructor and Description |
|---|
GenomicsDBConfiguration(org.apache.hadoop.conf.Configuration configuration) |
GenomicsDBConfiguration(org.apache.hadoop.conf.Configuration configuration,
List<GenomicsDBPartitionInfo> list)
Constructor with partition information
|
| Modifier and Type | Method and Description |
|---|---|
private void |
addPartitions(GenomicsDBPartitionInfo genomicsDBPartitionInfo) |
(package private) List<String> |
getHosts() |
GenomicsDBConfiguration |
setHostFile(String path)
Host file contains the hosts where GenomicsDB instances reside.
|
GenomicsDBConfiguration |
setLoaderJsonFile(String path) |
(package private) void |
setPartitionStrategy(Boolean isRowPartitioned)
Set the partition strategy for underlying TileDB storage manager
|
(package private) void |
setPartitionStrategy(String partitionStrategy)
Set the partition strategy for underlying TileDB storage manager
|
GenomicsDBConfiguration |
setQueryJsonFile(String path) |
addDefaultResource, addDeprecation, addDeprecation, addDeprecation, addDeprecation, addResource, addResource, addResource, addResource, addResource, clear, dumpConfiguration, dumpDeprecatedKeys, get, get, getBoolean, getClass, getClass, getClassByName, getClassByNameOrNull, getClasses, getClassLoader, getConfResourceAsInputStream, getConfResourceAsReader, getDouble, getEnum, getFile, getFloat, getInstances, getInt, getInts, getLocalPath, getLong, getLongBytes, getPattern, getPropertySources, getProps, getRange, getRaw, getResource, getSocketAddr, getStringCollection, getStrings, getStrings, getTimeDuration, getTrimmed, getTrimmed, getTrimmedStringCollection, getTrimmedStrings, getTrimmedStrings, getValByRegex, isDeprecated, iterator, main, readFields, reloadConfiguration, set, set, setBoolean, setBooleanIfUnset, setClass, setClassLoader, setDouble, setEnum, setFloat, setIfUnset, setInt, setLong, setPattern, setQuietMode, setSocketAddr, setStrings, setTimeDuration, size, toString, unset, updateConnectAddr, write, writeXml, writeXmlclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic static final String LOADERJSON
public static final String QUERYJSON
public static final String MPIHOSTFILE
public static final String PARTITION_STRATEGY
private Boolean produceCombinedVCF
private Boolean produceTileDBArray
private Integer segmentSize
private Integer nCellsPerTile
private LinkedList<GenomicsDBPartitionInfo> partitionInfoList
public GenomicsDBConfiguration(org.apache.hadoop.conf.Configuration configuration)
throws FileNotFoundException
FileNotFoundExceptionpublic GenomicsDBConfiguration(org.apache.hadoop.conf.Configuration configuration,
List<GenomicsDBPartitionInfo> list)
throws FileNotFoundException
configuration - Existing configuration object (can contain Hadoop config values)list - Contains partition informationFileNotFoundException - thrown when loader file not foundpublic GenomicsDBConfiguration setLoaderJsonFile(String path)
public GenomicsDBConfiguration setQueryJsonFile(String path)
public GenomicsDBConfiguration setHostFile(String path) throws FileNotFoundException
path - Full path of the host fileFileNotFoundException - If file not found, throw exceptionvoid setPartitionStrategy(Boolean isRowPartitioned)
isRowPartitioned - If true, data is partitioned as row major (ROW_MAJOR),
COL_MAJOR otherwisevoid setPartitionStrategy(String partitionStrategy)
partitionStrategy - Partition strategy can be either column major
(COL_MAJOR) or row major (ROW_MAJOR)private void addPartitions(GenomicsDBPartitionInfo genomicsDBPartitionInfo)
Copyright © 2017. All rights reserved.