/**
* @see nexj.core.persistence.Query.OperatorFactory#create(nexj.core.scripting.Pair, nexj.core.persistence.Query, Object, byte)
*/
public Operator create(Pair args, Query query, Object key, byte nOutput)
{
MultiArgOperator op = create(query);
for (; args != null; args = args.getNext())
{
if (op.addOperand(query.createOperator(key, args.getHead(), nOutput)) < 0)
{
return null;
}
}