ConfigurationParameters that applies a supplied prefix to all
queries.
| Modifier and Type | Field and Description |
|---|---|
| private final ConfigurationParameters | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | PrefixedConfigurationParameters(ConfigurationParameters
the delegate, String ConfigurationParameters to delegate to; never
nullthe prefix to apply to all queries; never prefix)null or
blankCreate a new view of the supplied |
| Modifier and Type | Method and Description |
|---|---|
| public Optional | get(String key)
Implements org. Get the configuration parameter stored under the specified |
| public <T> Optional | |
| public Optional | getBoolean(String key)
Implements org. Get the boolean configuration parameter stored under the specified
|
| public Set | keySet()
Implements org. Get the keys of all configuration parameters stored in this
|
| private String |
| delegate | back to summary |
|---|---|
| private final ConfigurationParameters delegate | |
| prefix | back to summary |
|---|---|
| private final String prefix | |
| PrefixedConfigurationParameters | back to summary |
|---|---|
| public PrefixedConfigurationParameters(ConfigurationParameters delegate, String prefix) Create a new view of the supplied
| |
| get | back to summary |
|---|---|
| public Optional Implements org. Doc from org. Get the configuration parameter stored under the specified If no such key is present in this
| |
| get | back to summary |
|---|---|
| public <T> Optional Overrides default org. Doc from org. Get and transform the configuration parameter stored under the specified
If no such key is present in this In case the transformer throws an exception, it will be wrapped in a
| |
| getBoolean | back to summary |
|---|---|
| public Optional Implements org. Doc from org. Get the boolean configuration parameter stored under the specified
If no such key is present in this
| |
| keySet | back to summary |
|---|---|
| public Set Implements org. Doc from org. Get the keys of all configuration parameters stored in this
| |
| prefixed | back to summary |
|---|---|
| private String prefixed(String key) | |