core/src/main/java/com/orientechnologies/orient/core/command/OCommandRequestTextAbstract.java
@SuppressWarnings("unchecked")
  public <RET> RET execute(final Object... iArgs) {
    setParameters(iArgs);

    OExecutionThreadLocal.INSTANCE.get().onAsyncReplicationOk = onAsyncReplicationOk;
    OExecutionThreadLocal.INSTANCE.get().onAsyncReplicationError = onAsyncReplicationError;

    return (RET) ODatabaseRecordThreadLocal.instance().get().getStorage().command(this);
  }
@SuppressWarnings("unchecked")
  public <RET> RET execute(final Object... iArgs) {
    setParameters(iArgs);

    OExecutionThreadLocal.INSTANCE.get().onAsyncReplicationOk = onAsyncReplicationOk;
    OExecutionThreadLocal.INSTANCE.get().onAsyncReplicationError = onAsyncReplicationError;

    return (RET) ODatabaseRecordThreadLocal.instance().get().getStorage().command(this);
  }
Delegates the execution to the configured command executor.