Interface RepositoryKeyValueInterface
public interface RepositoryKeyValueInterface
- 
Field Summary
Fields - 
Method Summary
Modifier and TypeMethodDescriptionLoad a value from the repositoryList the keys for a given name-space in the repositorylistValues(String namespace) This method lists the key/value entries for a given name-space.voidStore a value in the repository using the key/value interfacevoidremoveValue(String namespace, String key) Remove a value from the repository key/value store 
- 
Field Details
- 
NAMESPACE_VARIABLES
- See Also:
 
 - 
NAMESPACE_DIMENSIONS
- See Also:
 
 
 - 
 - 
Method Details
- 
putValue
void putValue(String namespace, String key, String value) throws org.pentaho.di.core.exception.KettleException Store a value in the repository using the key/value interface- Parameters:
 namespace- the name-space to referencekey- The key to usevalue- The value to store- Throws:
 org.pentaho.di.core.exception.KettleException- in case there is an unexpected repository error
 - 
removeValue
Remove a value from the repository key/value store- Parameters:
 namespace- the name-space to referencekey- The key of the value to remove- Throws:
 org.pentaho.di.core.exception.KettleException- in case there is an unexpected repository error
 - 
getValue
String getValue(String namespace, String key, String revision) throws org.pentaho.di.core.exception.KettleException Load a value from the repository- Parameters:
 namespace- The name-space to usekey- The key to look uprevision- The revision to use or null if you want the last revision (optionally supported)- Returns:
 - The value including name, description, ...
 - Throws:
 org.pentaho.di.core.exception.KettleException- in case there is an unexpected repository error
 - 
listNamespaces
- Returns:
 - The list of name-spaces in the repository
 - Throws:
 org.pentaho.di.core.exception.KettleException- in case there is an unexpected repository error
 - 
listKeys
List the keys for a given name-space in the repository- Parameters:
 namespace- The name-space to query- Returns:
 - The list of keys in the name-space
 - Throws:
 org.pentaho.di.core.exception.KettleException- in case there is an unexpected repository error
 - 
listValues
List<RepositoryValueInterface> listValues(String namespace) throws org.pentaho.di.core.exception.KettleException This method lists the key/value entries for a given name-space. Even though this method returns aRepositoryValueInterfaceit does NOT (need to) load the actual object mentioned in it.- Parameters:
 namespace- The name-space to query- Returns:
 - A list of value entries, unsorted.
 - Throws:
 org.pentaho.di.core.exception.KettleException- in case there is an unexpected repository error
 
 -