QueryBuilder added getType method