EvaluatorState

class EvaluatorState(session: EvaluationSession, registers: Array<ExprValue>)

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>)

Properties

Link copied to clipboard
val session: EvaluationSession

The current EvaluationSession.