public static QueryPreProcessor GetInstance() { if (instance == null) { instance = new QueryPreProcessor(); } return(instance); }
public static QueryProjector GetInstance() { if (instance == null) { instance = new QueryProjector(); instance.queryPreProcessor = QueryPreProcessor.GetInstance(); instance.queryResult = QueryResult.GetInstance(); instance.astManager = AstManager.GetInstance(); instance.queryEvaluator = QueryEvaluator.GetInstance(); } return(instance); }