public interface ChangeState
ChangeProcessor.process(org.janusgraph.core.JanusGraphTransaction, TransactionId, ChangeState)
for the user to retrieve changed elements and act upon it.Modifier and Type | Method and Description |
---|---|
Iterable<JanusGraphEdge> |
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<JanusGraphVertexProperty> |
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<JanusGraphRelation> |
getRelations(Change change,
RelationType... types)
Returns all relations that match the change state and any of the provided relation types.
|
Set<JanusGraphVertex> |
getVertices(Change change)
Returns all added, removed, or modified vertices when the change argument is
Change.ADDED ,
Change.REMOVED , or Change.ANY respectively. |
Set<JanusGraphVertex> getVertices(Change change)
Change.ADDED
,
Change.REMOVED
, or Change.ANY
respectively.change
- Iterable<JanusGraphRelation> getRelations(Change change, RelationType... types)
change
- types
- Iterable<JanusGraphEdge> getEdges(org.apache.tinkerpop.gremlin.structure.Vertex vertex, Change change, org.apache.tinkerpop.gremlin.structure.Direction dir, String... labels)
vertex
- change
- dir
- labels
- Iterable<JanusGraphVertexProperty> getProperties(org.apache.tinkerpop.gremlin.structure.Vertex vertex, Change change, String... keys)
vertex
- change
- keys
- Copyright © 2012–2023. All rights reserved.