MVSConfig.ResponseSpatialContent, MVSConfig.ServiceInterface| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
CONF_ENV_IS_REPO_LOC
Job configuration: boolean value that specifies whether the service location refers to a repository (true) or to a whole MVS directory (false) 
 | 
static java.lang.String | 
CONF_ENV_OVERWRITE_PERSIST_SERV_LOC
Job configuration: boolean value that specifies whether  
CONF_ENV_PERSIST_SERV_LOC should be overwritten by the content pointed by MVSConfig.CONF_SERVCE_LOCATION (true) or not (false) | 
static java.lang.String | 
CONF_ENV_PERSIST_SERV_LOC
Job configuration: the name of the HDFS path where the MVS directory should be saved. 
 | 
static java.lang.String | 
CONF_ENV_REBUILD_INDEX
Job configuration: boolean value indicating if the MVS directory index should be rebuilt (true) or not (false). 
 | 
static java.lang.String | 
DEFAULT_REPOSITORY_NAME  | 
static java.lang.String | 
MVS_CONFIG_FILE
MVS configuration file name 
 | 
static java.lang.String | 
REPOSITORY_CONFIG_DIR
Repository configuration folder name 
 | 
static java.lang.String | 
REPOSITORY_GEONAMES_DIR
Geonames folder name 
 | 
static java.lang.String | 
REPOSITORY_INDEX_DIR
MVS index folder name 
 | 
CONF_MATCH_COUNTRY, CONF_MATCH_LAYERS, CONF_MAX_QUERY_RECORDS, CONF_PROVIDE_TEMPLATES, CONF_RESPONCE_SPATIAL_CONTENT, CONF_SERVCE_LOCATION, CONF_SERVICE_INTERFACE| Constructor and Description | 
|---|
LocalMVSConfig()  | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
getPersistentServiceLocation()
Gets the path where the MVS folder should be saved in HDFS. 
 | 
java.lang.String | 
getRepositoryName()
Gets the name of the repository folder name in an MVS location 
 | 
boolean | 
isOverwritePersistentServiceLocation()
Tells whether  
CONF_ENV_PERSIST_SERV_LOC should be overwritten by MVSConfig.CONF_SERVCE_LOCATION | 
boolean | 
isRebuildIndex()
Tells whether the MVS index should be rebuilt when it does not exist. 
 | 
boolean | 
isRepositoryLocation()
Tells whether the current MVS location refers to a repository or not. 
 | 
void | 
load(Configuration conf)
Loads the MVSuggest configuration from the job configuration 
 | 
void | 
setOverwritePersistentServiceLocation(boolean overwritePersistentServiceLocation)
Sets whether  
CONF_ENV_PERSIST_SERV_LOC should be overwritten by MVSConfig.CONF_SERVCE_LOCATION | 
void | 
setPersistentServiceLocation(java.lang.String persistentServiceLocation)
Sets the path where the MVS folder should be saved in HDFS. 
 | 
void | 
setRebuildIndex(boolean rebuildIndex)
Sets whether the MVS index should be rebuilt when it does not exist. 
 | 
void | 
setRepositoryLocation(boolean repositoryLocation)
Sets whether the current MVS location refers to a repository or not. 
 | 
void | 
setRepositoryName(java.lang.String repositoryName)
Sets the name of the repository folder name in an MVS location 
 | 
void | 
store(Configuration conf)
Saves the MVSuggest to the job configuration 
 | 
getMatchCountry, getMatchLayers, getMaxQueryRecords, getResponseSpatialContentType, getServiceInterfaceType, getServiceLocation, isProvideTemplates, setMatchCountry, setMatchLayers, setMaxQueryRecords, setProvideTemplates, setResponseSpatialContentType, setServiceInterfaceType, setServiceLocationpublic static final java.lang.String CONF_ENV_IS_REPO_LOC
public static final java.lang.String CONF_ENV_OVERWRITE_PERSIST_SERV_LOC
CONF_ENV_PERSIST_SERV_LOC should be overwritten by the content pointed by MVSConfig.CONF_SERVCE_LOCATION (true) or not (false)public static final java.lang.String CONF_ENV_PERSIST_SERV_LOC
MVSConfig.CONF_SERVCE_LOCATIONpublic static final java.lang.String CONF_ENV_REBUILD_INDEX
public static final java.lang.String DEFAULT_REPOSITORY_NAME
public static final java.lang.String MVS_CONFIG_FILE
public static final java.lang.String REPOSITORY_CONFIG_DIR
public static final java.lang.String REPOSITORY_GEONAMES_DIR
public static final java.lang.String REPOSITORY_INDEX_DIR
public java.lang.String getPersistentServiceLocation()
public java.lang.String getRepositoryName()
public boolean isOverwritePersistentServiceLocation()
CONF_ENV_PERSIST_SERV_LOC should be overwritten by MVSConfig.CONF_SERVCE_LOCATIONpublic boolean isRebuildIndex()
public boolean isRepositoryLocation()
public void load(Configuration conf)
MVSConfigpublic void setOverwritePersistentServiceLocation(boolean overwritePersistentServiceLocation)
CONF_ENV_PERSIST_SERV_LOC should be overwritten by MVSConfig.CONF_SERVCE_LOCATIONoverwritePersistentServiceLocation - true if the persistent location should be overwrittenpublic void setPersistentServiceLocation(java.lang.String persistentServiceLocation)
persistentServiceLocation - an HDFS path or null if the MVS location is not saved in HDFS.public void setRebuildIndex(boolean rebuildIndex)
rebuildIndex - true if the index should be rebuiltpublic void setRepositoryLocation(boolean repositoryLocation)
repositoryLocation - true if the current MVS location is a repositorypublic void setRepositoryName(java.lang.String repositoryName)
repositoryName - the repository nameCopyright © 2016 Oracle and/or its affiliates. All Rights Reserved.