Package org.pentaho.di.core.osgi.api
Interface NamedClusterOsgi
- All Superinterfaces:
VariableSpace
Created by tkafalas on 7/6/2017.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault voidaddSiteFile(String fileName, String content) Deprecated.default voidaddSiteFile(NamedClusterSiteFile namedClusterSiteFile) decodePassword(String password) encodePassword(String password) longgetName()default InputStreamgetSiteFileInputStream(String siteFileName) default List<NamedClusterSiteFile>booleanisMapr()booleannonOsgiFromXmlForEmbed(Node node) This is the NamedClusterOsgi equivalent of the line commented above.processURLsubstitution(String incomingURL, org.pentaho.metastore.api.IMetaStore metastore, VariableSpace variableSpace) This method performs the root URL substitution with the URL of the specified NamedClustervoidsetGatewayPassword(String gatewayPassword) voidsetGatewayUrl(String gatewayUrl) voidsetGatewayUsername(String gatewayUsername) voidsetHdfsHost(String hdfsHost) voidsetHdfsPassword(String hdfsPassword) voidsetHdfsPort(String hdfsPort) voidsetHdfsUsername(String hdfsUsername) voidsetJobTrackerHost(String jobTrackerHost) voidsetJobTrackerPort(String jobTrackerPort) voidsetKafkaBootstrapServers(String kafkaBootstrapServers) voidsetLastModifiedDate(long lastModifiedDate) voidsetMapr(boolean mapr) voidvoidsetOozieUrl(String oozieUrl) voidsetShimIdentifier(String shimIdentifier) default voidsetSiteFiles(List<NamedClusterSiteFile> siteFiles) voidsetStorageScheme(String storageScheme) voidsetUseGateway(boolean selection) voidsetZooKeeperHost(String zooKeeperHost) voidsetZooKeeperPort(String zooKeeperPort) toXmlForEmbed(String rootTag) Methods inherited from interface org.pentaho.di.core.variables.VariableSpace
copyVariablesFrom, environmentSubstitute, environmentSubstitute, environmentSubstitute, fieldSubstitute, getBooleanValueOfVariable, getParentVariableSpace, getVariable, getVariable, initializeVariablesFrom, injectVariables, listVariables, setParentVariableSpace, setVariable, shareVariablesWith
-
Field Details
-
NAMED_CLUSTERS_FS_OPTION
- See Also:
-
NAMED_CLUSTER_FS_OPTION
- See Also:
-
NAMED_CLUSTER_XML_TAG
- See Also:
-
KNOX_GATEWAY_ROOT
- See Also:
-
-
Method Details
-
getName
String getName() -
setName
-
getShimIdentifier
String getShimIdentifier() -
setShimIdentifier
-
getStorageScheme
String getStorageScheme() -
setStorageScheme
-
getHdfsHost
String getHdfsHost() -
setHdfsHost
-
getHdfsPort
String getHdfsPort() -
setHdfsPort
-
getHdfsUsername
String getHdfsUsername() -
setHdfsUsername
-
getHdfsPassword
String getHdfsPassword() -
setHdfsPassword
-
getJobTrackerHost
String getJobTrackerHost() -
setJobTrackerHost
-
getJobTrackerPort
String getJobTrackerPort() -
setJobTrackerPort
-
getZooKeeperHost
String getZooKeeperHost() -
setZooKeeperHost
-
getZooKeeperPort
String getZooKeeperPort() -
setZooKeeperPort
-
getOozieUrl
String getOozieUrl() -
setOozieUrl
-
getLastModifiedDate
long getLastModifiedDate() -
setLastModifiedDate
void setLastModifiedDate(long lastModifiedDate) -
isMapr
boolean isMapr() -
setMapr
void setMapr(boolean mapr) -
getGatewayUrl
String getGatewayUrl() -
setGatewayUrl
-
getGatewayUsername
String getGatewayUsername() -
setGatewayUsername
-
getGatewayPassword
String getGatewayPassword() -
setGatewayPassword
-
getKafkaBootstrapServers
String getKafkaBootstrapServers() -
setKafkaBootstrapServers
-
toXmlForEmbed
-
nonOsgiFromXmlForEmbed
This is the NamedClusterOsgi equivalent of the line commented above. The NamedCluster interface is used in OSGI and should be phased out over time as this interface is adopted instead. We had to create a unique method name here for the time being since the signature is identical. -
processURLsubstitution
String processURLsubstitution(String incomingURL, org.pentaho.metastore.api.IMetaStore metastore, VariableSpace variableSpace) This method performs the root URL substitution with the URL of the specified NamedCluster- Parameters:
incomingURL- the URL whose root will be replacedmetastore- the metastorevariableSpace- the variable space- Returns:
- the generated URL or the incoming URL if an error occurs
-
setUseGateway
void setUseGateway(boolean selection) -
isUseGateway
boolean isUseGateway() -
decodePassword
-
encodePassword
-
getSiteFiles
-
setSiteFiles
-
addSiteFile
Deprecated. -
addSiteFile
-
getSiteFileInputStream
-