Package com.arcadedb.database.async
Class CreateDestinationVertexAndEdgeAsyncTask
- java.lang.Object
-
- com.arcadedb.database.async.DatabaseAsyncAbstractTask
-
- com.arcadedb.database.async.CreateEdgeAsyncTask
-
- com.arcadedb.database.async.CreateDestinationVertexAndEdgeAsyncTask
-
- All Implemented Interfaces:
DatabaseAsyncTask
public class CreateDestinationVertexAndEdgeAsyncTask extends CreateEdgeAsyncTask
Asynchronous Task that creates the destination vertex and the edge that connects it to the existent source vertex.
-
-
Field Summary
-
Fields inherited from class com.arcadedb.database.async.CreateEdgeAsyncTask
bidirectional, callback, destinationVertex, edgeAttributes, edgeType, light, sourceVertex
-
-
Constructor Summary
Constructors Constructor Description CreateDestinationVertexAndEdgeAsyncTask(RID sourceVertex, String destinationVertexType, String[] destinationVertexAttributeNames, Object[] destinationVertexAttributeValues, String edgeType, Object[] edgeAttributes, boolean bidirectional, boolean light, NewEdgeCallback callback)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(DatabaseInternal database)
String
toString()
-
Methods inherited from class com.arcadedb.database.async.CreateEdgeAsyncTask
createEdge, execute
-
Methods inherited from class com.arcadedb.database.async.DatabaseAsyncAbstractTask
completed, requiresActiveTx
-
-
-
-
Constructor Detail
-
CreateDestinationVertexAndEdgeAsyncTask
public CreateDestinationVertexAndEdgeAsyncTask(RID sourceVertex, String destinationVertexType, String[] destinationVertexAttributeNames, Object[] destinationVertexAttributeValues, String edgeType, Object[] edgeAttributes, boolean bidirectional, boolean light, NewEdgeCallback callback)
-
-
Method Detail
-
execute
public void execute(DatabaseInternal database)
-
toString
public String toString()
- Overrides:
toString
in classCreateEdgeAsyncTask
-
-