String quote = "\"";
String separator = ",";
boolean doQuoting = false;
if (parameterCount > 1)
{
final Type indexType = parameters.getType(1);
final Object indexValue = parameters.getValue(1);
final Boolean indexNumber = context.getTypeRegistry().convertToLogical(indexType, indexValue);
doQuoting = Boolean.TRUE.equals(indexNumber);
}
if (parameterCount > 2)
{
final Type indexType = parameters.getType(2);
final Object indexValue = parameters.getValue(2);
separator = context.getTypeRegistry().convertToText(indexType, indexValue);
}
if (parameterCount > 3)
{
final Type indexType = parameters.getType(1);
final Object indexValue = parameters.getValue(1);
quote = context.getTypeRegistry().convertToText(indexType, indexValue);
}
final ArrayList resultList;