keys = new HashSet<String>(iterables.size() * 2);
}
List<Object[]> batchArgs = new ArrayList<Object[]>(iterables.size());
List<String> sqls = new ArrayList<String>(iterables.size());
for (Object obj : iterables) {
RuntimeContext context = buildRuntimeContext(new Object[]{obj});
if (keys != null) { // 表示使用cache
keys.add(getCacheKey(context));
}
batchArgs.add(rootNode.getArgs(context));
sqls.add(rootNode.getSql(context));