if (useInExpression)
{
// Return "elem IN (val1, val2, ...)"
SQLExpression[] exprs = (collElementExprs != null ?
collElementExprs.toArray(new SQLExpression[collElementExprs.size()]) : null);
return new InExpression(elemExpr, exprs);
}
else
{
// Return "elem == val1 || elem == val2 || elem == val3 ..."
BooleanExpression bExpr = null;