public interface RepositoryKeyValueInterface
| Modifier and Type | Field and Description |
|---|---|
static String |
NAMESPACE_DIMENSIONS |
static String |
NAMESPACE_VARIABLES |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue(String namespace,
String key,
String revision)
Load a value from the repository
|
List<String> |
listKeys(String namespace)
List the keys for a given name-space in the repository
|
List<String> |
listNamespaces() |
List<RepositoryValueInterface> |
listValues(String namespace)
This method lists the key/value entries for a given name-space.
|
void |
putValue(String namespace,
String key,
String value)
Store a value in the repository using the key/value interface
|
void |
removeValue(String namespace,
String key)
Remove a value from the repository key/value store
|
static final String NAMESPACE_VARIABLES
static final String NAMESPACE_DIMENSIONS
void putValue(String namespace, String key, String value) throws KettleException
namespace - the name-space to referencekey - The key to usevalue - The value to storeKettleException - in case there is an unexpected repository errorvoid removeValue(String namespace, String key) throws KettleException
namespace - the name-space to referencekey - The key of the value to removeKettleException - in case there is an unexpected repository errorString getValue(String namespace, String key, String revision) throws KettleException
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)KettleException - in case there is an unexpected repository errorList<String> listNamespaces() throws KettleException
KettleException - in case there is an unexpected repository errorList<String> listKeys(String namespace) throws KettleException
namespace - The name-space to queryKettleException - in case there is an unexpected repository errorList<RepositoryValueInterface> listValues(String namespace) throws KettleException
RepositoryValueInterface it does NOT (need to) load the actual object mentioned in it.namespace - The name-space to queryKettleException - in case there is an unexpected repository errorCopyright © 2018 Hitachi Vantara. All rights reserved.