Class OSQLCommandTaskFirstPhase
java.lang.Object
com.orientechnologies.orient.server.distributed.task.OAbstractRemoteTask
com.orientechnologies.orient.server.distributed.impl.task.OSQLCommandTaskFirstPhase
- All Implemented Interfaces:
OLockKeySource,ORemoteTask
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.orientechnologies.orient.server.distributed.task.ORemoteTask
ORemoteTask.RESULT_STRATEGY -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOSQLCommandTaskFirstPhase(String query, OTransactionIdPromise preChangeId, OTransactionIdPromise afterChangeId) -
Method Summary
Modifier and TypeMethodDescriptionexecute(ODistributedRequestId requestId, OServer iServer, ODatabaseDocumentInternal database) voidfromStream(DataInput in, ORemoteTaskFactory factory) intgetName()getQuery()getRids()voidtoStream(DataOutput out) Methods inherited from class com.orientechnologies.orient.server.distributed.task.OAbstractRemoteTask
getDistributedTimeout, getResultStrategy, getSynchronousTimeout, getTotalTimeout, hasResponse, isIdempotent, isNodeOnlineRequired, isUsingDatabase, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.orientechnologies.orient.server.distributed.task.ORemoteTask
finished, received
-
Field Details
-
FACTORYID
public static final int FACTORYID- See Also:
-
-
Constructor Details
-
OSQLCommandTaskFirstPhase
public OSQLCommandTaskFirstPhase() -
OSQLCommandTaskFirstPhase
public OSQLCommandTaskFirstPhase(String query, OTransactionIdPromise preChangeId, OTransactionIdPromise afterChangeId)
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceORemoteTask
-
getQuorumType
- Specified by:
getQuorumTypein interfaceORemoteTask
-
execute
public Object execute(ODistributedRequestId requestId, OServer iServer, ODatabaseDocumentInternal database) throws Exception - Specified by:
executein interfaceORemoteTask- Throws:
Exception
-
toStream
- Specified by:
toStreamin interfaceORemoteTask- Overrides:
toStreamin classOAbstractRemoteTask- Throws:
IOException
-
fromStream
- Specified by:
fromStreamin interfaceORemoteTask- Overrides:
fromStreamin classOAbstractRemoteTask- Throws:
IOException
-
getFactoryId
public int getFactoryId()- Specified by:
getFactoryIdin interfaceORemoteTask
-
getQuery
-
getPreChangeId
-
getAfterChangeId
-
getRids
- Specified by:
getRidsin interfaceOLockKeySource
-
getTransactionId
- Specified by:
getTransactionIdin interfaceOLockKeySource
-
getUniqueKeys
- Specified by:
getUniqueKeysin interfaceOLockKeySource
-