java.lang.Object | ||
↳ | org.apache.helix.ZNRecord | |
↳ | org.apache.helix.api.config.NamespacedConfig |
![]() |
Generic configuration of Helix components prefixed with a namespace
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
char | PREFIX_CHAR |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Instantiate a NamespacedConfig.
| |||||||||||
Instantiate a NamespacedConfig from an existing HelixProperty
| |||||||||||
Instantiate a NamespacedConfig as a copy of another NamedspacedConfig
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add user configuration to an existing helix property.
| |||||||||||
Get a single List field
| |||||||||||
Returns an immutable map of list fields
| |||||||||||
Get a single Map field
| |||||||||||
Returns an immutable map of map fields
| |||||||||||
Get the prefix used to distinguish these config properties
| |||||||||||
Get all list fields with prefixed keys
| |||||||||||
Get all map fields with prefixed keys
| |||||||||||
Get all simple fields with prefixed keys
| |||||||||||
Get a single String field
| |||||||||||
Returns an immutable map of simple fields
| |||||||||||
Set a single String --> List field
| |||||||||||
Set all fields whose values are a list of values
| |||||||||||
Set a single String --> Map field
| |||||||||||
Set all fields whose values are key, value properties
| |||||||||||
Set a simple key, value field
| |||||||||||
Set all plain key, value fields
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Instantiate a NamespacedConfig. It is intended for use only by entities that can be identified
scope | scope object |
---|
Instantiate a NamespacedConfig from an existing HelixProperty
property | property wrapping a configuration |
---|
Instantiate a NamespacedConfig as a copy of another NamedspacedConfig
config | populated NamespacedConfig |
---|
Add user configuration to an existing helix property.
property | the property to update |
---|---|
config | the user config |
Returns an immutable map of list fields
Get a single Map field
Returns an immutable map of map fields
Get the prefix used to distinguish these config properties
Get all list fields with prefixed keys
Get all map fields with prefixed keys
Get all simple fields with prefixed keys
Returns an immutable map of simple fields
Set all fields whose values are a list of values
Set all fields whose values are key, value properties