Do prefix query on classname