}
return Arrays.copyOf(abvs.getByteArray(), abvs.getLength());
}
private ILogicalPlan translateMainModule(MainModuleNode moduleNode) throws SystemException {
QueryBodyNode qbn = moduleNode.getQueryBody();
ASTNode queryBody = qbn.getExpression();
TranslationContext tCtx = new TranslationContext(null, new EmptyTupleSourceOperator());
LogicalVariable lVar = translateExpression(queryBody, tCtx);
LogicalVariable iLVar = newLogicalVariable();
UnnestOperator unnest = new UnnestOperator(iLVar, mutable(ufce(BuiltinOperators.ITERATE, vre(lVar))));
unnest.getInputs().add(mutable(tCtx.op));