Package com.arcadedb.database.async
Class CreateIncomingEdgeAsyncTask
- java.lang.Object
-
- com.arcadedb.database.async.DatabaseAsyncAbstractTask
-
- com.arcadedb.database.async.CreateIncomingEdgeAsyncTask
-
- All Implemented Interfaces:
DatabaseAsyncTask
public class CreateIncomingEdgeAsyncTask extends DatabaseAsyncAbstractTask
Asynchronous Task that creates the relationship between the destinationVertex and the sourceVertex as incoming.
-
-
Field Summary
Fields Modifier and Type Field Description protected NewEdgeCallback
callback
protected Identifiable
destinationVertex
protected Identifiable
edge
protected RID
sourceVertexRID
-
Constructor Summary
Constructors Constructor Description CreateIncomingEdgeAsyncTask(RID sourceVertex, Identifiable destinationVertex, Identifiable edge, NewEdgeCallback callback)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(DatabaseAsyncExecutorImpl.AsyncThread async, DatabaseInternal database)
String
toString()
-
Methods inherited from class com.arcadedb.database.async.DatabaseAsyncAbstractTask
completed, requiresActiveTx
-
-
-
-
Field Detail
-
sourceVertexRID
protected final RID sourceVertexRID
-
destinationVertex
protected final Identifiable destinationVertex
-
edge
protected final Identifiable edge
-
callback
protected final NewEdgeCallback callback
-
-
Constructor Detail
-
CreateIncomingEdgeAsyncTask
public CreateIncomingEdgeAsyncTask(RID sourceVertex, Identifiable destinationVertex, Identifiable edge, NewEdgeCallback callback)
-
-
Method Detail
-
execute
public void execute(DatabaseAsyncExecutorImpl.AsyncThread async, DatabaseInternal database)
-
-