Class EnvironmentFairy

java.lang.Object
org.apache.calcite.chinook.EnvironmentFairy

public class EnvironmentFairy extends Object
Fairy simulates environment around Calcite.

An example property is the user on whose behalf Calcite is running the current query. Other properties can change from one query to another. Properties are held in thread-locals, so it is safe to set a property then read it from the same thread.