Evaluator State
class EvaluatorState(session: EvaluationSession, registers: Array<ExprValue>)
Content copied to clipboard
Contains state needed during query evaluation such as an instance of EvaluationSession and an array of registers for each local variable that is part of the query.
Since the elements of registers are mutable, when/if we decide to make query execution multi-threaded, we'll have to take care to not share EvaluatorState instances among different threads.
Parameters
session
The evaluation session.
Constructors
Link copied to clipboard
fun EvaluatorState(session: EvaluationSession, registers: Array<ExprValue>)
Content copied to clipboard