public interface ExistingElementMutation<T extends Element> extends ElementMutation<T>
DEFAULT_KEY| Modifier and Type | Method and Description |
|---|---|
ExistingElementMutation<T> |
alterElementVisibility(Visibility visibility)
Alters the visibility of the element (vertex or edge).
|
ExistingElementMutation<T> |
alterPropertyVisibility(Property property,
Visibility visibility)
Alters the visibility of a property.
|
ExistingElementMutation<T> |
alterPropertyVisibility(String key,
String name,
Visibility visibility)
Alters the visibility of a property.
|
ExistingElementMutation<T> |
alterPropertyVisibility(String name,
Visibility visibility)
Alters the visibility of a property.
|
ExistingElementMutation<T> |
deleteProperties(String name)
Permanently deletes all default properties with that name irregardless of visibility.
|
ExistingElementMutation<T> |
deleteProperties(String key,
String name)
Permanently deletes all properties with this key and name irregardless of visibility.
|
T |
getElement()
Gets the element this mutation is affecting.
|
ExistingElementMutation<T> |
setPropertyMetadata(Property property,
String metadataName,
Object newValue,
Visibility visibility)
Sets a property metadata value on a property.
|
ExistingElementMutation<T> |
setPropertyMetadata(String propertyName,
String metadataName,
Object newValue,
Visibility visibility)
Sets a property metadata value on a property.
|
ExistingElementMutation<T> |
setPropertyMetadata(String propertyKey,
String propertyName,
String metadataName,
Object newValue,
Visibility visibility)
Sets a property metadata value on a property.
|
ExistingElementMutation<T> |
softDeleteProperties(String name)
Soft deletes all default properties with that name irregardless of visibility.
|
ExistingElementMutation<T> |
softDeleteProperties(String key,
String name)
Soft deletes all properties with this key and name irregardless of visibility.
|
addPropertyValue, addPropertyValue, addPropertyValue, deleteProperty, deleteProperty, deleteProperty, getIndexHint, getProperties, getPropertyDeletes, getPropertySoftDeletes, hasChanges, save, setIndexHint, setProperty, setProperty, softDeleteProperty, softDeleteProperty, softDeletePropertyExistingElementMutation<T> alterPropertyVisibility(Property property, Visibility visibility)
property - The property to mutate.visibility - The new visibility.ExistingElementMutation<T> alterPropertyVisibility(String key, String name, Visibility visibility)
key - The key of a multivalued property.name - The name of the property to alter the visibility of.visibility - The new visibility.ExistingElementMutation<T> alterPropertyVisibility(String name, Visibility visibility)
name - The name of the property to alter the visibility of.visibility - The new visibility.ExistingElementMutation<T> alterElementVisibility(Visibility visibility)
visibility - The new visibility.ExistingElementMutation<T> setPropertyMetadata(Property property, String metadataName, Object newValue, Visibility visibility)
property - The property to mutate.metadataName - The name of the metadata.newValue - The new value.visibility - The visibility of the metadata itemExistingElementMutation<T> setPropertyMetadata(String propertyKey, String propertyName, String metadataName, Object newValue, Visibility visibility)
propertyKey - The key of a multivalued property.propertyName - The name of the property.metadataName - The name of the metadata.newValue - The new value.visibility - The visibility of the metadata itemExistingElementMutation<T> setPropertyMetadata(String propertyName, String metadataName, Object newValue, Visibility visibility)
propertyName - The name of the property.metadataName - The name of the metadata.newValue - The new value.visibility - The visibility of the metadata itemExistingElementMutation<T> deleteProperties(String name)
name - the property name to delete.ExistingElementMutation<T> deleteProperties(String key, String name)
key - the key of the property to delete.name - the name of the property to delete.ExistingElementMutation<T> softDeleteProperties(String name)
name - the property name to delete.ExistingElementMutation<T> softDeleteProperties(String key, String name)
key - the key of the property to delete.name - the name of the property to delete.T getElement()
Copyright © 2014–2017. All rights reserved.