accessNode.setShouldEvaluateExpressions(true);
accessNode.setShouldEvaluateExpressions(true);
accessNode.setShouldEvaluateExpressions(true);
private void helpTestOpen(Command command, String expectedCommand, boolean shouldRegisterRequest) throws Exception { // Setup AccessNode node = new AccessNode(1); node.setCommand(command); CommandContext context = new CommandContext(); BufferManager bm = BufferManagerFactory.getStandaloneBufferManager(); FakeDataManager dataManager = new FakeDataManager(); TestProcessor.sampleData1(dataManager); node.setElements(command.getProjectedSymbols()); node.initialize(context, bm, dataManager); node.setShouldEvaluateExpressions(true); // Call open() node.open(); if (shouldRegisterRequest) { assertEquals(Arrays.asList(expectedCommand), dataManager.getQueries()); } else { assertEquals(0, dataManager.getQueries().size()); } }
aNode = depAccessNode; aNode.setShouldEvaluateExpressions(true); } else { DeepPreOrderNavigator.doVisit(command, ev); aNode.setShouldEvaluateExpressions(ev.requiresEvaluation(EvaluationLevel.PROCESSING) || shouldEval); aNode.setCommand(command); if (modelID != null) { aNode.setShouldEvaluateExpressions(true); //forces a rewrite aNode.setElements( (List) node.getProperty(NodeConstants.Info.OUTPUT_COLS) ); if (node.hasBooleanProperty(Info.IS_MULTI_SOURCE)) {
aNode = depAccessNode; aNode.setShouldEvaluateExpressions(true); } else { DeepPreOrderNavigator.doVisit(command, ev); aNode.setShouldEvaluateExpressions(ev.requiresEvaluation(EvaluationLevel.PROCESSING) || shouldEval); aNode.setCommand(command); if (modelID != null) { aNode.setShouldEvaluateExpressions(true); //forces a rewrite aNode.setElements( (List) node.getProperty(NodeConstants.Info.OUTPUT_COLS) ); if (node.hasBooleanProperty(Info.IS_MULTI_SOURCE)) {
aNode = depAccessNode; aNode.setShouldEvaluateExpressions(true); } else { DeepPreOrderNavigator.doVisit(command, ev); aNode.setShouldEvaluateExpressions(ev.requiresEvaluation(EvaluationLevel.PROCESSING) || shouldEval); aNode.setCommand(command); if (modelID != null) { aNode.setShouldEvaluateExpressions(true); //forces a rewrite aNode.setElements( (List) node.getProperty(NodeConstants.Info.OUTPUT_COLS) ); if (node.hasBooleanProperty(Info.IS_MULTI_SOURCE)) {