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