Package org.apache.calcite.chinook
Class EnvironmentFairy
java.lang.Object
org.apache.calcite.chinook.EnvironmentFairy
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.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumDescribes who is emulated to being logged in.
- 
Method SummaryModifier and TypeMethodDescriptionstatic EnvironmentFairy.UsergetUser()static voidlogin(EnvironmentFairy.User user) 
- 
Method Details- 
getUser
- 
login
 
-