code: public Object execute(final Map<Object, Object> iArgs) {
      if (clusterName == null)
        throw new OCommandExecutionException("Cannot execute the command because it has not been parsed yet");
  
      OCluster cluster = ((OStorageEmbedded) getDatabase().getStorage()).getClusterByName(clusterName);
  
      final long recs = cluster.getEntries();
  
      try {
        cluster.truncate();
      } catch (IOException e) {
        throw new OCommandExecutionException("Error on executing command", e);
      }
  
      return recs;
    }
docs: Execute the command.