add linear and numbiews to QueryHandler.java