java.lang.Object | |
↳ | org.apache.helix.manager.zk.ZKHelixDataAccessor |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds multiple children to a parent.
| |||||||||||
Create a helix property only if it does not exist.
| |||||||||||
Get underlying base data accessor
| |||||||||||
Return the child names for a property.
| |||||||||||
Get the child values for a property.
| |||||||||||
Same as getChildValues except that it converts list into a map using the id
of the HelixProperty
| |||||||||||
Return a list of property values, each of which must be refer to a single Helix
Property.
| |||||||||||
Return the property value, it must be refer to a single Helix Property.
| |||||||||||
Get key builder for the accessor
| |||||||||||
Invoked when controller changes
| |||||||||||
Removes the property
| |||||||||||
Sets multiple children under one parent
| |||||||||||
Set a property, overwrite if it exists and creates if not exists.
| |||||||||||
Updates multiple children under one parent
TODO: change to use property-keys instead of paths
| |||||||||||
Updates a property using newvalue.merge(oldvalue)
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.apache.helix.ControllerChangeListener
| |||||||||||
From interface
org.apache.helix.HelixDataAccessor
|
Adds multiple children to a parent.
Create a helix property only if it does not exist.
Get underlying base data accessor
Return the child names for a property. PropertyKey needs to refer to a collection like instances, resources. PropertyKey.isLeaf must be false
Get the child values for a property. PropertyKey needs to refer to just one level above the non leaf. PropertyKey.isCollection must be true.
Same as getChildValues except that it converts list into a map using the id of the HelixProperty
Return a list of property values, each of which must be refer to a single Helix Property. Property may be bucketized.
Return the property value, it must be refer to a single Helix Property. i.e PropertyKey.isLeaf() must return true.
Get key builder for the accessor
Invoked when controller changes
changeContext | description of the event and state |
---|
Removes the property
Sets multiple children under one parent
Set a property, overwrite if it exists and creates if not exists. This api assumes the node exists and only tries to update it only if the call fail it will create the node. So there is a performance cost if always ends up creating the node.
Updates multiple children under one parent TODO: change to use property-keys instead of paths
Updates a property using newvalue.merge(oldvalue)