public interface TransactionData
Modifier and Type | Method and Description |
---|---|
Iterable<LabelEntry> |
assignedLabels()
Get all new labels that have been assigned during the transaction.
|
Iterable<PropertyEntry<Node>> |
assignedNodeProperties()
Get the properties that had a value assigned or overwritten on a node
during the transaction.
|
Iterable<PropertyEntry<Relationship>> |
assignedRelationshipProperties()
Get the properties that had a value assigned on a relationship during the
transaction.
|
Iterable<Node> |
createdNodes()
Get the nodes that were created during the transaction.
|
Iterable<Relationship> |
createdRelationships()
Get the relationships that were created during the transaction.
|
Iterable<Node> |
deletedNodes()
Get the nodes that were deleted during the transaction.
|
Iterable<Relationship> |
deletedRelationships()
Get the relationships that were deleted during the transaction.
|
boolean |
isDeleted(Node node)
Returns whether or not
node is deleted in this transaction. |
boolean |
isDeleted(Relationship relationship)
Returns whether or not
relationship is deleted in this
transaction. |
Iterable<LabelEntry> |
removedLabels()
Get all labels that have been removed from nodes during the transaction.
|
Iterable<PropertyEntry<Node>> |
removedNodeProperties()
Get the properties that had a value removed from a node during the
transaction.
|
Iterable<PropertyEntry<Relationship>> |
removedRelationshipProperties()
Get the properties that had a value removed from a relationship during
the transaction.
|
Iterable<Node> createdNodes()
Iterable<Node> deletedNodes()
boolean isDeleted(Node node)
node
is deleted in this transaction.node
- the Node
to check whether or not it is deleted
in this transaction.node
is deleted in this transaction.Iterable<PropertyEntry<Node>> assignedNodeProperties()
Iterable<PropertyEntry<Node>> removedNodeProperties()
PropertyContainer.setProperty(String, Object)
with a
property that has a previous value, or if the property is explicitly
removed by calling PropertyContainer.removeProperty(String)
. Only the values
that were present before the transaction are returned by this method, all
previous values of properties that have been assigned multiple times
during the transaction will not be returned. This is also true for
properties that had no value before the transaction, was assigned during
the transaction, and then removed during the same transaction. Deleting
a node will cause all its currently assigned properties to be added to
this list as well.Iterable<LabelEntry> assignedLabels()
Iterable<LabelEntry> removedLabels()
Iterable<Relationship> createdRelationships()
Iterable<Relationship> deletedRelationships()
boolean isDeleted(Relationship relationship)
relationship
is deleted in this
transaction.relationship
- the Relationship
to check whether or not it
is deleted in this transaction.relationship
is deleted in this
transaction.Iterable<PropertyEntry<Relationship>> assignedRelationshipProperties()
removedRelationshipProperties()
. All the properties of
relationships created during the transaction will be returned by this
method as well. Only the values that are present at the end of the
transaction will be returned by this method, all previously assigned
values of properties that have been assigned multiple times during the
transaction will not be returned.Iterable<PropertyEntry<Relationship>> removedRelationshipProperties()
PropertyContainer.setProperty(String, Object)
with a property that has a previous value, or if the property is
explicitly removed by calling PropertyContainer.removeProperty(String)
. Only the values that were present before the transaction are returned
by this method, all previous values of properties that have been assigned
multiple times during the transaction will not be returned. This is also
true for properties that had no value before the transaction, was
assigned during the transaction, and then removed during the same
transaction. Deleting a relationship will cause all its currently
assigned properties to be added to this list as well.Copyright © 2002–2014 The Neo4j Graph Database Project. All rights reserved.