Package org.pentaho.di.core.osgi.api
Interface NamedClusterOsgi
- All Superinterfaces:
VariableSpace
Created by tkafalas on 7/6/2017.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
addSiteFile
(String fileName, String content) Deprecated.default void
addSiteFile
(NamedClusterSiteFile namedClusterSiteFile) decodePassword
(String password) encodePassword
(String password) long
getName()
default InputStream
getSiteFileInputStream
(String siteFileName) default List<NamedClusterSiteFile>
boolean
isMapr()
boolean
nonOsgiFromXmlForEmbed
(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 NamedClustervoid
setGatewayPassword
(String gatewayPassword) void
setGatewayUrl
(String gatewayUrl) void
setGatewayUsername
(String gatewayUsername) void
setHdfsHost
(String hdfsHost) void
setHdfsPassword
(String hdfsPassword) void
setHdfsPort
(String hdfsPort) void
setHdfsUsername
(String hdfsUsername) void
setJobTrackerHost
(String jobTrackerHost) void
setJobTrackerPort
(String jobTrackerPort) void
setKafkaBootstrapServers
(String kafkaBootstrapServers) void
setLastModifiedDate
(long lastModifiedDate) void
setMapr
(boolean mapr) void
void
setOozieUrl
(String oozieUrl) void
setShimIdentifier
(String shimIdentifier) default void
setSiteFiles
(List<NamedClusterSiteFile> siteFiles) void
setStorageScheme
(String storageScheme) void
setUseGateway
(boolean selection) void
setZooKeeperHost
(String zooKeeperHost) void
setZooKeeperPort
(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
-