String aliasedPath = beforeSplit + alias + afterSplit;
i++;
ASTPath pathExp = new ASTObjPath(aliasedPath);
pathExp.setPathAliases(Collections.singletonMap(alias, splitChunk));
matches.add(new ASTEqual(pathExp, value));
}
}
else {
for (Object value : values) {
matches.add(new ASTEqual(new ASTObjPath(path), value));
}
}
return joinExp(Expression.AND, matches);
}