boolean evaluateCriteria(Criteria condition) throws BlockedException, TeiidProcessingException, TeiidComponentException { evaluator.initialize(getContext(), getDataManager()); return evaluator.evaluate(condition, Collections.emptyList()); }
Object evaluateExpression(Expression expression) throws BlockedException, TeiidProcessingException, TeiidComponentException { evaluator.initialize(getContext(), getDataManager()); return evaluator.evaluate(expression, Collections.emptyList()); }
boolean evaluateCriteria(Criteria condition) throws BlockedException, TeiidProcessingException, TeiidComponentException { evaluator.initialize(getContext(), getDataManager()); return evaluator.evaluate(condition, Collections.emptyList()); }
boolean evaluateCriteria(Criteria condition) throws BlockedException, TeiidProcessingException, TeiidComponentException { evaluator.initialize(getContext(), getDataManager()); return evaluator.evaluate(condition, Collections.emptyList()); }
Object evaluateExpression(Expression expression) throws BlockedException, TeiidProcessingException, TeiidComponentException { evaluator.initialize(getContext(), getDataManager()); return evaluator.evaluate(expression, Collections.emptyList()); }
Object evaluateExpression(Expression expression) throws BlockedException, TeiidProcessingException, TeiidComponentException { evaluator.initialize(getContext(), getDataManager()); return evaluator.evaluate(expression, Collections.emptyList()); }
/** * @see ProcessorPlan#initialize(ProcessorDataManager, Object) */ public void initialize(CommandContext context, ProcessorDataManager dataMgr, BufferManager bufferMgr) { this.bufferMgr = bufferMgr; this.batchSize = bufferMgr.getProcessorBatchSize(getOutputElements()); this.parentContext = context.getVariableContext(); setContext(context.clone()); this.parentDataMrg = dataMgr; if (evaluator == null) { this.evaluator = new SubqueryAwareEvaluator(Collections.emptyMap(), getDataManager(), getContext(), this.bufferMgr); } }
/** * @see ProcessorPlan#initialize(ProcessorDataManager, Object) */ public void initialize(CommandContext context, ProcessorDataManager dataMgr, BufferManager bufferMgr) { this.bufferMgr = bufferMgr; this.batchSize = bufferMgr.getProcessorBatchSize(getOutputElements()); this.parentContext = context.getVariableContext(); setContext(context.clone()); this.parentDataMrg = dataMgr; if (evaluator == null) { this.evaluator = new SubqueryAwareEvaluator(Collections.emptyMap(), getDataManager(), getContext(), this.bufferMgr); } }
/** * @see ProcessorPlan#initialize(ProcessorDataManager, Object) */ public void initialize(CommandContext context, ProcessorDataManager dataMgr, BufferManager bufferMgr) { this.bufferMgr = bufferMgr; this.batchSize = bufferMgr.getProcessorBatchSize(getOutputElements()); this.parentContext = context.getVariableContext(); setContext(context.clone()); this.parentDataMrg = dataMgr; if (evaluator == null) { this.evaluator = new SubqueryAwareEvaluator(Collections.emptyMap(), getDataManager(), getContext(), this.bufferMgr); } }
create.getColumns().add(c); procEnv.getDataManager().registerRequest(procEnv.getContext(), create, TempMetadataAdapter.TEMP_MODEL.getName(), new RegisterRequestParameter()); TupleSource ts = procEnv.getDataManager().registerRequest(procEnv.getContext(), insert, TempMetadataAdapter.TEMP_MODEL.getName(), new RegisterRequestParameter()); ts.nextTuple(); ts.closeSource();
create.getColumns().add(c); procEnv.getDataManager().registerRequest(procEnv.getContext(), create, TempMetadataAdapter.TEMP_MODEL.getName(), new RegisterRequestParameter()); TupleSource ts = procEnv.getDataManager().registerRequest(procEnv.getContext(), insert, TempMetadataAdapter.TEMP_MODEL.getName(), new RegisterRequestParameter()); ts.nextTuple(); ts.closeSource();
create.getColumns().add(c); procEnv.getDataManager().registerRequest(procEnv.getContext(), create, TempMetadataAdapter.TEMP_MODEL.getName(), new RegisterRequestParameter()); TupleSource ts = procEnv.getDataManager().registerRequest(procEnv.getContext(), insert, TempMetadataAdapter.TEMP_MODEL.getName(), new RegisterRequestParameter()); ts.nextTuple(); ts.closeSource();