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.
|
List<AlterPropertyVisibility> |
getAlterPropertyVisibilities()
Gets the properties whose visibilities are being altered in this mutation.
|
T |
getElement()
Gets the element this mutation is affecting.
|
Visibility |
getNewElementVisibility()
Get the new element visibility or null if not being altered in this mutation.
|
Visibility |
getOldElementVisibility()
Get the old element visibility.
|
List<SetPropertyMetadata> |
getSetPropertyMetadatas()
Gets all of the property metadata changes that are part of this mutation.
|
ExistingElementMutation<T> |
setPropertyMetadata(Property property,
String metadataName,
Value newValue,
Visibility visibility)
Sets a property metadata value on a property.
|
ExistingElementMutation<T> |
setPropertyMetadata(String propertyKey,
String propertyName,
String metadataName,
Value newValue,
Visibility visibility)
Sets a property metadata value on a property.
|
ExistingElementMutation<T> |
setPropertyMetadata(String propertyName,
String metadataName,
Value 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.
|
addExtendedData, addExtendedData, addExtendedData, addExtendedData, addPropertyValue, addPropertyValue, addPropertyValue, deleteExtendedData, deleteExtendedData, deleteExtendedData, deleteExtendedDataTable, deleteProperty, deleteProperty, deleteProperty, getElementType, getExtendedData, getExtendedDataDeletes, getIndexHint, getProperties, getPropertyDeletes, getPropertySoftDeletes, hasChanges, save, setIndexHint, setProperty, setProperty, softDeleteProperty, softDeleteProperty, softDeletePropertyedge, getVisibility, vertexExistingElementMutation<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.List<AlterPropertyVisibility> getAlterPropertyVisibilities()
ExistingElementMutation<T> alterElementVisibility(Visibility visibility)
visibility - The new visibility.Visibility getNewElementVisibility()
Visibility getOldElementVisibility()
ExistingElementMutation<T> setPropertyMetadata(Property property, String metadataName, Value 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, Value 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, Value 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 itemList<SetPropertyMetadata> getSetPropertyMetadatas()
ExistingElementMutation<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 © 2016–2021 MWARE SOLUTIONS. All rights reserved.