public interface ChangeState
ChangeProcessor.process(com.thinkaurelius.titan.core.TitanTransaction, TransactionId, ChangeState)
for the user to retrieve changed elements and act upon it.| Modifier and Type | Method and Description |
|---|---|
Iterable<TitanEdge> |
getEdges(org.apache.tinkerpop.gremlin.structure.Vertex vertex,
Change change,
org.apache.tinkerpop.gremlin.structure.Direction dir,
String... labels)
Returns all edges incident on the given vertex in the given direction that match the provided change state and edge labels.
|
Iterable<TitanVertexProperty> |
getProperties(org.apache.tinkerpop.gremlin.structure.Vertex vertex,
Change change,
String... keys)
Returns all properties incident for the given vertex that match the provided change state and property keys.
|
Iterable<TitanRelation> |
getRelations(Change change,
RelationType... types)
Returns all relations that match the change state and any of the provided relation types.
|
Set<TitanVertex> |
getVertices(Change change)
Returns all added, removed, or modified vertices when the change argument is
Change.ADDED,
Change.REMOVED, or Change.ANY respectively. |
Set<TitanVertex> getVertices(Change change)
Change.ADDED,
Change.REMOVED, or Change.ANY respectively.change - Iterable<TitanRelation> getRelations(Change change, RelationType... types)
change - types - Iterable<TitanEdge> getEdges(org.apache.tinkerpop.gremlin.structure.Vertex vertex, Change change, org.apache.tinkerpop.gremlin.structure.Direction dir, String... labels)
vertex - change - dir - labels - Iterable<TitanVertexProperty> getProperties(org.apache.tinkerpop.gremlin.structure.Vertex vertex, Change change, String... keys)
vertex - change - keys - Copyright © 2012–2015. All rights reserved.