public class ONewSQLCommandTask extends OAbstractReplicatedTask
ORemoteTask.RESULT_STRATEGY
Modifier and Type | Field and Description |
---|---|
static int |
FACTORYID |
lastLSN
ALL, ANY, FAST_NOLOCK, LOCK, nodeSource
Constructor and Description |
---|
ONewSQLCommandTask() |
ONewSQLCommandTask(String query) |
Modifier and Type | Method and Description |
---|---|
Object |
execute(ODistributedRequestId requestId,
OServer iServer,
ODistributedServerManager iManager,
ODatabaseDocumentInternal database) |
void |
fromStream(DataInput in,
ORemoteTaskFactory factory) |
int |
getFactoryId() |
String |
getName() |
OCommandDistributedReplicateRequest.QUORUM_TYPE |
getQuorumType() |
void |
toStream(DataOutput out) |
getFixTask, getLastLSN, getUndoTask
checkIsValid, getDistributedTimeout, getNodeSource, getPartitionKey, getResultStrategy, getSynchronousTimeout, getTotalTimeout, hasResponse, isIdempotent, isNodeOnlineRequired, isUsingDatabase, setNodeSource, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
finished, received
public static final int FACTORYID
public ONewSQLCommandTask()
public ONewSQLCommandTask(String query)
public String getName()
getName
in interface ORemoteTask
getName
in class OAbstractRemoteTask
public OCommandDistributedReplicateRequest.QUORUM_TYPE getQuorumType()
getQuorumType
in interface ORemoteTask
getQuorumType
in class OAbstractRemoteTask
public Object execute(ODistributedRequestId requestId, OServer iServer, ODistributedServerManager iManager, ODatabaseDocumentInternal database) throws Exception
execute
in interface ORemoteTask
execute
in class OAbstractRemoteTask
Exception
public void toStream(DataOutput out) throws IOException
toStream
in interface ORemoteTask
toStream
in class OAbstractRemoteTask
IOException
public void fromStream(DataInput in, ORemoteTaskFactory factory) throws IOException
fromStream
in interface ORemoteTask
fromStream
in class OAbstractRemoteTask
IOException
public int getFactoryId()
Copyright © 2009–2020 OrientDB. All rights reserved.