classname = VersioningIterator.class.getName();
else if (cl.hasOption(reqvisTypeOpt.getOpt()))
classname = ReqVisFilter.class.getName();
if (!shellState.getConnector().instanceOperations().testClassLoad(classname, SortedKeyValueIterator.class.getName()))
throw new ShellCommandException(ErrorCode.INITIALIZATION_FAILURE, "Servers are unable to load " + classname + " as type "
+ SortedKeyValueIterator.class.getName());
String name = cl.getOptionValue(nameOpt.getOpt(), setUpOptions(shellState.getReader(), classname, options));
String aggregatorClass = options.get("aggregatorClass");
if (aggregatorClass != null && !shellState.getConnector().instanceOperations().testClassLoad(aggregatorClass, Aggregator.class.getName()))
throw new ShellCommandException(ErrorCode.INITIALIZATION_FAILURE, "Servers are unable to load " + aggregatorClass + " as type "
+ Aggregator.class.getName());
setTableProperties(cl, shellState, tableName, priority, options, classname, name);
return 0;