Package com.arcadedb.database.async
Class CreateDestinationVertexAndEdgeAsyncTask
- java.lang.Object
-
- 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(DatabaseAsyncExecutorImpl.AsyncThread async, DatabaseInternal database)
String
toString()
-
Methods inherited from class com.arcadedb.database.async.CreateEdgeAsyncTask
createEdge
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.arcadedb.database.async.DatabaseAsyncTask
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(DatabaseAsyncExecutorImpl.AsyncThread async, DatabaseInternal database)
- Specified by:
execute
in interfaceDatabaseAsyncTask
- Overrides:
execute
in classCreateEdgeAsyncTask
-
toString
public String toString()
- Overrides:
toString
in classCreateEdgeAsyncTask
-
-