add comments for handleQueryStatement
implement IntHistogram for estimating filter selectivity