Package com.arcadedb.database.async
Class CreateSourceVertexAndEdgeAsyncTask
- java.lang.Object
-
- com.arcadedb.database.async.DatabaseAsyncAbstractTask
-
- com.arcadedb.database.async.CreateEdgeAsyncTask
-
- com.arcadedb.database.async.CreateSourceVertexAndEdgeAsyncTask
-
- All Implemented Interfaces:
DatabaseAsyncTask
public class CreateSourceVertexAndEdgeAsyncTask extends CreateEdgeAsyncTask
Asynchronous Task that creates the source vertex and the edge that connects it to the existent destination vertex.
-
-
Field Summary
-
Fields inherited from class com.arcadedb.database.async.CreateEdgeAsyncTask
bidirectional, callback, destinationVertex, edgeAttributes, edgeType, light, sourceVertex
-
-
Constructor Summary
Constructors Constructor Description CreateSourceVertexAndEdgeAsyncTask(String sourceVertexType, String[] sourceVertexAttributeNames, Object[] sourceVertexAttributeValues, RID destinationVertex, 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
-
CreateSourceVertexAndEdgeAsyncTask
public CreateSourceVertexAndEdgeAsyncTask(String sourceVertexType, String[] sourceVertexAttributeNames, Object[] sourceVertexAttributeValues, RID destinationVertex, 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
-
-